@depup/jsdom 28.1.0-depup.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +22 -0
- package/README.md +38 -0
- package/changes.json +38 -0
- package/lib/api.js +373 -0
- package/lib/generated/event-sets.js +115 -0
- package/lib/generated/idl/AbortController.js +143 -0
- package/lib/generated/idl/AbortSignal.js +249 -0
- package/lib/generated/idl/AbstractRange.js +171 -0
- package/lib/generated/idl/AddEventListenerOptions.js +53 -0
- package/lib/generated/idl/AssignedNodesOptions.js +28 -0
- package/lib/generated/idl/Attr.js +219 -0
- package/lib/generated/idl/BarProp.js +117 -0
- package/lib/generated/idl/BeforeUnloadEvent.js +139 -0
- package/lib/generated/idl/BinaryType.js +12 -0
- package/lib/generated/idl/Blob.js +253 -0
- package/lib/generated/idl/BlobCallback.js +30 -0
- package/lib/generated/idl/BlobEvent.js +157 -0
- package/lib/generated/idl/BlobEventInit.js +43 -0
- package/lib/generated/idl/BlobPropertyBag.js +42 -0
- package/lib/generated/idl/CDATASection.js +109 -0
- package/lib/generated/idl/CanPlayTypeResult.js +12 -0
- package/lib/generated/idl/CharacterData.js +455 -0
- package/lib/generated/idl/CloseEvent.js +168 -0
- package/lib/generated/idl/CloseEventInit.js +65 -0
- package/lib/generated/idl/Comment.js +120 -0
- package/lib/generated/idl/CompositionEvent.js +219 -0
- package/lib/generated/idl/CompositionEventInit.js +32 -0
- package/lib/generated/idl/Crypto.js +148 -0
- package/lib/generated/idl/CustomElementConstructor.js +34 -0
- package/lib/generated/idl/CustomElementRegistry.js +269 -0
- package/lib/generated/idl/CustomEvent.js +206 -0
- package/lib/generated/idl/CustomEventInit.js +32 -0
- package/lib/generated/idl/DOMException.js +222 -0
- package/lib/generated/idl/DOMImplementation.js +237 -0
- package/lib/generated/idl/DOMParser.js +140 -0
- package/lib/generated/idl/DOMRect.js +276 -0
- package/lib/generated/idl/DOMRectInit.js +76 -0
- package/lib/generated/idl/DOMRectReadOnly.js +285 -0
- package/lib/generated/idl/DOMStringMap.js +299 -0
- package/lib/generated/idl/DOMTokenList.js +539 -0
- package/lib/generated/idl/DeviceMotionEvent.js +183 -0
- package/lib/generated/idl/DeviceMotionEventAcceleration.js +145 -0
- package/lib/generated/idl/DeviceMotionEventAccelerationInit.js +61 -0
- package/lib/generated/idl/DeviceMotionEventInit.js +70 -0
- package/lib/generated/idl/DeviceMotionEventRotationRate.js +145 -0
- package/lib/generated/idl/DeviceMotionEventRotationRateInit.js +61 -0
- package/lib/generated/idl/DeviceOrientationEvent.js +183 -0
- package/lib/generated/idl/DeviceOrientationEventInit.js +80 -0
- package/lib/generated/idl/Document.js +4511 -0
- package/lib/generated/idl/DocumentFragment.js +336 -0
- package/lib/generated/idl/DocumentReadyState.js +12 -0
- package/lib/generated/idl/DocumentType.js +254 -0
- package/lib/generated/idl/Element.js +3720 -0
- package/lib/generated/idl/ElementCreationOptions.js +26 -0
- package/lib/generated/idl/ElementDefinitionOptions.js +29 -0
- package/lib/generated/idl/ElementInternals.js +2152 -0
- package/lib/generated/idl/EndingType.js +12 -0
- package/lib/generated/idl/ErrorEvent.js +192 -0
- package/lib/generated/idl/ErrorEventInit.js +92 -0
- package/lib/generated/idl/Event.js +430 -0
- package/lib/generated/idl/EventHandlerNonNull.js +36 -0
- package/lib/generated/idl/EventInit.js +58 -0
- package/lib/generated/idl/EventListener.js +35 -0
- package/lib/generated/idl/EventListenerOptions.js +28 -0
- package/lib/generated/idl/EventModifierInit.js +221 -0
- package/lib/generated/idl/EventTarget.js +259 -0
- package/lib/generated/idl/External.js +130 -0
- package/lib/generated/idl/File.js +185 -0
- package/lib/generated/idl/FileList.js +298 -0
- package/lib/generated/idl/FilePropertyBag.js +33 -0
- package/lib/generated/idl/FileReader.js +468 -0
- package/lib/generated/idl/FocusEvent.js +144 -0
- package/lib/generated/idl/FocusEventInit.js +36 -0
- package/lib/generated/idl/FormData.js +468 -0
- package/lib/generated/idl/Function.js +42 -0
- package/lib/generated/idl/GetRootNodeOptions.js +31 -0
- package/lib/generated/idl/HTMLAnchorElement.js +1026 -0
- package/lib/generated/idl/HTMLAreaElement.js +825 -0
- package/lib/generated/idl/HTMLAudioElement.js +111 -0
- package/lib/generated/idl/HTMLBRElement.js +156 -0
- package/lib/generated/idl/HTMLBaseElement.js +196 -0
- package/lib/generated/idl/HTMLBodyElement.js +880 -0
- package/lib/generated/idl/HTMLButtonElement.js +525 -0
- package/lib/generated/idl/HTMLCanvasElement.js +307 -0
- package/lib/generated/idl/HTMLCollection.js +352 -0
- package/lib/generated/idl/HTMLDListElement.js +159 -0
- package/lib/generated/idl/HTMLDataElement.js +156 -0
- package/lib/generated/idl/HTMLDataListElement.js +126 -0
- package/lib/generated/idl/HTMLDetailsElement.js +159 -0
- package/lib/generated/idl/HTMLDialogElement.js +159 -0
- package/lib/generated/idl/HTMLDirectoryElement.js +159 -0
- package/lib/generated/idl/HTMLDivElement.js +156 -0
- package/lib/generated/idl/HTMLElement.js +3492 -0
- package/lib/generated/idl/HTMLEmbedElement.js +381 -0
- package/lib/generated/idl/HTMLFieldSetElement.js +332 -0
- package/lib/generated/idl/HTMLFontElement.js +239 -0
- package/lib/generated/idl/HTMLFormControlsCollection.js +318 -0
- package/lib/generated/idl/HTMLFormElement.js +661 -0
- package/lib/generated/idl/HTMLFrameElement.js +513 -0
- package/lib/generated/idl/HTMLFrameSetElement.js +711 -0
- package/lib/generated/idl/HTMLHRElement.js +323 -0
- package/lib/generated/idl/HTMLHeadElement.js +111 -0
- package/lib/generated/idl/HTMLHeadingElement.js +156 -0
- package/lib/generated/idl/HTMLHtmlElement.js +156 -0
- package/lib/generated/idl/HTMLIFrameElement.js +689 -0
- package/lib/generated/idl/HTMLImageElement.js +906 -0
- package/lib/generated/idl/HTMLInputElement.js +1931 -0
- package/lib/generated/idl/HTMLLIElement.js +204 -0
- package/lib/generated/idl/HTMLLabelElement.js +182 -0
- package/lib/generated/idl/HTMLLegendElement.js +169 -0
- package/lib/generated/idl/HTMLLinkElement.js +555 -0
- package/lib/generated/idl/HTMLMapElement.js +171 -0
- package/lib/generated/idl/HTMLMarqueeElement.js +558 -0
- package/lib/generated/idl/HTMLMediaElement.js +900 -0
- package/lib/generated/idl/HTMLMenuElement.js +159 -0
- package/lib/generated/idl/HTMLMetaElement.js +279 -0
- package/lib/generated/idl/HTMLMeterElement.js +368 -0
- package/lib/generated/idl/HTMLModElement.js +217 -0
- package/lib/generated/idl/HTMLOListElement.js +284 -0
- package/lib/generated/idl/HTMLObjectElement.js +945 -0
- package/lib/generated/idl/HTMLOptGroupElement.js +200 -0
- package/lib/generated/idl/HTMLOptionElement.js +379 -0
- package/lib/generated/idl/HTMLOptionsCollection.js +513 -0
- package/lib/generated/idl/HTMLOutputElement.js +395 -0
- package/lib/generated/idl/HTMLParagraphElement.js +156 -0
- package/lib/generated/idl/HTMLParamElement.js +279 -0
- package/lib/generated/idl/HTMLPictureElement.js +111 -0
- package/lib/generated/idl/HTMLPreElement.js +163 -0
- package/lib/generated/idl/HTMLProgressElement.js +232 -0
- package/lib/generated/idl/HTMLQuoteElement.js +176 -0
- package/lib/generated/idl/HTMLScriptElement.js +472 -0
- package/lib/generated/idl/HTMLSelectElement.js +993 -0
- package/lib/generated/idl/HTMLSlotElement.js +195 -0
- package/lib/generated/idl/HTMLSourceElement.js +340 -0
- package/lib/generated/idl/HTMLSpanElement.js +111 -0
- package/lib/generated/idl/HTMLStyleElement.js +210 -0
- package/lib/generated/idl/HTMLTableCaptionElement.js +156 -0
- package/lib/generated/idl/HTMLTableCellElement.js +733 -0
- package/lib/generated/idl/HTMLTableColElement.js +376 -0
- package/lib/generated/idl/HTMLTableElement.js +802 -0
- package/lib/generated/idl/HTMLTableRowElement.js +417 -0
- package/lib/generated/idl/HTMLTableSectionElement.js +349 -0
- package/lib/generated/idl/HTMLTemplateElement.js +124 -0
- package/lib/generated/idl/HTMLTextAreaElement.js +1210 -0
- package/lib/generated/idl/HTMLTimeElement.js +156 -0
- package/lib/generated/idl/HTMLTitleElement.js +155 -0
- package/lib/generated/idl/HTMLTrackElement.js +366 -0
- package/lib/generated/idl/HTMLUListElement.js +200 -0
- package/lib/generated/idl/HTMLUnknownElement.js +109 -0
- package/lib/generated/idl/HTMLVideoElement.js +344 -0
- package/lib/generated/idl/HashChangeEvent.js +157 -0
- package/lib/generated/idl/HashChangeEventInit.js +50 -0
- package/lib/generated/idl/Headers.js +418 -0
- package/lib/generated/idl/History.js +266 -0
- package/lib/generated/idl/InputEvent.js +168 -0
- package/lib/generated/idl/InputEventInit.js +68 -0
- package/lib/generated/idl/KeyboardEvent.js +445 -0
- package/lib/generated/idl/KeyboardEventInit.js +116 -0
- package/lib/generated/idl/Location.js +404 -0
- package/lib/generated/idl/MessageEvent.js +317 -0
- package/lib/generated/idl/MessageEventInit.js +100 -0
- package/lib/generated/idl/MimeType.js +156 -0
- package/lib/generated/idl/MimeTypeArray.js +326 -0
- package/lib/generated/idl/MouseEvent.js +595 -0
- package/lib/generated/idl/MouseEventInit.js +189 -0
- package/lib/generated/idl/MutationCallback.js +34 -0
- package/lib/generated/idl/MutationObserver.js +178 -0
- package/lib/generated/idl/MutationObserverInit.js +121 -0
- package/lib/generated/idl/MutationRecord.js +229 -0
- package/lib/generated/idl/NamedNodeMap.js +529 -0
- package/lib/generated/idl/Navigator.js +326 -0
- package/lib/generated/idl/Node.js +765 -0
- package/lib/generated/idl/NodeFilter.js +75 -0
- package/lib/generated/idl/NodeIterator.js +207 -0
- package/lib/generated/idl/NodeList.js +302 -0
- package/lib/generated/idl/OnBeforeUnloadEventHandlerNonNull.js +42 -0
- package/lib/generated/idl/OnErrorEventHandlerNonNull.js +56 -0
- package/lib/generated/idl/PageTransitionEvent.js +144 -0
- package/lib/generated/idl/PageTransitionEventInit.js +35 -0
- package/lib/generated/idl/Performance.js +142 -0
- package/lib/generated/idl/Plugin.js +359 -0
- package/lib/generated/idl/PluginArray.js +336 -0
- package/lib/generated/idl/PointerEvent.js +324 -0
- package/lib/generated/idl/PointerEventInit.js +241 -0
- package/lib/generated/idl/PopStateEvent.js +144 -0
- package/lib/generated/idl/PopStateEventInit.js +32 -0
- package/lib/generated/idl/ProcessingInstruction.js +122 -0
- package/lib/generated/idl/ProgressEvent.js +170 -0
- package/lib/generated/idl/ProgressEventInit.js +65 -0
- package/lib/generated/idl/PromiseRejectionEvent.js +157 -0
- package/lib/generated/idl/PromiseRejectionEventInit.js +42 -0
- package/lib/generated/idl/RadioNodeList.js +296 -0
- package/lib/generated/idl/Range.js +643 -0
- package/lib/generated/idl/SVGAnimatedPreserveAspectRatio.js +136 -0
- package/lib/generated/idl/SVGAnimatedRect.js +136 -0
- package/lib/generated/idl/SVGAnimatedString.js +149 -0
- package/lib/generated/idl/SVGBoundingBoxOptions.js +64 -0
- package/lib/generated/idl/SVGDefsElement.js +109 -0
- package/lib/generated/idl/SVGDescElement.js +109 -0
- package/lib/generated/idl/SVGElement.js +3157 -0
- package/lib/generated/idl/SVGGElement.js +109 -0
- package/lib/generated/idl/SVGGraphicsElement.js +139 -0
- package/lib/generated/idl/SVGMetadataElement.js +109 -0
- package/lib/generated/idl/SVGNumber.js +132 -0
- package/lib/generated/idl/SVGPreserveAspectRatio.js +196 -0
- package/lib/generated/idl/SVGRect.js +210 -0
- package/lib/generated/idl/SVGSVGElement.js +786 -0
- package/lib/generated/idl/SVGStringList.js +511 -0
- package/lib/generated/idl/SVGSwitchElement.js +109 -0
- package/lib/generated/idl/SVGSymbolElement.js +146 -0
- package/lib/generated/idl/SVGTitleElement.js +109 -0
- package/lib/generated/idl/Screen.js +180 -0
- package/lib/generated/idl/ScrollBehavior.js +12 -0
- package/lib/generated/idl/ScrollIntoViewOptions.js +45 -0
- package/lib/generated/idl/ScrollLogicalPosition.js +14 -0
- package/lib/generated/idl/ScrollOptions.js +30 -0
- package/lib/generated/idl/ScrollRestoration.js +12 -0
- package/lib/generated/idl/Selection.js +571 -0
- package/lib/generated/idl/SelectionMode.js +12 -0
- package/lib/generated/idl/ShadowRoot.js +189 -0
- package/lib/generated/idl/ShadowRootInit.js +30 -0
- package/lib/generated/idl/ShadowRootMode.js +12 -0
- package/lib/generated/idl/StaticRange.js +123 -0
- package/lib/generated/idl/StaticRangeInit.js +72 -0
- package/lib/generated/idl/Storage.js +397 -0
- package/lib/generated/idl/StorageEvent.js +318 -0
- package/lib/generated/idl/StorageEventInit.js +99 -0
- package/lib/generated/idl/StyleSheetList.js +300 -0
- package/lib/generated/idl/SubmitEvent.js +144 -0
- package/lib/generated/idl/SubmitEventInit.js +36 -0
- package/lib/generated/idl/SupportedType.js +18 -0
- package/lib/generated/idl/Text.js +170 -0
- package/lib/generated/idl/TextDecodeOptions.js +28 -0
- package/lib/generated/idl/TextDecoder.js +211 -0
- package/lib/generated/idl/TextDecoderOptions.js +43 -0
- package/lib/generated/idl/TextEncoder.js +176 -0
- package/lib/generated/idl/TextEncoderEncodeIntoResult.js +42 -0
- package/lib/generated/idl/TextTrackKind.js +12 -0
- package/lib/generated/idl/TouchEvent.js +222 -0
- package/lib/generated/idl/TouchEventInit.js +89 -0
- package/lib/generated/idl/TransitionEvent.js +170 -0
- package/lib/generated/idl/TransitionEventInit.js +65 -0
- package/lib/generated/idl/TreeWalker.js +255 -0
- package/lib/generated/idl/UIEvent.js +235 -0
- package/lib/generated/idl/UIEventInit.js +62 -0
- package/lib/generated/idl/ValidityState.js +249 -0
- package/lib/generated/idl/VisibilityState.js +12 -0
- package/lib/generated/idl/VoidFunction.js +26 -0
- package/lib/generated/idl/WebSocket.js +480 -0
- package/lib/generated/idl/WheelEvent.js +191 -0
- package/lib/generated/idl/WheelEventInit.js +71 -0
- package/lib/generated/idl/XMLDocument.js +109 -0
- package/lib/generated/idl/XMLHttpRequest.js +663 -0
- package/lib/generated/idl/XMLHttpRequestEventTarget.js +334 -0
- package/lib/generated/idl/XMLHttpRequestResponseType.js +14 -0
- package/lib/generated/idl/XMLHttpRequestUpload.js +109 -0
- package/lib/generated/idl/XMLSerializer.js +132 -0
- package/lib/generated/idl/utils.js +252 -0
- package/lib/generated/js-globals.json +332 -0
- package/lib/jsdom/browser/Window.js +952 -0
- package/lib/jsdom/browser/default-stylesheet.css +415 -0
- package/lib/jsdom/browser/not-implemented.js +20 -0
- package/lib/jsdom/browser/parser/html.js +208 -0
- package/lib/jsdom/browser/parser/index.js +37 -0
- package/lib/jsdom/browser/parser/xml.js +202 -0
- package/lib/jsdom/browser/resources/async-resource-queue.js +114 -0
- package/lib/jsdom/browser/resources/decompress-interceptor.js +184 -0
- package/lib/jsdom/browser/resources/jsdom-dispatcher.js +756 -0
- package/lib/jsdom/browser/resources/per-document-resource-loader.js +116 -0
- package/lib/jsdom/browser/resources/request-interceptor.js +171 -0
- package/lib/jsdom/browser/resources/request-manager.js +33 -0
- package/lib/jsdom/browser/resources/resource-queue.js +142 -0
- package/lib/jsdom/browser/resources/stream-handler.js +89 -0
- package/lib/jsdom/level2/style.js +65 -0
- package/lib/jsdom/level3/xpath.js +1875 -0
- package/lib/jsdom/living/aborting/AbortController-impl.js +17 -0
- package/lib/jsdom/living/aborting/AbortSignal-impl.js +131 -0
- package/lib/jsdom/living/attributes/Attr-impl.js +60 -0
- package/lib/jsdom/living/attributes/NamedNodeMap-impl.js +78 -0
- package/lib/jsdom/living/attributes.js +312 -0
- package/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +75 -0
- package/lib/jsdom/living/constraint-validation/ValidityState-impl.js +66 -0
- package/lib/jsdom/living/crypto/Crypto-impl.js +68 -0
- package/lib/jsdom/living/cssom/StyleSheetList-impl.js +38 -0
- package/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +279 -0
- package/lib/jsdom/living/custom-elements/ElementInternals-impl.js +56 -0
- package/lib/jsdom/living/deviceorientation/DeviceMotionEventAcceleration-impl.js +7 -0
- package/lib/jsdom/living/deviceorientation/DeviceMotionEventRotationRate-impl.js +7 -0
- package/lib/jsdom/living/documents.js +15 -0
- package/lib/jsdom/living/domparsing/DOMParser-impl.js +59 -0
- package/lib/jsdom/living/domparsing/InnerHTML-impl.js +30 -0
- package/lib/jsdom/living/domparsing/XMLSerializer-impl.js +18 -0
- package/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +63 -0
- package/lib/jsdom/living/domparsing/serialization.js +36 -0
- package/lib/jsdom/living/encoding/TextDecoder-impl.js +25 -0
- package/lib/jsdom/living/encoding/TextEncoder-impl.js +26 -0
- package/lib/jsdom/living/events/BeforeUnloadEvent-impl.js +12 -0
- package/lib/jsdom/living/events/BlobEvent-impl.js +14 -0
- package/lib/jsdom/living/events/CloseEvent-impl.js +10 -0
- package/lib/jsdom/living/events/CompositionEvent-impl.js +20 -0
- package/lib/jsdom/living/events/CustomEvent-impl.js +21 -0
- package/lib/jsdom/living/events/DeviceMotionEvent-impl.js +49 -0
- package/lib/jsdom/living/events/DeviceOrientationEvent-impl.js +10 -0
- package/lib/jsdom/living/events/ErrorEvent-impl.js +14 -0
- package/lib/jsdom/living/events/Event-impl.js +195 -0
- package/lib/jsdom/living/events/EventModifierMixin-impl.js +24 -0
- package/lib/jsdom/living/events/EventTarget-impl.js +438 -0
- package/lib/jsdom/living/events/FocusEvent-impl.js +9 -0
- package/lib/jsdom/living/events/HashChangeEvent-impl.js +14 -0
- package/lib/jsdom/living/events/InputEvent-impl.js +11 -0
- package/lib/jsdom/living/events/KeyboardEvent-impl.js +29 -0
- package/lib/jsdom/living/events/MessageEvent-impl.js +25 -0
- package/lib/jsdom/living/events/MouseEvent-impl.js +72 -0
- package/lib/jsdom/living/events/PageTransitionEvent-impl.js +20 -0
- package/lib/jsdom/living/events/PointerEvent-impl.js +21 -0
- package/lib/jsdom/living/events/PopStateEvent-impl.js +9 -0
- package/lib/jsdom/living/events/ProgressEvent-impl.js +14 -0
- package/lib/jsdom/living/events/PromiseRejectionEvent-impl.js +14 -0
- package/lib/jsdom/living/events/StorageEvent-impl.js +26 -0
- package/lib/jsdom/living/events/SubmitEvent-impl.js +13 -0
- package/lib/jsdom/living/events/TouchEvent-impl.js +14 -0
- package/lib/jsdom/living/events/TransitionEvent-impl.js +10 -0
- package/lib/jsdom/living/events/UIEvent-impl.js +43 -0
- package/lib/jsdom/living/events/WheelEvent-impl.js +12 -0
- package/lib/jsdom/living/fetch/Headers-impl.js +173 -0
- package/lib/jsdom/living/fetch/header-list.js +158 -0
- package/lib/jsdom/living/fetch/header-types.js +205 -0
- package/lib/jsdom/living/fetch/header-utils.js +26 -0
- package/lib/jsdom/living/file-api/Blob-impl.js +125 -0
- package/lib/jsdom/living/file-api/File-impl.js +12 -0
- package/lib/jsdom/living/file-api/FileList-impl.js +15 -0
- package/lib/jsdom/living/file-api/FileReader-impl.js +148 -0
- package/lib/jsdom/living/geometry/DOMRect-impl.js +39 -0
- package/lib/jsdom/living/geometry/DOMRectReadOnly-impl.js +72 -0
- package/lib/jsdom/living/helpers/binary-data.js +63 -0
- package/lib/jsdom/living/helpers/by-id-cache.js +67 -0
- package/lib/jsdom/living/helpers/colors.js +245 -0
- package/lib/jsdom/living/helpers/create-element.js +329 -0
- package/lib/jsdom/living/helpers/create-event-accessor.js +209 -0
- package/lib/jsdom/living/helpers/custom-elements.js +272 -0
- package/lib/jsdom/living/helpers/dates-and-times.js +270 -0
- package/lib/jsdom/living/helpers/details.js +15 -0
- package/lib/jsdom/living/helpers/encoding.js +60 -0
- package/lib/jsdom/living/helpers/events.js +24 -0
- package/lib/jsdom/living/helpers/focusing.js +104 -0
- package/lib/jsdom/living/helpers/form-controls.js +309 -0
- package/lib/jsdom/living/helpers/html-constructor.js +78 -0
- package/lib/jsdom/living/helpers/internal-constants.js +12 -0
- package/lib/jsdom/living/helpers/is-window.js +18 -0
- package/lib/jsdom/living/helpers/iterable-weak-set.js +48 -0
- package/lib/jsdom/living/helpers/json.js +7 -0
- package/lib/jsdom/living/helpers/mutation-observers.js +198 -0
- package/lib/jsdom/living/helpers/namespaces.js +16 -0
- package/lib/jsdom/living/helpers/node.js +108 -0
- package/lib/jsdom/living/helpers/number-and-date-inputs.js +195 -0
- package/lib/jsdom/living/helpers/ordered-set.js +104 -0
- package/lib/jsdom/living/helpers/page-transition-event.js +9 -0
- package/lib/jsdom/living/helpers/runtime-script-errors.js +75 -0
- package/lib/jsdom/living/helpers/shadow-dom.js +285 -0
- package/lib/jsdom/living/helpers/strings.js +168 -0
- package/lib/jsdom/living/helpers/style-rules.js +404 -0
- package/lib/jsdom/living/helpers/stylesheets.js +148 -0
- package/lib/jsdom/living/helpers/svg/basic-types.js +41 -0
- package/lib/jsdom/living/helpers/svg/render.js +46 -0
- package/lib/jsdom/living/helpers/system-colors.js +147 -0
- package/lib/jsdom/living/helpers/text.js +19 -0
- package/lib/jsdom/living/helpers/traversal.js +72 -0
- package/lib/jsdom/living/helpers/validate-names.js +65 -0
- package/lib/jsdom/living/hr-time/Performance-impl.js +22 -0
- package/lib/jsdom/living/interfaces.js +252 -0
- package/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +95 -0
- package/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +37 -0
- package/lib/jsdom/living/navigator/MimeType-impl.js +3 -0
- package/lib/jsdom/living/navigator/MimeTypeArray-impl.js +21 -0
- package/lib/jsdom/living/navigator/Navigator-impl.js +29 -0
- package/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +8 -0
- package/lib/jsdom/living/navigator/NavigatorCookies-impl.js +7 -0
- package/lib/jsdom/living/navigator/NavigatorID-impl.js +37 -0
- package/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +9 -0
- package/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +7 -0
- package/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +8 -0
- package/lib/jsdom/living/navigator/Plugin-impl.js +3 -0
- package/lib/jsdom/living/navigator/PluginArray-impl.js +23 -0
- package/lib/jsdom/living/node-document-position.js +10 -0
- package/lib/jsdom/living/node-type.js +16 -0
- package/lib/jsdom/living/node.js +331 -0
- package/lib/jsdom/living/nodes/CDATASection-impl.js +16 -0
- package/lib/jsdom/living/nodes/CharacterData-impl.js +118 -0
- package/lib/jsdom/living/nodes/ChildNode-impl.js +80 -0
- package/lib/jsdom/living/nodes/Comment-impl.js +20 -0
- package/lib/jsdom/living/nodes/DOMImplementation-impl.js +120 -0
- package/lib/jsdom/living/nodes/DOMStringMap-impl.js +64 -0
- package/lib/jsdom/living/nodes/DOMTokenList-impl.js +171 -0
- package/lib/jsdom/living/nodes/Document-impl.js +1000 -0
- package/lib/jsdom/living/nodes/DocumentFragment-impl.js +44 -0
- package/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +28 -0
- package/lib/jsdom/living/nodes/DocumentType-impl.js +24 -0
- package/lib/jsdom/living/nodes/Element-impl.js +584 -0
- package/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +22 -0
- package/lib/jsdom/living/nodes/ElementContentEditable-impl.js +7 -0
- package/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +81 -0
- package/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +50 -0
- package/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +43 -0
- package/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLBRElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +44 -0
- package/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +12 -0
- package/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +79 -0
- package/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +136 -0
- package/lib/jsdom/living/nodes/HTMLCollection-impl.js +96 -0
- package/lib/jsdom/living/nodes/HTMLDListElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLDataElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +20 -0
- package/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +35 -0
- package/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLDivElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLElement-impl.js +211 -0
- package/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +8 -0
- package/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +43 -0
- package/lib/jsdom/living/nodes/HTMLFontElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLFormControlsCollection-impl.js +33 -0
- package/lib/jsdom/living/nodes/HTMLFormElement-impl.js +248 -0
- package/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +266 -0
- package/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +12 -0
- package/lib/jsdom/living/nodes/HTMLHRElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +368 -0
- package/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLImageElement-impl.js +127 -0
- package/lib/jsdom/living/nodes/HTMLInputElement-impl.js +1097 -0
- package/lib/jsdom/living/nodes/HTMLLIElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +94 -0
- package/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +18 -0
- package/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +107 -0
- package/lib/jsdom/living/nodes/HTMLMapElement-impl.js +13 -0
- package/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +138 -0
- package/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +180 -0
- package/lib/jsdom/living/nodes/HTMLModElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLOListElement-impl.js +22 -0
- package/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +26 -0
- package/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +146 -0
- package/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +110 -0
- package/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +88 -0
- package/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +88 -0
- package/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLParamElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLPreElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +72 -0
- package/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +255 -0
- package/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +283 -0
- package/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +59 -0
- package/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +8 -0
- package/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +76 -0
- package/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +73 -0
- package/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLTableElement-impl.js +236 -0
- package/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +88 -0
- package/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +61 -0
- package/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +67 -0
- package/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +244 -0
- package/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +18 -0
- package/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +13 -0
- package/lib/jsdom/living/nodes/HTMLUListElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +17 -0
- package/lib/jsdom/living/nodes/LinkStyle-impl.js +2 -0
- package/lib/jsdom/living/nodes/Node-impl.js +1179 -0
- package/lib/jsdom/living/nodes/NodeList-impl.js +43 -0
- package/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +28 -0
- package/lib/jsdom/living/nodes/NonElementParentNode-impl.js +11 -0
- package/lib/jsdom/living/nodes/ParentNode-impl.js +90 -0
- package/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +22 -0
- package/lib/jsdom/living/nodes/RadioNodeList-impl.js +49 -0
- package/lib/jsdom/living/nodes/SVGDefsElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/SVGDescElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/SVGElement-impl.js +64 -0
- package/lib/jsdom/living/nodes/SVGGElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +16 -0
- package/lib/jsdom/living/nodes/SVGMetadataElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/SVGSVGElement-impl.js +40 -0
- package/lib/jsdom/living/nodes/SVGSwitchElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/SVGSymbolElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/SVGTests-impl.js +42 -0
- package/lib/jsdom/living/nodes/SVGTitleElement-impl.js +9 -0
- package/lib/jsdom/living/nodes/ShadowRoot-impl.js +41 -0
- package/lib/jsdom/living/nodes/Slotable-impl.js +48 -0
- package/lib/jsdom/living/nodes/Text-impl.js +96 -0
- package/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +14 -0
- package/lib/jsdom/living/nodes/XMLDocument-impl.js +4 -0
- package/lib/jsdom/living/range/AbstractRange-impl.js +43 -0
- package/lib/jsdom/living/range/Range-impl.js +902 -0
- package/lib/jsdom/living/range/StaticRange-impl.js +39 -0
- package/lib/jsdom/living/range/boundary-point.js +47 -0
- package/lib/jsdom/living/selection/Selection-impl.js +358 -0
- package/lib/jsdom/living/svg/SVGAnimatedPreserveAspectRatio-impl.js +24 -0
- package/lib/jsdom/living/svg/SVGAnimatedRect-impl.js +122 -0
- package/lib/jsdom/living/svg/SVGAnimatedString-impl.js +42 -0
- package/lib/jsdom/living/svg/SVGListBase.js +195 -0
- package/lib/jsdom/living/svg/SVGNumber-impl.js +48 -0
- package/lib/jsdom/living/svg/SVGPreserveAspectRatio-impl.js +100 -0
- package/lib/jsdom/living/svg/SVGRect-impl.js +143 -0
- package/lib/jsdom/living/svg/SVGStringList-impl.js +16 -0
- package/lib/jsdom/living/traversal/NodeIterator-impl.js +107 -0
- package/lib/jsdom/living/traversal/TreeWalker-impl.js +217 -0
- package/lib/jsdom/living/traversal/helpers.js +44 -0
- package/lib/jsdom/living/webidl/DOMException-impl.js +46 -0
- package/lib/jsdom/living/websockets/WebSocket-impl.js +211 -0
- package/lib/jsdom/living/webstorage/Storage-impl.js +102 -0
- package/lib/jsdom/living/window/BarProp-impl.js +10 -0
- package/lib/jsdom/living/window/External-impl.js +9 -0
- package/lib/jsdom/living/window/History-impl.js +148 -0
- package/lib/jsdom/living/window/Location-impl.js +227 -0
- package/lib/jsdom/living/window/Screen-impl.js +13 -0
- package/lib/jsdom/living/window/SessionHistory.js +163 -0
- package/lib/jsdom/living/window/navigation.js +87 -0
- package/lib/jsdom/living/window-properties.js +241 -0
- package/lib/jsdom/living/xhr/FormData-impl.js +191 -0
- package/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +1057 -0
- package/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +17 -0
- package/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +4 -0
- package/lib/jsdom/living/xhr/multipart-form-data.js +99 -0
- package/lib/jsdom/living/xhr/xhr-sync-worker.js +51 -0
- package/lib/jsdom/living/xhr/xhr-utils.js +206 -0
- package/lib/jsdom/utils.js +105 -0
- package/lib/jsdom/virtual-console.js +46 -0
- package/package.json +143 -0
|
@@ -0,0 +1,2152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const conversions = require("webidl-conversions");
|
|
4
|
+
const utils = require("./utils.js");
|
|
5
|
+
|
|
6
|
+
const ceReactionsPreSteps_jsdom_living_helpers_custom_elements =
|
|
7
|
+
require("../../jsdom/living/helpers/custom-elements.js").ceReactionsPreSteps;
|
|
8
|
+
const ceReactionsPostSteps_jsdom_living_helpers_custom_elements =
|
|
9
|
+
require("../../jsdom/living/helpers/custom-elements.js").ceReactionsPostSteps;
|
|
10
|
+
const implSymbol = utils.implSymbol;
|
|
11
|
+
const ctorRegistrySymbol = utils.ctorRegistrySymbol;
|
|
12
|
+
|
|
13
|
+
const interfaceName = "ElementInternals";
|
|
14
|
+
|
|
15
|
+
exports.is = value => {
|
|
16
|
+
return utils.isObject(value) && Object.hasOwn(value, implSymbol) && value[implSymbol] instanceof Impl.implementation;
|
|
17
|
+
};
|
|
18
|
+
exports.isImpl = value => {
|
|
19
|
+
return utils.isObject(value) && value instanceof Impl.implementation;
|
|
20
|
+
};
|
|
21
|
+
exports.convert = (globalObject, value, { context = "The provided value" } = {}) => {
|
|
22
|
+
if (exports.is(value)) {
|
|
23
|
+
return utils.implForWrapper(value);
|
|
24
|
+
}
|
|
25
|
+
throw new globalObject.TypeError(`${context} is not of type 'ElementInternals'.`);
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
function makeWrapper(globalObject, newTarget) {
|
|
29
|
+
let proto;
|
|
30
|
+
if (newTarget !== undefined) {
|
|
31
|
+
proto = newTarget.prototype;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (!utils.isObject(proto)) {
|
|
35
|
+
proto = globalObject[ctorRegistrySymbol]["ElementInternals"].prototype;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
return Object.create(proto);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.create = (globalObject, constructorArgs, privateData) => {
|
|
42
|
+
const wrapper = makeWrapper(globalObject);
|
|
43
|
+
return exports.setup(wrapper, globalObject, constructorArgs, privateData);
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports.createImpl = (globalObject, constructorArgs, privateData) => {
|
|
47
|
+
const wrapper = exports.create(globalObject, constructorArgs, privateData);
|
|
48
|
+
return utils.implForWrapper(wrapper);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
exports._internalSetup = (wrapper, globalObject) => {};
|
|
52
|
+
|
|
53
|
+
exports.setup = (wrapper, globalObject, constructorArgs = [], privateData = {}) => {
|
|
54
|
+
privateData.wrapper = wrapper;
|
|
55
|
+
|
|
56
|
+
exports._internalSetup(wrapper, globalObject);
|
|
57
|
+
Object.defineProperty(wrapper, implSymbol, {
|
|
58
|
+
value: new Impl.implementation(globalObject, constructorArgs, privateData),
|
|
59
|
+
configurable: true
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
wrapper[implSymbol][utils.wrapperSymbol] = wrapper;
|
|
63
|
+
if (Impl.init) {
|
|
64
|
+
Impl.init(wrapper[implSymbol]);
|
|
65
|
+
}
|
|
66
|
+
return wrapper;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
exports.new = (globalObject, newTarget) => {
|
|
70
|
+
const wrapper = makeWrapper(globalObject, newTarget);
|
|
71
|
+
|
|
72
|
+
exports._internalSetup(wrapper, globalObject);
|
|
73
|
+
Object.defineProperty(wrapper, implSymbol, {
|
|
74
|
+
value: Object.create(Impl.implementation.prototype),
|
|
75
|
+
configurable: true
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
wrapper[implSymbol][utils.wrapperSymbol] = wrapper;
|
|
79
|
+
if (Impl.init) {
|
|
80
|
+
Impl.init(wrapper[implSymbol]);
|
|
81
|
+
}
|
|
82
|
+
return wrapper[implSymbol];
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
const exposed = new Set(["Window"]);
|
|
86
|
+
|
|
87
|
+
exports.install = (globalObject, globalNames) => {
|
|
88
|
+
if (!globalNames.some(globalName => exposed.has(globalName))) {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const ctorRegistry = utils.initCtorRegistry(globalObject);
|
|
93
|
+
class ElementInternals {
|
|
94
|
+
constructor() {
|
|
95
|
+
throw new globalObject.TypeError("Illegal constructor");
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
get shadowRoot() {
|
|
99
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
100
|
+
|
|
101
|
+
if (!exports.is(esValue)) {
|
|
102
|
+
throw new globalObject.TypeError(
|
|
103
|
+
"'get shadowRoot' called on an object that is not a valid instance of ElementInternals."
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
return utils.tryWrapperForImpl(esValue[implSymbol]["shadowRoot"]);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
get labels() {
|
|
111
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
112
|
+
|
|
113
|
+
if (!exports.is(esValue)) {
|
|
114
|
+
throw new globalObject.TypeError(
|
|
115
|
+
"'get labels' called on an object that is not a valid instance of ElementInternals."
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
return utils.tryWrapperForImpl(esValue[implSymbol]["labels"]);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
get role() {
|
|
123
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
124
|
+
|
|
125
|
+
if (!exports.is(esValue)) {
|
|
126
|
+
throw new globalObject.TypeError(
|
|
127
|
+
"'get role' called on an object that is not a valid instance of ElementInternals."
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
132
|
+
try {
|
|
133
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("role");
|
|
134
|
+
} finally {
|
|
135
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
set role(V) {
|
|
140
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
141
|
+
|
|
142
|
+
if (!exports.is(esValue)) {
|
|
143
|
+
throw new globalObject.TypeError(
|
|
144
|
+
"'set role' called on an object that is not a valid instance of ElementInternals."
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (V === null || V === undefined) {
|
|
149
|
+
V = null;
|
|
150
|
+
} else {
|
|
151
|
+
V = conversions["DOMString"](V, {
|
|
152
|
+
context: "Failed to set the 'role' property on 'ElementInternals': The provided value",
|
|
153
|
+
globals: globalObject
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
158
|
+
try {
|
|
159
|
+
if (V === null) {
|
|
160
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("role");
|
|
161
|
+
} else {
|
|
162
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("role", V);
|
|
163
|
+
}
|
|
164
|
+
} finally {
|
|
165
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
get ariaAtomic() {
|
|
170
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
171
|
+
|
|
172
|
+
if (!exports.is(esValue)) {
|
|
173
|
+
throw new globalObject.TypeError(
|
|
174
|
+
"'get ariaAtomic' called on an object that is not a valid instance of ElementInternals."
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
179
|
+
try {
|
|
180
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-atomic");
|
|
181
|
+
} finally {
|
|
182
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
set ariaAtomic(V) {
|
|
187
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
188
|
+
|
|
189
|
+
if (!exports.is(esValue)) {
|
|
190
|
+
throw new globalObject.TypeError(
|
|
191
|
+
"'set ariaAtomic' called on an object that is not a valid instance of ElementInternals."
|
|
192
|
+
);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
if (V === null || V === undefined) {
|
|
196
|
+
V = null;
|
|
197
|
+
} else {
|
|
198
|
+
V = conversions["DOMString"](V, {
|
|
199
|
+
context: "Failed to set the 'ariaAtomic' property on 'ElementInternals': The provided value",
|
|
200
|
+
globals: globalObject
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
205
|
+
try {
|
|
206
|
+
if (V === null) {
|
|
207
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-atomic");
|
|
208
|
+
} else {
|
|
209
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-atomic", V);
|
|
210
|
+
}
|
|
211
|
+
} finally {
|
|
212
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
get ariaAutoComplete() {
|
|
217
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
218
|
+
|
|
219
|
+
if (!exports.is(esValue)) {
|
|
220
|
+
throw new globalObject.TypeError(
|
|
221
|
+
"'get ariaAutoComplete' called on an object that is not a valid instance of ElementInternals."
|
|
222
|
+
);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
226
|
+
try {
|
|
227
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-autocomplete");
|
|
228
|
+
} finally {
|
|
229
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
set ariaAutoComplete(V) {
|
|
234
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
235
|
+
|
|
236
|
+
if (!exports.is(esValue)) {
|
|
237
|
+
throw new globalObject.TypeError(
|
|
238
|
+
"'set ariaAutoComplete' called on an object that is not a valid instance of ElementInternals."
|
|
239
|
+
);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
if (V === null || V === undefined) {
|
|
243
|
+
V = null;
|
|
244
|
+
} else {
|
|
245
|
+
V = conversions["DOMString"](V, {
|
|
246
|
+
context: "Failed to set the 'ariaAutoComplete' property on 'ElementInternals': The provided value",
|
|
247
|
+
globals: globalObject
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
252
|
+
try {
|
|
253
|
+
if (V === null) {
|
|
254
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-autocomplete");
|
|
255
|
+
} else {
|
|
256
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-autocomplete", V);
|
|
257
|
+
}
|
|
258
|
+
} finally {
|
|
259
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
get ariaBusy() {
|
|
264
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
265
|
+
|
|
266
|
+
if (!exports.is(esValue)) {
|
|
267
|
+
throw new globalObject.TypeError(
|
|
268
|
+
"'get ariaBusy' called on an object that is not a valid instance of ElementInternals."
|
|
269
|
+
);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
273
|
+
try {
|
|
274
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-busy");
|
|
275
|
+
} finally {
|
|
276
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
set ariaBusy(V) {
|
|
281
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
282
|
+
|
|
283
|
+
if (!exports.is(esValue)) {
|
|
284
|
+
throw new globalObject.TypeError(
|
|
285
|
+
"'set ariaBusy' called on an object that is not a valid instance of ElementInternals."
|
|
286
|
+
);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
if (V === null || V === undefined) {
|
|
290
|
+
V = null;
|
|
291
|
+
} else {
|
|
292
|
+
V = conversions["DOMString"](V, {
|
|
293
|
+
context: "Failed to set the 'ariaBusy' property on 'ElementInternals': The provided value",
|
|
294
|
+
globals: globalObject
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
299
|
+
try {
|
|
300
|
+
if (V === null) {
|
|
301
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-busy");
|
|
302
|
+
} else {
|
|
303
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-busy", V);
|
|
304
|
+
}
|
|
305
|
+
} finally {
|
|
306
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
get ariaChecked() {
|
|
311
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
312
|
+
|
|
313
|
+
if (!exports.is(esValue)) {
|
|
314
|
+
throw new globalObject.TypeError(
|
|
315
|
+
"'get ariaChecked' called on an object that is not a valid instance of ElementInternals."
|
|
316
|
+
);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
320
|
+
try {
|
|
321
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-checked");
|
|
322
|
+
} finally {
|
|
323
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
set ariaChecked(V) {
|
|
328
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
329
|
+
|
|
330
|
+
if (!exports.is(esValue)) {
|
|
331
|
+
throw new globalObject.TypeError(
|
|
332
|
+
"'set ariaChecked' called on an object that is not a valid instance of ElementInternals."
|
|
333
|
+
);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
if (V === null || V === undefined) {
|
|
337
|
+
V = null;
|
|
338
|
+
} else {
|
|
339
|
+
V = conversions["DOMString"](V, {
|
|
340
|
+
context: "Failed to set the 'ariaChecked' property on 'ElementInternals': The provided value",
|
|
341
|
+
globals: globalObject
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
346
|
+
try {
|
|
347
|
+
if (V === null) {
|
|
348
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-checked");
|
|
349
|
+
} else {
|
|
350
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-checked", V);
|
|
351
|
+
}
|
|
352
|
+
} finally {
|
|
353
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
get ariaColCount() {
|
|
358
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
359
|
+
|
|
360
|
+
if (!exports.is(esValue)) {
|
|
361
|
+
throw new globalObject.TypeError(
|
|
362
|
+
"'get ariaColCount' called on an object that is not a valid instance of ElementInternals."
|
|
363
|
+
);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
367
|
+
try {
|
|
368
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-colcount");
|
|
369
|
+
} finally {
|
|
370
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
set ariaColCount(V) {
|
|
375
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
376
|
+
|
|
377
|
+
if (!exports.is(esValue)) {
|
|
378
|
+
throw new globalObject.TypeError(
|
|
379
|
+
"'set ariaColCount' called on an object that is not a valid instance of ElementInternals."
|
|
380
|
+
);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
if (V === null || V === undefined) {
|
|
384
|
+
V = null;
|
|
385
|
+
} else {
|
|
386
|
+
V = conversions["DOMString"](V, {
|
|
387
|
+
context: "Failed to set the 'ariaColCount' property on 'ElementInternals': The provided value",
|
|
388
|
+
globals: globalObject
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
393
|
+
try {
|
|
394
|
+
if (V === null) {
|
|
395
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-colcount");
|
|
396
|
+
} else {
|
|
397
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-colcount", V);
|
|
398
|
+
}
|
|
399
|
+
} finally {
|
|
400
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
get ariaColIndex() {
|
|
405
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
406
|
+
|
|
407
|
+
if (!exports.is(esValue)) {
|
|
408
|
+
throw new globalObject.TypeError(
|
|
409
|
+
"'get ariaColIndex' called on an object that is not a valid instance of ElementInternals."
|
|
410
|
+
);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
414
|
+
try {
|
|
415
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-colindex");
|
|
416
|
+
} finally {
|
|
417
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
set ariaColIndex(V) {
|
|
422
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
423
|
+
|
|
424
|
+
if (!exports.is(esValue)) {
|
|
425
|
+
throw new globalObject.TypeError(
|
|
426
|
+
"'set ariaColIndex' called on an object that is not a valid instance of ElementInternals."
|
|
427
|
+
);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
if (V === null || V === undefined) {
|
|
431
|
+
V = null;
|
|
432
|
+
} else {
|
|
433
|
+
V = conversions["DOMString"](V, {
|
|
434
|
+
context: "Failed to set the 'ariaColIndex' property on 'ElementInternals': The provided value",
|
|
435
|
+
globals: globalObject
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
440
|
+
try {
|
|
441
|
+
if (V === null) {
|
|
442
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-colindex");
|
|
443
|
+
} else {
|
|
444
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-colindex", V);
|
|
445
|
+
}
|
|
446
|
+
} finally {
|
|
447
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
get ariaColIndexText() {
|
|
452
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
453
|
+
|
|
454
|
+
if (!exports.is(esValue)) {
|
|
455
|
+
throw new globalObject.TypeError(
|
|
456
|
+
"'get ariaColIndexText' called on an object that is not a valid instance of ElementInternals."
|
|
457
|
+
);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
461
|
+
try {
|
|
462
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-colindextext");
|
|
463
|
+
} finally {
|
|
464
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
set ariaColIndexText(V) {
|
|
469
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
470
|
+
|
|
471
|
+
if (!exports.is(esValue)) {
|
|
472
|
+
throw new globalObject.TypeError(
|
|
473
|
+
"'set ariaColIndexText' called on an object that is not a valid instance of ElementInternals."
|
|
474
|
+
);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
if (V === null || V === undefined) {
|
|
478
|
+
V = null;
|
|
479
|
+
} else {
|
|
480
|
+
V = conversions["DOMString"](V, {
|
|
481
|
+
context: "Failed to set the 'ariaColIndexText' property on 'ElementInternals': The provided value",
|
|
482
|
+
globals: globalObject
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
487
|
+
try {
|
|
488
|
+
if (V === null) {
|
|
489
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-colindextext");
|
|
490
|
+
} else {
|
|
491
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-colindextext", V);
|
|
492
|
+
}
|
|
493
|
+
} finally {
|
|
494
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
get ariaColSpan() {
|
|
499
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
500
|
+
|
|
501
|
+
if (!exports.is(esValue)) {
|
|
502
|
+
throw new globalObject.TypeError(
|
|
503
|
+
"'get ariaColSpan' called on an object that is not a valid instance of ElementInternals."
|
|
504
|
+
);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
508
|
+
try {
|
|
509
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-colspan");
|
|
510
|
+
} finally {
|
|
511
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
set ariaColSpan(V) {
|
|
516
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
517
|
+
|
|
518
|
+
if (!exports.is(esValue)) {
|
|
519
|
+
throw new globalObject.TypeError(
|
|
520
|
+
"'set ariaColSpan' called on an object that is not a valid instance of ElementInternals."
|
|
521
|
+
);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
if (V === null || V === undefined) {
|
|
525
|
+
V = null;
|
|
526
|
+
} else {
|
|
527
|
+
V = conversions["DOMString"](V, {
|
|
528
|
+
context: "Failed to set the 'ariaColSpan' property on 'ElementInternals': The provided value",
|
|
529
|
+
globals: globalObject
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
534
|
+
try {
|
|
535
|
+
if (V === null) {
|
|
536
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-colspan");
|
|
537
|
+
} else {
|
|
538
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-colspan", V);
|
|
539
|
+
}
|
|
540
|
+
} finally {
|
|
541
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
get ariaCurrent() {
|
|
546
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
547
|
+
|
|
548
|
+
if (!exports.is(esValue)) {
|
|
549
|
+
throw new globalObject.TypeError(
|
|
550
|
+
"'get ariaCurrent' called on an object that is not a valid instance of ElementInternals."
|
|
551
|
+
);
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
555
|
+
try {
|
|
556
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-current");
|
|
557
|
+
} finally {
|
|
558
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
set ariaCurrent(V) {
|
|
563
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
564
|
+
|
|
565
|
+
if (!exports.is(esValue)) {
|
|
566
|
+
throw new globalObject.TypeError(
|
|
567
|
+
"'set ariaCurrent' called on an object that is not a valid instance of ElementInternals."
|
|
568
|
+
);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
if (V === null || V === undefined) {
|
|
572
|
+
V = null;
|
|
573
|
+
} else {
|
|
574
|
+
V = conversions["DOMString"](V, {
|
|
575
|
+
context: "Failed to set the 'ariaCurrent' property on 'ElementInternals': The provided value",
|
|
576
|
+
globals: globalObject
|
|
577
|
+
});
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
581
|
+
try {
|
|
582
|
+
if (V === null) {
|
|
583
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-current");
|
|
584
|
+
} else {
|
|
585
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-current", V);
|
|
586
|
+
}
|
|
587
|
+
} finally {
|
|
588
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
get ariaDescription() {
|
|
593
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
594
|
+
|
|
595
|
+
if (!exports.is(esValue)) {
|
|
596
|
+
throw new globalObject.TypeError(
|
|
597
|
+
"'get ariaDescription' called on an object that is not a valid instance of ElementInternals."
|
|
598
|
+
);
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
602
|
+
try {
|
|
603
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-description");
|
|
604
|
+
} finally {
|
|
605
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
set ariaDescription(V) {
|
|
610
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
611
|
+
|
|
612
|
+
if (!exports.is(esValue)) {
|
|
613
|
+
throw new globalObject.TypeError(
|
|
614
|
+
"'set ariaDescription' called on an object that is not a valid instance of ElementInternals."
|
|
615
|
+
);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
if (V === null || V === undefined) {
|
|
619
|
+
V = null;
|
|
620
|
+
} else {
|
|
621
|
+
V = conversions["DOMString"](V, {
|
|
622
|
+
context: "Failed to set the 'ariaDescription' property on 'ElementInternals': The provided value",
|
|
623
|
+
globals: globalObject
|
|
624
|
+
});
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
628
|
+
try {
|
|
629
|
+
if (V === null) {
|
|
630
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-description");
|
|
631
|
+
} else {
|
|
632
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-description", V);
|
|
633
|
+
}
|
|
634
|
+
} finally {
|
|
635
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
get ariaDisabled() {
|
|
640
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
641
|
+
|
|
642
|
+
if (!exports.is(esValue)) {
|
|
643
|
+
throw new globalObject.TypeError(
|
|
644
|
+
"'get ariaDisabled' called on an object that is not a valid instance of ElementInternals."
|
|
645
|
+
);
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
649
|
+
try {
|
|
650
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-disabled");
|
|
651
|
+
} finally {
|
|
652
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
set ariaDisabled(V) {
|
|
657
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
658
|
+
|
|
659
|
+
if (!exports.is(esValue)) {
|
|
660
|
+
throw new globalObject.TypeError(
|
|
661
|
+
"'set ariaDisabled' called on an object that is not a valid instance of ElementInternals."
|
|
662
|
+
);
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
if (V === null || V === undefined) {
|
|
666
|
+
V = null;
|
|
667
|
+
} else {
|
|
668
|
+
V = conversions["DOMString"](V, {
|
|
669
|
+
context: "Failed to set the 'ariaDisabled' property on 'ElementInternals': The provided value",
|
|
670
|
+
globals: globalObject
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
675
|
+
try {
|
|
676
|
+
if (V === null) {
|
|
677
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-disabled");
|
|
678
|
+
} else {
|
|
679
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-disabled", V);
|
|
680
|
+
}
|
|
681
|
+
} finally {
|
|
682
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
get ariaExpanded() {
|
|
687
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
688
|
+
|
|
689
|
+
if (!exports.is(esValue)) {
|
|
690
|
+
throw new globalObject.TypeError(
|
|
691
|
+
"'get ariaExpanded' called on an object that is not a valid instance of ElementInternals."
|
|
692
|
+
);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
696
|
+
try {
|
|
697
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-expanded");
|
|
698
|
+
} finally {
|
|
699
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
set ariaExpanded(V) {
|
|
704
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
705
|
+
|
|
706
|
+
if (!exports.is(esValue)) {
|
|
707
|
+
throw new globalObject.TypeError(
|
|
708
|
+
"'set ariaExpanded' called on an object that is not a valid instance of ElementInternals."
|
|
709
|
+
);
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
if (V === null || V === undefined) {
|
|
713
|
+
V = null;
|
|
714
|
+
} else {
|
|
715
|
+
V = conversions["DOMString"](V, {
|
|
716
|
+
context: "Failed to set the 'ariaExpanded' property on 'ElementInternals': The provided value",
|
|
717
|
+
globals: globalObject
|
|
718
|
+
});
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
722
|
+
try {
|
|
723
|
+
if (V === null) {
|
|
724
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-expanded");
|
|
725
|
+
} else {
|
|
726
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-expanded", V);
|
|
727
|
+
}
|
|
728
|
+
} finally {
|
|
729
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
get ariaHasPopup() {
|
|
734
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
735
|
+
|
|
736
|
+
if (!exports.is(esValue)) {
|
|
737
|
+
throw new globalObject.TypeError(
|
|
738
|
+
"'get ariaHasPopup' called on an object that is not a valid instance of ElementInternals."
|
|
739
|
+
);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
743
|
+
try {
|
|
744
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-haspopup");
|
|
745
|
+
} finally {
|
|
746
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
set ariaHasPopup(V) {
|
|
751
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
752
|
+
|
|
753
|
+
if (!exports.is(esValue)) {
|
|
754
|
+
throw new globalObject.TypeError(
|
|
755
|
+
"'set ariaHasPopup' called on an object that is not a valid instance of ElementInternals."
|
|
756
|
+
);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
if (V === null || V === undefined) {
|
|
760
|
+
V = null;
|
|
761
|
+
} else {
|
|
762
|
+
V = conversions["DOMString"](V, {
|
|
763
|
+
context: "Failed to set the 'ariaHasPopup' property on 'ElementInternals': The provided value",
|
|
764
|
+
globals: globalObject
|
|
765
|
+
});
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
769
|
+
try {
|
|
770
|
+
if (V === null) {
|
|
771
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-haspopup");
|
|
772
|
+
} else {
|
|
773
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-haspopup", V);
|
|
774
|
+
}
|
|
775
|
+
} finally {
|
|
776
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
get ariaHidden() {
|
|
781
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
782
|
+
|
|
783
|
+
if (!exports.is(esValue)) {
|
|
784
|
+
throw new globalObject.TypeError(
|
|
785
|
+
"'get ariaHidden' called on an object that is not a valid instance of ElementInternals."
|
|
786
|
+
);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
790
|
+
try {
|
|
791
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-hidden");
|
|
792
|
+
} finally {
|
|
793
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
set ariaHidden(V) {
|
|
798
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
799
|
+
|
|
800
|
+
if (!exports.is(esValue)) {
|
|
801
|
+
throw new globalObject.TypeError(
|
|
802
|
+
"'set ariaHidden' called on an object that is not a valid instance of ElementInternals."
|
|
803
|
+
);
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
if (V === null || V === undefined) {
|
|
807
|
+
V = null;
|
|
808
|
+
} else {
|
|
809
|
+
V = conversions["DOMString"](V, {
|
|
810
|
+
context: "Failed to set the 'ariaHidden' property on 'ElementInternals': The provided value",
|
|
811
|
+
globals: globalObject
|
|
812
|
+
});
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
816
|
+
try {
|
|
817
|
+
if (V === null) {
|
|
818
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-hidden");
|
|
819
|
+
} else {
|
|
820
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-hidden", V);
|
|
821
|
+
}
|
|
822
|
+
} finally {
|
|
823
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
get ariaInvalid() {
|
|
828
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
829
|
+
|
|
830
|
+
if (!exports.is(esValue)) {
|
|
831
|
+
throw new globalObject.TypeError(
|
|
832
|
+
"'get ariaInvalid' called on an object that is not a valid instance of ElementInternals."
|
|
833
|
+
);
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
837
|
+
try {
|
|
838
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-invalid");
|
|
839
|
+
} finally {
|
|
840
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
set ariaInvalid(V) {
|
|
845
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
846
|
+
|
|
847
|
+
if (!exports.is(esValue)) {
|
|
848
|
+
throw new globalObject.TypeError(
|
|
849
|
+
"'set ariaInvalid' called on an object that is not a valid instance of ElementInternals."
|
|
850
|
+
);
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
if (V === null || V === undefined) {
|
|
854
|
+
V = null;
|
|
855
|
+
} else {
|
|
856
|
+
V = conversions["DOMString"](V, {
|
|
857
|
+
context: "Failed to set the 'ariaInvalid' property on 'ElementInternals': The provided value",
|
|
858
|
+
globals: globalObject
|
|
859
|
+
});
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
863
|
+
try {
|
|
864
|
+
if (V === null) {
|
|
865
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-invalid");
|
|
866
|
+
} else {
|
|
867
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-invalid", V);
|
|
868
|
+
}
|
|
869
|
+
} finally {
|
|
870
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
get ariaKeyShortcuts() {
|
|
875
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
876
|
+
|
|
877
|
+
if (!exports.is(esValue)) {
|
|
878
|
+
throw new globalObject.TypeError(
|
|
879
|
+
"'get ariaKeyShortcuts' called on an object that is not a valid instance of ElementInternals."
|
|
880
|
+
);
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
884
|
+
try {
|
|
885
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-keyshortcuts");
|
|
886
|
+
} finally {
|
|
887
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
set ariaKeyShortcuts(V) {
|
|
892
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
893
|
+
|
|
894
|
+
if (!exports.is(esValue)) {
|
|
895
|
+
throw new globalObject.TypeError(
|
|
896
|
+
"'set ariaKeyShortcuts' called on an object that is not a valid instance of ElementInternals."
|
|
897
|
+
);
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
if (V === null || V === undefined) {
|
|
901
|
+
V = null;
|
|
902
|
+
} else {
|
|
903
|
+
V = conversions["DOMString"](V, {
|
|
904
|
+
context: "Failed to set the 'ariaKeyShortcuts' property on 'ElementInternals': The provided value",
|
|
905
|
+
globals: globalObject
|
|
906
|
+
});
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
910
|
+
try {
|
|
911
|
+
if (V === null) {
|
|
912
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-keyshortcuts");
|
|
913
|
+
} else {
|
|
914
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-keyshortcuts", V);
|
|
915
|
+
}
|
|
916
|
+
} finally {
|
|
917
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
get ariaLabel() {
|
|
922
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
923
|
+
|
|
924
|
+
if (!exports.is(esValue)) {
|
|
925
|
+
throw new globalObject.TypeError(
|
|
926
|
+
"'get ariaLabel' called on an object that is not a valid instance of ElementInternals."
|
|
927
|
+
);
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
931
|
+
try {
|
|
932
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-label");
|
|
933
|
+
} finally {
|
|
934
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
set ariaLabel(V) {
|
|
939
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
940
|
+
|
|
941
|
+
if (!exports.is(esValue)) {
|
|
942
|
+
throw new globalObject.TypeError(
|
|
943
|
+
"'set ariaLabel' called on an object that is not a valid instance of ElementInternals."
|
|
944
|
+
);
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
if (V === null || V === undefined) {
|
|
948
|
+
V = null;
|
|
949
|
+
} else {
|
|
950
|
+
V = conversions["DOMString"](V, {
|
|
951
|
+
context: "Failed to set the 'ariaLabel' property on 'ElementInternals': The provided value",
|
|
952
|
+
globals: globalObject
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
957
|
+
try {
|
|
958
|
+
if (V === null) {
|
|
959
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-label");
|
|
960
|
+
} else {
|
|
961
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-label", V);
|
|
962
|
+
}
|
|
963
|
+
} finally {
|
|
964
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
get ariaLevel() {
|
|
969
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
970
|
+
|
|
971
|
+
if (!exports.is(esValue)) {
|
|
972
|
+
throw new globalObject.TypeError(
|
|
973
|
+
"'get ariaLevel' called on an object that is not a valid instance of ElementInternals."
|
|
974
|
+
);
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
978
|
+
try {
|
|
979
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-level");
|
|
980
|
+
} finally {
|
|
981
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
set ariaLevel(V) {
|
|
986
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
987
|
+
|
|
988
|
+
if (!exports.is(esValue)) {
|
|
989
|
+
throw new globalObject.TypeError(
|
|
990
|
+
"'set ariaLevel' called on an object that is not a valid instance of ElementInternals."
|
|
991
|
+
);
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
if (V === null || V === undefined) {
|
|
995
|
+
V = null;
|
|
996
|
+
} else {
|
|
997
|
+
V = conversions["DOMString"](V, {
|
|
998
|
+
context: "Failed to set the 'ariaLevel' property on 'ElementInternals': The provided value",
|
|
999
|
+
globals: globalObject
|
|
1000
|
+
});
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1004
|
+
try {
|
|
1005
|
+
if (V === null) {
|
|
1006
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-level");
|
|
1007
|
+
} else {
|
|
1008
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-level", V);
|
|
1009
|
+
}
|
|
1010
|
+
} finally {
|
|
1011
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
get ariaLive() {
|
|
1016
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1017
|
+
|
|
1018
|
+
if (!exports.is(esValue)) {
|
|
1019
|
+
throw new globalObject.TypeError(
|
|
1020
|
+
"'get ariaLive' called on an object that is not a valid instance of ElementInternals."
|
|
1021
|
+
);
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1025
|
+
try {
|
|
1026
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-live");
|
|
1027
|
+
} finally {
|
|
1028
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
set ariaLive(V) {
|
|
1033
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1034
|
+
|
|
1035
|
+
if (!exports.is(esValue)) {
|
|
1036
|
+
throw new globalObject.TypeError(
|
|
1037
|
+
"'set ariaLive' called on an object that is not a valid instance of ElementInternals."
|
|
1038
|
+
);
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
if (V === null || V === undefined) {
|
|
1042
|
+
V = null;
|
|
1043
|
+
} else {
|
|
1044
|
+
V = conversions["DOMString"](V, {
|
|
1045
|
+
context: "Failed to set the 'ariaLive' property on 'ElementInternals': The provided value",
|
|
1046
|
+
globals: globalObject
|
|
1047
|
+
});
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1051
|
+
try {
|
|
1052
|
+
if (V === null) {
|
|
1053
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-live");
|
|
1054
|
+
} else {
|
|
1055
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-live", V);
|
|
1056
|
+
}
|
|
1057
|
+
} finally {
|
|
1058
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
get ariaModal() {
|
|
1063
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1064
|
+
|
|
1065
|
+
if (!exports.is(esValue)) {
|
|
1066
|
+
throw new globalObject.TypeError(
|
|
1067
|
+
"'get ariaModal' called on an object that is not a valid instance of ElementInternals."
|
|
1068
|
+
);
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1072
|
+
try {
|
|
1073
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-modal");
|
|
1074
|
+
} finally {
|
|
1075
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
set ariaModal(V) {
|
|
1080
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1081
|
+
|
|
1082
|
+
if (!exports.is(esValue)) {
|
|
1083
|
+
throw new globalObject.TypeError(
|
|
1084
|
+
"'set ariaModal' called on an object that is not a valid instance of ElementInternals."
|
|
1085
|
+
);
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
if (V === null || V === undefined) {
|
|
1089
|
+
V = null;
|
|
1090
|
+
} else {
|
|
1091
|
+
V = conversions["DOMString"](V, {
|
|
1092
|
+
context: "Failed to set the 'ariaModal' property on 'ElementInternals': The provided value",
|
|
1093
|
+
globals: globalObject
|
|
1094
|
+
});
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1098
|
+
try {
|
|
1099
|
+
if (V === null) {
|
|
1100
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-modal");
|
|
1101
|
+
} else {
|
|
1102
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-modal", V);
|
|
1103
|
+
}
|
|
1104
|
+
} finally {
|
|
1105
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
get ariaMultiLine() {
|
|
1110
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1111
|
+
|
|
1112
|
+
if (!exports.is(esValue)) {
|
|
1113
|
+
throw new globalObject.TypeError(
|
|
1114
|
+
"'get ariaMultiLine' called on an object that is not a valid instance of ElementInternals."
|
|
1115
|
+
);
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1119
|
+
try {
|
|
1120
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-multiline");
|
|
1121
|
+
} finally {
|
|
1122
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
set ariaMultiLine(V) {
|
|
1127
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1128
|
+
|
|
1129
|
+
if (!exports.is(esValue)) {
|
|
1130
|
+
throw new globalObject.TypeError(
|
|
1131
|
+
"'set ariaMultiLine' called on an object that is not a valid instance of ElementInternals."
|
|
1132
|
+
);
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
if (V === null || V === undefined) {
|
|
1136
|
+
V = null;
|
|
1137
|
+
} else {
|
|
1138
|
+
V = conversions["DOMString"](V, {
|
|
1139
|
+
context: "Failed to set the 'ariaMultiLine' property on 'ElementInternals': The provided value",
|
|
1140
|
+
globals: globalObject
|
|
1141
|
+
});
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1145
|
+
try {
|
|
1146
|
+
if (V === null) {
|
|
1147
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-multiline");
|
|
1148
|
+
} else {
|
|
1149
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-multiline", V);
|
|
1150
|
+
}
|
|
1151
|
+
} finally {
|
|
1152
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
get ariaMultiSelectable() {
|
|
1157
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1158
|
+
|
|
1159
|
+
if (!exports.is(esValue)) {
|
|
1160
|
+
throw new globalObject.TypeError(
|
|
1161
|
+
"'get ariaMultiSelectable' called on an object that is not a valid instance of ElementInternals."
|
|
1162
|
+
);
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1166
|
+
try {
|
|
1167
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-multiselectable");
|
|
1168
|
+
} finally {
|
|
1169
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
set ariaMultiSelectable(V) {
|
|
1174
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1175
|
+
|
|
1176
|
+
if (!exports.is(esValue)) {
|
|
1177
|
+
throw new globalObject.TypeError(
|
|
1178
|
+
"'set ariaMultiSelectable' called on an object that is not a valid instance of ElementInternals."
|
|
1179
|
+
);
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
if (V === null || V === undefined) {
|
|
1183
|
+
V = null;
|
|
1184
|
+
} else {
|
|
1185
|
+
V = conversions["DOMString"](V, {
|
|
1186
|
+
context: "Failed to set the 'ariaMultiSelectable' property on 'ElementInternals': The provided value",
|
|
1187
|
+
globals: globalObject
|
|
1188
|
+
});
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1192
|
+
try {
|
|
1193
|
+
if (V === null) {
|
|
1194
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-multiselectable");
|
|
1195
|
+
} else {
|
|
1196
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-multiselectable", V);
|
|
1197
|
+
}
|
|
1198
|
+
} finally {
|
|
1199
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
get ariaOrientation() {
|
|
1204
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1205
|
+
|
|
1206
|
+
if (!exports.is(esValue)) {
|
|
1207
|
+
throw new globalObject.TypeError(
|
|
1208
|
+
"'get ariaOrientation' called on an object that is not a valid instance of ElementInternals."
|
|
1209
|
+
);
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1213
|
+
try {
|
|
1214
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-orientation");
|
|
1215
|
+
} finally {
|
|
1216
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
set ariaOrientation(V) {
|
|
1221
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1222
|
+
|
|
1223
|
+
if (!exports.is(esValue)) {
|
|
1224
|
+
throw new globalObject.TypeError(
|
|
1225
|
+
"'set ariaOrientation' called on an object that is not a valid instance of ElementInternals."
|
|
1226
|
+
);
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
if (V === null || V === undefined) {
|
|
1230
|
+
V = null;
|
|
1231
|
+
} else {
|
|
1232
|
+
V = conversions["DOMString"](V, {
|
|
1233
|
+
context: "Failed to set the 'ariaOrientation' property on 'ElementInternals': The provided value",
|
|
1234
|
+
globals: globalObject
|
|
1235
|
+
});
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1239
|
+
try {
|
|
1240
|
+
if (V === null) {
|
|
1241
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-orientation");
|
|
1242
|
+
} else {
|
|
1243
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-orientation", V);
|
|
1244
|
+
}
|
|
1245
|
+
} finally {
|
|
1246
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
get ariaPlaceholder() {
|
|
1251
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1252
|
+
|
|
1253
|
+
if (!exports.is(esValue)) {
|
|
1254
|
+
throw new globalObject.TypeError(
|
|
1255
|
+
"'get ariaPlaceholder' called on an object that is not a valid instance of ElementInternals."
|
|
1256
|
+
);
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1260
|
+
try {
|
|
1261
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-placeholder");
|
|
1262
|
+
} finally {
|
|
1263
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
set ariaPlaceholder(V) {
|
|
1268
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1269
|
+
|
|
1270
|
+
if (!exports.is(esValue)) {
|
|
1271
|
+
throw new globalObject.TypeError(
|
|
1272
|
+
"'set ariaPlaceholder' called on an object that is not a valid instance of ElementInternals."
|
|
1273
|
+
);
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
if (V === null || V === undefined) {
|
|
1277
|
+
V = null;
|
|
1278
|
+
} else {
|
|
1279
|
+
V = conversions["DOMString"](V, {
|
|
1280
|
+
context: "Failed to set the 'ariaPlaceholder' property on 'ElementInternals': The provided value",
|
|
1281
|
+
globals: globalObject
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1286
|
+
try {
|
|
1287
|
+
if (V === null) {
|
|
1288
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-placeholder");
|
|
1289
|
+
} else {
|
|
1290
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-placeholder", V);
|
|
1291
|
+
}
|
|
1292
|
+
} finally {
|
|
1293
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
get ariaPosInSet() {
|
|
1298
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1299
|
+
|
|
1300
|
+
if (!exports.is(esValue)) {
|
|
1301
|
+
throw new globalObject.TypeError(
|
|
1302
|
+
"'get ariaPosInSet' called on an object that is not a valid instance of ElementInternals."
|
|
1303
|
+
);
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1307
|
+
try {
|
|
1308
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-posinset");
|
|
1309
|
+
} finally {
|
|
1310
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
set ariaPosInSet(V) {
|
|
1315
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1316
|
+
|
|
1317
|
+
if (!exports.is(esValue)) {
|
|
1318
|
+
throw new globalObject.TypeError(
|
|
1319
|
+
"'set ariaPosInSet' called on an object that is not a valid instance of ElementInternals."
|
|
1320
|
+
);
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
if (V === null || V === undefined) {
|
|
1324
|
+
V = null;
|
|
1325
|
+
} else {
|
|
1326
|
+
V = conversions["DOMString"](V, {
|
|
1327
|
+
context: "Failed to set the 'ariaPosInSet' property on 'ElementInternals': The provided value",
|
|
1328
|
+
globals: globalObject
|
|
1329
|
+
});
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1333
|
+
try {
|
|
1334
|
+
if (V === null) {
|
|
1335
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-posinset");
|
|
1336
|
+
} else {
|
|
1337
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-posinset", V);
|
|
1338
|
+
}
|
|
1339
|
+
} finally {
|
|
1340
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
get ariaPressed() {
|
|
1345
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1346
|
+
|
|
1347
|
+
if (!exports.is(esValue)) {
|
|
1348
|
+
throw new globalObject.TypeError(
|
|
1349
|
+
"'get ariaPressed' called on an object that is not a valid instance of ElementInternals."
|
|
1350
|
+
);
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1354
|
+
try {
|
|
1355
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-pressed");
|
|
1356
|
+
} finally {
|
|
1357
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
set ariaPressed(V) {
|
|
1362
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1363
|
+
|
|
1364
|
+
if (!exports.is(esValue)) {
|
|
1365
|
+
throw new globalObject.TypeError(
|
|
1366
|
+
"'set ariaPressed' called on an object that is not a valid instance of ElementInternals."
|
|
1367
|
+
);
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
if (V === null || V === undefined) {
|
|
1371
|
+
V = null;
|
|
1372
|
+
} else {
|
|
1373
|
+
V = conversions["DOMString"](V, {
|
|
1374
|
+
context: "Failed to set the 'ariaPressed' property on 'ElementInternals': The provided value",
|
|
1375
|
+
globals: globalObject
|
|
1376
|
+
});
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1380
|
+
try {
|
|
1381
|
+
if (V === null) {
|
|
1382
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-pressed");
|
|
1383
|
+
} else {
|
|
1384
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-pressed", V);
|
|
1385
|
+
}
|
|
1386
|
+
} finally {
|
|
1387
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
get ariaReadOnly() {
|
|
1392
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1393
|
+
|
|
1394
|
+
if (!exports.is(esValue)) {
|
|
1395
|
+
throw new globalObject.TypeError(
|
|
1396
|
+
"'get ariaReadOnly' called on an object that is not a valid instance of ElementInternals."
|
|
1397
|
+
);
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1401
|
+
try {
|
|
1402
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-readonly");
|
|
1403
|
+
} finally {
|
|
1404
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
set ariaReadOnly(V) {
|
|
1409
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1410
|
+
|
|
1411
|
+
if (!exports.is(esValue)) {
|
|
1412
|
+
throw new globalObject.TypeError(
|
|
1413
|
+
"'set ariaReadOnly' called on an object that is not a valid instance of ElementInternals."
|
|
1414
|
+
);
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
if (V === null || V === undefined) {
|
|
1418
|
+
V = null;
|
|
1419
|
+
} else {
|
|
1420
|
+
V = conversions["DOMString"](V, {
|
|
1421
|
+
context: "Failed to set the 'ariaReadOnly' property on 'ElementInternals': The provided value",
|
|
1422
|
+
globals: globalObject
|
|
1423
|
+
});
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1427
|
+
try {
|
|
1428
|
+
if (V === null) {
|
|
1429
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-readonly");
|
|
1430
|
+
} else {
|
|
1431
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-readonly", V);
|
|
1432
|
+
}
|
|
1433
|
+
} finally {
|
|
1434
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
get ariaRequired() {
|
|
1439
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1440
|
+
|
|
1441
|
+
if (!exports.is(esValue)) {
|
|
1442
|
+
throw new globalObject.TypeError(
|
|
1443
|
+
"'get ariaRequired' called on an object that is not a valid instance of ElementInternals."
|
|
1444
|
+
);
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1448
|
+
try {
|
|
1449
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-required");
|
|
1450
|
+
} finally {
|
|
1451
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
set ariaRequired(V) {
|
|
1456
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1457
|
+
|
|
1458
|
+
if (!exports.is(esValue)) {
|
|
1459
|
+
throw new globalObject.TypeError(
|
|
1460
|
+
"'set ariaRequired' called on an object that is not a valid instance of ElementInternals."
|
|
1461
|
+
);
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
if (V === null || V === undefined) {
|
|
1465
|
+
V = null;
|
|
1466
|
+
} else {
|
|
1467
|
+
V = conversions["DOMString"](V, {
|
|
1468
|
+
context: "Failed to set the 'ariaRequired' property on 'ElementInternals': The provided value",
|
|
1469
|
+
globals: globalObject
|
|
1470
|
+
});
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1474
|
+
try {
|
|
1475
|
+
if (V === null) {
|
|
1476
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-required");
|
|
1477
|
+
} else {
|
|
1478
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-required", V);
|
|
1479
|
+
}
|
|
1480
|
+
} finally {
|
|
1481
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
get ariaRoleDescription() {
|
|
1486
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1487
|
+
|
|
1488
|
+
if (!exports.is(esValue)) {
|
|
1489
|
+
throw new globalObject.TypeError(
|
|
1490
|
+
"'get ariaRoleDescription' called on an object that is not a valid instance of ElementInternals."
|
|
1491
|
+
);
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1495
|
+
try {
|
|
1496
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-roledescription");
|
|
1497
|
+
} finally {
|
|
1498
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
set ariaRoleDescription(V) {
|
|
1503
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1504
|
+
|
|
1505
|
+
if (!exports.is(esValue)) {
|
|
1506
|
+
throw new globalObject.TypeError(
|
|
1507
|
+
"'set ariaRoleDescription' called on an object that is not a valid instance of ElementInternals."
|
|
1508
|
+
);
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
if (V === null || V === undefined) {
|
|
1512
|
+
V = null;
|
|
1513
|
+
} else {
|
|
1514
|
+
V = conversions["DOMString"](V, {
|
|
1515
|
+
context: "Failed to set the 'ariaRoleDescription' property on 'ElementInternals': The provided value",
|
|
1516
|
+
globals: globalObject
|
|
1517
|
+
});
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1521
|
+
try {
|
|
1522
|
+
if (V === null) {
|
|
1523
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-roledescription");
|
|
1524
|
+
} else {
|
|
1525
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-roledescription", V);
|
|
1526
|
+
}
|
|
1527
|
+
} finally {
|
|
1528
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
get ariaRowCount() {
|
|
1533
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1534
|
+
|
|
1535
|
+
if (!exports.is(esValue)) {
|
|
1536
|
+
throw new globalObject.TypeError(
|
|
1537
|
+
"'get ariaRowCount' called on an object that is not a valid instance of ElementInternals."
|
|
1538
|
+
);
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1542
|
+
try {
|
|
1543
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-rowcount");
|
|
1544
|
+
} finally {
|
|
1545
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
set ariaRowCount(V) {
|
|
1550
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1551
|
+
|
|
1552
|
+
if (!exports.is(esValue)) {
|
|
1553
|
+
throw new globalObject.TypeError(
|
|
1554
|
+
"'set ariaRowCount' called on an object that is not a valid instance of ElementInternals."
|
|
1555
|
+
);
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
if (V === null || V === undefined) {
|
|
1559
|
+
V = null;
|
|
1560
|
+
} else {
|
|
1561
|
+
V = conversions["DOMString"](V, {
|
|
1562
|
+
context: "Failed to set the 'ariaRowCount' property on 'ElementInternals': The provided value",
|
|
1563
|
+
globals: globalObject
|
|
1564
|
+
});
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1568
|
+
try {
|
|
1569
|
+
if (V === null) {
|
|
1570
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-rowcount");
|
|
1571
|
+
} else {
|
|
1572
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-rowcount", V);
|
|
1573
|
+
}
|
|
1574
|
+
} finally {
|
|
1575
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
get ariaRowIndex() {
|
|
1580
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1581
|
+
|
|
1582
|
+
if (!exports.is(esValue)) {
|
|
1583
|
+
throw new globalObject.TypeError(
|
|
1584
|
+
"'get ariaRowIndex' called on an object that is not a valid instance of ElementInternals."
|
|
1585
|
+
);
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1589
|
+
try {
|
|
1590
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-rowindex");
|
|
1591
|
+
} finally {
|
|
1592
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
set ariaRowIndex(V) {
|
|
1597
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1598
|
+
|
|
1599
|
+
if (!exports.is(esValue)) {
|
|
1600
|
+
throw new globalObject.TypeError(
|
|
1601
|
+
"'set ariaRowIndex' called on an object that is not a valid instance of ElementInternals."
|
|
1602
|
+
);
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
if (V === null || V === undefined) {
|
|
1606
|
+
V = null;
|
|
1607
|
+
} else {
|
|
1608
|
+
V = conversions["DOMString"](V, {
|
|
1609
|
+
context: "Failed to set the 'ariaRowIndex' property on 'ElementInternals': The provided value",
|
|
1610
|
+
globals: globalObject
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1615
|
+
try {
|
|
1616
|
+
if (V === null) {
|
|
1617
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-rowindex");
|
|
1618
|
+
} else {
|
|
1619
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-rowindex", V);
|
|
1620
|
+
}
|
|
1621
|
+
} finally {
|
|
1622
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
get ariaRowIndexText() {
|
|
1627
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1628
|
+
|
|
1629
|
+
if (!exports.is(esValue)) {
|
|
1630
|
+
throw new globalObject.TypeError(
|
|
1631
|
+
"'get ariaRowIndexText' called on an object that is not a valid instance of ElementInternals."
|
|
1632
|
+
);
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1636
|
+
try {
|
|
1637
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-rowindextext");
|
|
1638
|
+
} finally {
|
|
1639
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
set ariaRowIndexText(V) {
|
|
1644
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1645
|
+
|
|
1646
|
+
if (!exports.is(esValue)) {
|
|
1647
|
+
throw new globalObject.TypeError(
|
|
1648
|
+
"'set ariaRowIndexText' called on an object that is not a valid instance of ElementInternals."
|
|
1649
|
+
);
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
if (V === null || V === undefined) {
|
|
1653
|
+
V = null;
|
|
1654
|
+
} else {
|
|
1655
|
+
V = conversions["DOMString"](V, {
|
|
1656
|
+
context: "Failed to set the 'ariaRowIndexText' property on 'ElementInternals': The provided value",
|
|
1657
|
+
globals: globalObject
|
|
1658
|
+
});
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1662
|
+
try {
|
|
1663
|
+
if (V === null) {
|
|
1664
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-rowindextext");
|
|
1665
|
+
} else {
|
|
1666
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-rowindextext", V);
|
|
1667
|
+
}
|
|
1668
|
+
} finally {
|
|
1669
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
get ariaRowSpan() {
|
|
1674
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1675
|
+
|
|
1676
|
+
if (!exports.is(esValue)) {
|
|
1677
|
+
throw new globalObject.TypeError(
|
|
1678
|
+
"'get ariaRowSpan' called on an object that is not a valid instance of ElementInternals."
|
|
1679
|
+
);
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1683
|
+
try {
|
|
1684
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-rowspan");
|
|
1685
|
+
} finally {
|
|
1686
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
set ariaRowSpan(V) {
|
|
1691
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1692
|
+
|
|
1693
|
+
if (!exports.is(esValue)) {
|
|
1694
|
+
throw new globalObject.TypeError(
|
|
1695
|
+
"'set ariaRowSpan' called on an object that is not a valid instance of ElementInternals."
|
|
1696
|
+
);
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
if (V === null || V === undefined) {
|
|
1700
|
+
V = null;
|
|
1701
|
+
} else {
|
|
1702
|
+
V = conversions["DOMString"](V, {
|
|
1703
|
+
context: "Failed to set the 'ariaRowSpan' property on 'ElementInternals': The provided value",
|
|
1704
|
+
globals: globalObject
|
|
1705
|
+
});
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1709
|
+
try {
|
|
1710
|
+
if (V === null) {
|
|
1711
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-rowspan");
|
|
1712
|
+
} else {
|
|
1713
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-rowspan", V);
|
|
1714
|
+
}
|
|
1715
|
+
} finally {
|
|
1716
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
get ariaSelected() {
|
|
1721
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1722
|
+
|
|
1723
|
+
if (!exports.is(esValue)) {
|
|
1724
|
+
throw new globalObject.TypeError(
|
|
1725
|
+
"'get ariaSelected' called on an object that is not a valid instance of ElementInternals."
|
|
1726
|
+
);
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1730
|
+
try {
|
|
1731
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-selected");
|
|
1732
|
+
} finally {
|
|
1733
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
set ariaSelected(V) {
|
|
1738
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1739
|
+
|
|
1740
|
+
if (!exports.is(esValue)) {
|
|
1741
|
+
throw new globalObject.TypeError(
|
|
1742
|
+
"'set ariaSelected' called on an object that is not a valid instance of ElementInternals."
|
|
1743
|
+
);
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
if (V === null || V === undefined) {
|
|
1747
|
+
V = null;
|
|
1748
|
+
} else {
|
|
1749
|
+
V = conversions["DOMString"](V, {
|
|
1750
|
+
context: "Failed to set the 'ariaSelected' property on 'ElementInternals': The provided value",
|
|
1751
|
+
globals: globalObject
|
|
1752
|
+
});
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1756
|
+
try {
|
|
1757
|
+
if (V === null) {
|
|
1758
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-selected");
|
|
1759
|
+
} else {
|
|
1760
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-selected", V);
|
|
1761
|
+
}
|
|
1762
|
+
} finally {
|
|
1763
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
get ariaSetSize() {
|
|
1768
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1769
|
+
|
|
1770
|
+
if (!exports.is(esValue)) {
|
|
1771
|
+
throw new globalObject.TypeError(
|
|
1772
|
+
"'get ariaSetSize' called on an object that is not a valid instance of ElementInternals."
|
|
1773
|
+
);
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1777
|
+
try {
|
|
1778
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-setsize");
|
|
1779
|
+
} finally {
|
|
1780
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
set ariaSetSize(V) {
|
|
1785
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1786
|
+
|
|
1787
|
+
if (!exports.is(esValue)) {
|
|
1788
|
+
throw new globalObject.TypeError(
|
|
1789
|
+
"'set ariaSetSize' called on an object that is not a valid instance of ElementInternals."
|
|
1790
|
+
);
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
if (V === null || V === undefined) {
|
|
1794
|
+
V = null;
|
|
1795
|
+
} else {
|
|
1796
|
+
V = conversions["DOMString"](V, {
|
|
1797
|
+
context: "Failed to set the 'ariaSetSize' property on 'ElementInternals': The provided value",
|
|
1798
|
+
globals: globalObject
|
|
1799
|
+
});
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1803
|
+
try {
|
|
1804
|
+
if (V === null) {
|
|
1805
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-setsize");
|
|
1806
|
+
} else {
|
|
1807
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-setsize", V);
|
|
1808
|
+
}
|
|
1809
|
+
} finally {
|
|
1810
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
get ariaSort() {
|
|
1815
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1816
|
+
|
|
1817
|
+
if (!exports.is(esValue)) {
|
|
1818
|
+
throw new globalObject.TypeError(
|
|
1819
|
+
"'get ariaSort' called on an object that is not a valid instance of ElementInternals."
|
|
1820
|
+
);
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1824
|
+
try {
|
|
1825
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-sort");
|
|
1826
|
+
} finally {
|
|
1827
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
set ariaSort(V) {
|
|
1832
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1833
|
+
|
|
1834
|
+
if (!exports.is(esValue)) {
|
|
1835
|
+
throw new globalObject.TypeError(
|
|
1836
|
+
"'set ariaSort' called on an object that is not a valid instance of ElementInternals."
|
|
1837
|
+
);
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
if (V === null || V === undefined) {
|
|
1841
|
+
V = null;
|
|
1842
|
+
} else {
|
|
1843
|
+
V = conversions["DOMString"](V, {
|
|
1844
|
+
context: "Failed to set the 'ariaSort' property on 'ElementInternals': The provided value",
|
|
1845
|
+
globals: globalObject
|
|
1846
|
+
});
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1850
|
+
try {
|
|
1851
|
+
if (V === null) {
|
|
1852
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-sort");
|
|
1853
|
+
} else {
|
|
1854
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-sort", V);
|
|
1855
|
+
}
|
|
1856
|
+
} finally {
|
|
1857
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
get ariaValueMax() {
|
|
1862
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1863
|
+
|
|
1864
|
+
if (!exports.is(esValue)) {
|
|
1865
|
+
throw new globalObject.TypeError(
|
|
1866
|
+
"'get ariaValueMax' called on an object that is not a valid instance of ElementInternals."
|
|
1867
|
+
);
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1871
|
+
try {
|
|
1872
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-valuemax");
|
|
1873
|
+
} finally {
|
|
1874
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
set ariaValueMax(V) {
|
|
1879
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1880
|
+
|
|
1881
|
+
if (!exports.is(esValue)) {
|
|
1882
|
+
throw new globalObject.TypeError(
|
|
1883
|
+
"'set ariaValueMax' called on an object that is not a valid instance of ElementInternals."
|
|
1884
|
+
);
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
if (V === null || V === undefined) {
|
|
1888
|
+
V = null;
|
|
1889
|
+
} else {
|
|
1890
|
+
V = conversions["DOMString"](V, {
|
|
1891
|
+
context: "Failed to set the 'ariaValueMax' property on 'ElementInternals': The provided value",
|
|
1892
|
+
globals: globalObject
|
|
1893
|
+
});
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1897
|
+
try {
|
|
1898
|
+
if (V === null) {
|
|
1899
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-valuemax");
|
|
1900
|
+
} else {
|
|
1901
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-valuemax", V);
|
|
1902
|
+
}
|
|
1903
|
+
} finally {
|
|
1904
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
get ariaValueMin() {
|
|
1909
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1910
|
+
|
|
1911
|
+
if (!exports.is(esValue)) {
|
|
1912
|
+
throw new globalObject.TypeError(
|
|
1913
|
+
"'get ariaValueMin' called on an object that is not a valid instance of ElementInternals."
|
|
1914
|
+
);
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1918
|
+
try {
|
|
1919
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-valuemin");
|
|
1920
|
+
} finally {
|
|
1921
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
set ariaValueMin(V) {
|
|
1926
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1927
|
+
|
|
1928
|
+
if (!exports.is(esValue)) {
|
|
1929
|
+
throw new globalObject.TypeError(
|
|
1930
|
+
"'set ariaValueMin' called on an object that is not a valid instance of ElementInternals."
|
|
1931
|
+
);
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
if (V === null || V === undefined) {
|
|
1935
|
+
V = null;
|
|
1936
|
+
} else {
|
|
1937
|
+
V = conversions["DOMString"](V, {
|
|
1938
|
+
context: "Failed to set the 'ariaValueMin' property on 'ElementInternals': The provided value",
|
|
1939
|
+
globals: globalObject
|
|
1940
|
+
});
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1944
|
+
try {
|
|
1945
|
+
if (V === null) {
|
|
1946
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-valuemin");
|
|
1947
|
+
} else {
|
|
1948
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-valuemin", V);
|
|
1949
|
+
}
|
|
1950
|
+
} finally {
|
|
1951
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
get ariaValueNow() {
|
|
1956
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1957
|
+
|
|
1958
|
+
if (!exports.is(esValue)) {
|
|
1959
|
+
throw new globalObject.TypeError(
|
|
1960
|
+
"'get ariaValueNow' called on an object that is not a valid instance of ElementInternals."
|
|
1961
|
+
);
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1965
|
+
try {
|
|
1966
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-valuenow");
|
|
1967
|
+
} finally {
|
|
1968
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
set ariaValueNow(V) {
|
|
1973
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1974
|
+
|
|
1975
|
+
if (!exports.is(esValue)) {
|
|
1976
|
+
throw new globalObject.TypeError(
|
|
1977
|
+
"'set ariaValueNow' called on an object that is not a valid instance of ElementInternals."
|
|
1978
|
+
);
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
if (V === null || V === undefined) {
|
|
1982
|
+
V = null;
|
|
1983
|
+
} else {
|
|
1984
|
+
V = conversions["DOMString"](V, {
|
|
1985
|
+
context: "Failed to set the 'ariaValueNow' property on 'ElementInternals': The provided value",
|
|
1986
|
+
globals: globalObject
|
|
1987
|
+
});
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1991
|
+
try {
|
|
1992
|
+
if (V === null) {
|
|
1993
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-valuenow");
|
|
1994
|
+
} else {
|
|
1995
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-valuenow", V);
|
|
1996
|
+
}
|
|
1997
|
+
} finally {
|
|
1998
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
get ariaValueText() {
|
|
2003
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
2004
|
+
|
|
2005
|
+
if (!exports.is(esValue)) {
|
|
2006
|
+
throw new globalObject.TypeError(
|
|
2007
|
+
"'get ariaValueText' called on an object that is not a valid instance of ElementInternals."
|
|
2008
|
+
);
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
2012
|
+
try {
|
|
2013
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-valuetext");
|
|
2014
|
+
} finally {
|
|
2015
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
set ariaValueText(V) {
|
|
2020
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
2021
|
+
|
|
2022
|
+
if (!exports.is(esValue)) {
|
|
2023
|
+
throw new globalObject.TypeError(
|
|
2024
|
+
"'set ariaValueText' called on an object that is not a valid instance of ElementInternals."
|
|
2025
|
+
);
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
if (V === null || V === undefined) {
|
|
2029
|
+
V = null;
|
|
2030
|
+
} else {
|
|
2031
|
+
V = conversions["DOMString"](V, {
|
|
2032
|
+
context: "Failed to set the 'ariaValueText' property on 'ElementInternals': The provided value",
|
|
2033
|
+
globals: globalObject
|
|
2034
|
+
});
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
2038
|
+
try {
|
|
2039
|
+
if (V === null) {
|
|
2040
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-valuetext");
|
|
2041
|
+
} else {
|
|
2042
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-valuetext", V);
|
|
2043
|
+
}
|
|
2044
|
+
} finally {
|
|
2045
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
get ariaRelevant() {
|
|
2050
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
2051
|
+
|
|
2052
|
+
if (!exports.is(esValue)) {
|
|
2053
|
+
throw new globalObject.TypeError(
|
|
2054
|
+
"'get ariaRelevant' called on an object that is not a valid instance of ElementInternals."
|
|
2055
|
+
);
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
2059
|
+
try {
|
|
2060
|
+
return esValue[implSymbol]._reflectGetTheContentAttribute("aria-relevant");
|
|
2061
|
+
} finally {
|
|
2062
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
set ariaRelevant(V) {
|
|
2067
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
2068
|
+
|
|
2069
|
+
if (!exports.is(esValue)) {
|
|
2070
|
+
throw new globalObject.TypeError(
|
|
2071
|
+
"'set ariaRelevant' called on an object that is not a valid instance of ElementInternals."
|
|
2072
|
+
);
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
if (V === null || V === undefined) {
|
|
2076
|
+
V = null;
|
|
2077
|
+
} else {
|
|
2078
|
+
V = conversions["DOMString"](V, {
|
|
2079
|
+
context: "Failed to set the 'ariaRelevant' property on 'ElementInternals': The provided value",
|
|
2080
|
+
globals: globalObject
|
|
2081
|
+
});
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
2085
|
+
try {
|
|
2086
|
+
if (V === null) {
|
|
2087
|
+
esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-relevant");
|
|
2088
|
+
} else {
|
|
2089
|
+
esValue[implSymbol]._reflectSetTheContentAttribute("aria-relevant", V);
|
|
2090
|
+
}
|
|
2091
|
+
} finally {
|
|
2092
|
+
ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
Object.defineProperties(ElementInternals.prototype, {
|
|
2097
|
+
shadowRoot: { enumerable: true },
|
|
2098
|
+
labels: { enumerable: true },
|
|
2099
|
+
role: { enumerable: true },
|
|
2100
|
+
ariaAtomic: { enumerable: true },
|
|
2101
|
+
ariaAutoComplete: { enumerable: true },
|
|
2102
|
+
ariaBusy: { enumerable: true },
|
|
2103
|
+
ariaChecked: { enumerable: true },
|
|
2104
|
+
ariaColCount: { enumerable: true },
|
|
2105
|
+
ariaColIndex: { enumerable: true },
|
|
2106
|
+
ariaColIndexText: { enumerable: true },
|
|
2107
|
+
ariaColSpan: { enumerable: true },
|
|
2108
|
+
ariaCurrent: { enumerable: true },
|
|
2109
|
+
ariaDescription: { enumerable: true },
|
|
2110
|
+
ariaDisabled: { enumerable: true },
|
|
2111
|
+
ariaExpanded: { enumerable: true },
|
|
2112
|
+
ariaHasPopup: { enumerable: true },
|
|
2113
|
+
ariaHidden: { enumerable: true },
|
|
2114
|
+
ariaInvalid: { enumerable: true },
|
|
2115
|
+
ariaKeyShortcuts: { enumerable: true },
|
|
2116
|
+
ariaLabel: { enumerable: true },
|
|
2117
|
+
ariaLevel: { enumerable: true },
|
|
2118
|
+
ariaLive: { enumerable: true },
|
|
2119
|
+
ariaModal: { enumerable: true },
|
|
2120
|
+
ariaMultiLine: { enumerable: true },
|
|
2121
|
+
ariaMultiSelectable: { enumerable: true },
|
|
2122
|
+
ariaOrientation: { enumerable: true },
|
|
2123
|
+
ariaPlaceholder: { enumerable: true },
|
|
2124
|
+
ariaPosInSet: { enumerable: true },
|
|
2125
|
+
ariaPressed: { enumerable: true },
|
|
2126
|
+
ariaReadOnly: { enumerable: true },
|
|
2127
|
+
ariaRequired: { enumerable: true },
|
|
2128
|
+
ariaRoleDescription: { enumerable: true },
|
|
2129
|
+
ariaRowCount: { enumerable: true },
|
|
2130
|
+
ariaRowIndex: { enumerable: true },
|
|
2131
|
+
ariaRowIndexText: { enumerable: true },
|
|
2132
|
+
ariaRowSpan: { enumerable: true },
|
|
2133
|
+
ariaSelected: { enumerable: true },
|
|
2134
|
+
ariaSetSize: { enumerable: true },
|
|
2135
|
+
ariaSort: { enumerable: true },
|
|
2136
|
+
ariaValueMax: { enumerable: true },
|
|
2137
|
+
ariaValueMin: { enumerable: true },
|
|
2138
|
+
ariaValueNow: { enumerable: true },
|
|
2139
|
+
ariaValueText: { enumerable: true },
|
|
2140
|
+
ariaRelevant: { enumerable: true },
|
|
2141
|
+
[Symbol.toStringTag]: { value: "ElementInternals", configurable: true }
|
|
2142
|
+
});
|
|
2143
|
+
ctorRegistry[interfaceName] = ElementInternals;
|
|
2144
|
+
|
|
2145
|
+
Object.defineProperty(globalObject, interfaceName, {
|
|
2146
|
+
configurable: true,
|
|
2147
|
+
writable: true,
|
|
2148
|
+
value: ElementInternals
|
|
2149
|
+
});
|
|
2150
|
+
};
|
|
2151
|
+
|
|
2152
|
+
const Impl = require("../../jsdom/living/custom-elements/ElementInternals-impl.js");
|