| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152 |
- "use strict";
- const conversions = require("webidl-conversions");
- const utils = require("./utils.js");
- const ceReactionsPreSteps_jsdom_living_helpers_custom_elements =
- require("../../jsdom/living/helpers/custom-elements.js").ceReactionsPreSteps;
- const ceReactionsPostSteps_jsdom_living_helpers_custom_elements =
- require("../../jsdom/living/helpers/custom-elements.js").ceReactionsPostSteps;
- const implSymbol = utils.implSymbol;
- const ctorRegistrySymbol = utils.ctorRegistrySymbol;
- const interfaceName = "ElementInternals";
- exports.is = value => {
- return utils.isObject(value) && Object.hasOwn(value, implSymbol) && value[implSymbol] instanceof Impl.implementation;
- };
- exports.isImpl = value => {
- return utils.isObject(value) && value instanceof Impl.implementation;
- };
- exports.convert = (globalObject, value, { context = "The provided value" } = {}) => {
- if (exports.is(value)) {
- return utils.implForWrapper(value);
- }
- throw new globalObject.TypeError(`${context} is not of type 'ElementInternals'.`);
- };
- function makeWrapper(globalObject, newTarget) {
- let proto;
- if (newTarget !== undefined) {
- proto = newTarget.prototype;
- }
- if (!utils.isObject(proto)) {
- proto = globalObject[ctorRegistrySymbol]["ElementInternals"].prototype;
- }
- return Object.create(proto);
- }
- exports.create = (globalObject, constructorArgs, privateData) => {
- const wrapper = makeWrapper(globalObject);
- return exports.setup(wrapper, globalObject, constructorArgs, privateData);
- };
- exports.createImpl = (globalObject, constructorArgs, privateData) => {
- const wrapper = exports.create(globalObject, constructorArgs, privateData);
- return utils.implForWrapper(wrapper);
- };
- exports._internalSetup = (wrapper, globalObject) => {};
- exports.setup = (wrapper, globalObject, constructorArgs = [], privateData = {}) => {
- privateData.wrapper = wrapper;
- exports._internalSetup(wrapper, globalObject);
- Object.defineProperty(wrapper, implSymbol, {
- value: new Impl.implementation(globalObject, constructorArgs, privateData),
- configurable: true
- });
- wrapper[implSymbol][utils.wrapperSymbol] = wrapper;
- if (Impl.init) {
- Impl.init(wrapper[implSymbol]);
- }
- return wrapper;
- };
- exports.new = (globalObject, newTarget) => {
- const wrapper = makeWrapper(globalObject, newTarget);
- exports._internalSetup(wrapper, globalObject);
- Object.defineProperty(wrapper, implSymbol, {
- value: Object.create(Impl.implementation.prototype),
- configurable: true
- });
- wrapper[implSymbol][utils.wrapperSymbol] = wrapper;
- if (Impl.init) {
- Impl.init(wrapper[implSymbol]);
- }
- return wrapper[implSymbol];
- };
- const exposed = new Set(["Window"]);
- exports.install = (globalObject, globalNames) => {
- if (!globalNames.some(globalName => exposed.has(globalName))) {
- return;
- }
- const ctorRegistry = utils.initCtorRegistry(globalObject);
- class ElementInternals {
- constructor() {
- throw new globalObject.TypeError("Illegal constructor");
- }
- get shadowRoot() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get shadowRoot' called on an object that is not a valid instance of ElementInternals."
- );
- }
- return utils.tryWrapperForImpl(esValue[implSymbol]["shadowRoot"]);
- }
- get labels() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get labels' called on an object that is not a valid instance of ElementInternals."
- );
- }
- return utils.tryWrapperForImpl(esValue[implSymbol]["labels"]);
- }
- get role() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get role' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("role");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set role(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set role' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'role' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("role");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("role", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaAtomic() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaAtomic' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-atomic");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaAtomic(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaAtomic' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaAtomic' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-atomic");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-atomic", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaAutoComplete() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaAutoComplete' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-autocomplete");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaAutoComplete(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaAutoComplete' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaAutoComplete' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-autocomplete");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-autocomplete", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaBusy() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaBusy' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-busy");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaBusy(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaBusy' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaBusy' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-busy");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-busy", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaChecked() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaChecked' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-checked");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaChecked(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaChecked' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaChecked' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-checked");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-checked", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaColCount() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaColCount' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-colcount");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaColCount(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaColCount' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaColCount' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-colcount");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-colcount", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaColIndex() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaColIndex' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-colindex");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaColIndex(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaColIndex' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaColIndex' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-colindex");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-colindex", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaColIndexText() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaColIndexText' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-colindextext");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaColIndexText(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaColIndexText' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaColIndexText' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-colindextext");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-colindextext", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaColSpan() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaColSpan' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-colspan");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaColSpan(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaColSpan' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaColSpan' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-colspan");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-colspan", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaCurrent() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaCurrent' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-current");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaCurrent(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaCurrent' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaCurrent' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-current");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-current", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaDescription() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaDescription' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-description");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaDescription(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaDescription' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaDescription' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-description");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-description", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaDisabled() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaDisabled' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-disabled");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaDisabled(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaDisabled' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaDisabled' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-disabled");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-disabled", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaExpanded() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaExpanded' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-expanded");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaExpanded(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaExpanded' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaExpanded' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-expanded");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-expanded", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaHasPopup() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaHasPopup' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-haspopup");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaHasPopup(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaHasPopup' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaHasPopup' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-haspopup");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-haspopup", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaHidden() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaHidden' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-hidden");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaHidden(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaHidden' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaHidden' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-hidden");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-hidden", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaInvalid() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaInvalid' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-invalid");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaInvalid(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaInvalid' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaInvalid' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-invalid");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-invalid", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaKeyShortcuts() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaKeyShortcuts' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-keyshortcuts");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaKeyShortcuts(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaKeyShortcuts' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaKeyShortcuts' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-keyshortcuts");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-keyshortcuts", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaLabel() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaLabel' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-label");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaLabel(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaLabel' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaLabel' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-label");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-label", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaLevel() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaLevel' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-level");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaLevel(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaLevel' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaLevel' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-level");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-level", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaLive() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaLive' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-live");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaLive(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaLive' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaLive' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-live");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-live", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaModal() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaModal' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-modal");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaModal(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaModal' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaModal' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-modal");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-modal", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaMultiLine() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaMultiLine' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-multiline");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaMultiLine(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaMultiLine' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaMultiLine' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-multiline");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-multiline", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaMultiSelectable() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaMultiSelectable' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-multiselectable");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaMultiSelectable(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaMultiSelectable' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaMultiSelectable' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-multiselectable");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-multiselectable", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaOrientation() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaOrientation' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-orientation");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaOrientation(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaOrientation' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaOrientation' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-orientation");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-orientation", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaPlaceholder() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaPlaceholder' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-placeholder");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaPlaceholder(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaPlaceholder' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaPlaceholder' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-placeholder");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-placeholder", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaPosInSet() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaPosInSet' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-posinset");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaPosInSet(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaPosInSet' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaPosInSet' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-posinset");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-posinset", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaPressed() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaPressed' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-pressed");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaPressed(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaPressed' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaPressed' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-pressed");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-pressed", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaReadOnly() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaReadOnly' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-readonly");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaReadOnly(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaReadOnly' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaReadOnly' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-readonly");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-readonly", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaRequired() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaRequired' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-required");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaRequired(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaRequired' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaRequired' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-required");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-required", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaRoleDescription() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaRoleDescription' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-roledescription");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaRoleDescription(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaRoleDescription' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaRoleDescription' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-roledescription");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-roledescription", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaRowCount() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaRowCount' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-rowcount");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaRowCount(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaRowCount' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaRowCount' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-rowcount");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-rowcount", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaRowIndex() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaRowIndex' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-rowindex");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaRowIndex(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaRowIndex' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaRowIndex' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-rowindex");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-rowindex", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaRowIndexText() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaRowIndexText' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-rowindextext");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaRowIndexText(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaRowIndexText' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaRowIndexText' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-rowindextext");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-rowindextext", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaRowSpan() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaRowSpan' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-rowspan");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaRowSpan(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaRowSpan' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaRowSpan' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-rowspan");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-rowspan", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaSelected() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaSelected' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-selected");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaSelected(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaSelected' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaSelected' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-selected");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-selected", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaSetSize() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaSetSize' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-setsize");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaSetSize(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaSetSize' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaSetSize' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-setsize");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-setsize", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaSort() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaSort' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-sort");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaSort(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaSort' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaSort' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-sort");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-sort", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaValueMax() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaValueMax' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-valuemax");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaValueMax(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaValueMax' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaValueMax' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-valuemax");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-valuemax", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaValueMin() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaValueMin' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-valuemin");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaValueMin(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaValueMin' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaValueMin' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-valuemin");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-valuemin", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaValueNow() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaValueNow' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-valuenow");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaValueNow(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaValueNow' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaValueNow' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-valuenow");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-valuenow", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaValueText() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaValueText' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-valuetext");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaValueText(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaValueText' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaValueText' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-valuetext");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-valuetext", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- get ariaRelevant() {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'get ariaRelevant' called on an object that is not a valid instance of ElementInternals."
- );
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- return esValue[implSymbol]._reflectGetTheContentAttribute("aria-relevant");
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- set ariaRelevant(V) {
- const esValue = this !== null && this !== undefined ? this : globalObject;
- if (!exports.is(esValue)) {
- throw new globalObject.TypeError(
- "'set ariaRelevant' called on an object that is not a valid instance of ElementInternals."
- );
- }
- if (V === null || V === undefined) {
- V = null;
- } else {
- V = conversions["DOMString"](V, {
- context: "Failed to set the 'ariaRelevant' property on 'ElementInternals': The provided value",
- globals: globalObject
- });
- }
- ceReactionsPreSteps_jsdom_living_helpers_custom_elements(globalObject);
- try {
- if (V === null) {
- esValue[implSymbol]._reflectDeleteTheContentAttribute("aria-relevant");
- } else {
- esValue[implSymbol]._reflectSetTheContentAttribute("aria-relevant", V);
- }
- } finally {
- ceReactionsPostSteps_jsdom_living_helpers_custom_elements(globalObject);
- }
- }
- }
- Object.defineProperties(ElementInternals.prototype, {
- shadowRoot: { enumerable: true },
- labels: { enumerable: true },
- role: { enumerable: true },
- ariaAtomic: { enumerable: true },
- ariaAutoComplete: { enumerable: true },
- ariaBusy: { enumerable: true },
- ariaChecked: { enumerable: true },
- ariaColCount: { enumerable: true },
- ariaColIndex: { enumerable: true },
- ariaColIndexText: { enumerable: true },
- ariaColSpan: { enumerable: true },
- ariaCurrent: { enumerable: true },
- ariaDescription: { enumerable: true },
- ariaDisabled: { enumerable: true },
- ariaExpanded: { enumerable: true },
- ariaHasPopup: { enumerable: true },
- ariaHidden: { enumerable: true },
- ariaInvalid: { enumerable: true },
- ariaKeyShortcuts: { enumerable: true },
- ariaLabel: { enumerable: true },
- ariaLevel: { enumerable: true },
- ariaLive: { enumerable: true },
- ariaModal: { enumerable: true },
- ariaMultiLine: { enumerable: true },
- ariaMultiSelectable: { enumerable: true },
- ariaOrientation: { enumerable: true },
- ariaPlaceholder: { enumerable: true },
- ariaPosInSet: { enumerable: true },
- ariaPressed: { enumerable: true },
- ariaReadOnly: { enumerable: true },
- ariaRequired: { enumerable: true },
- ariaRoleDescription: { enumerable: true },
- ariaRowCount: { enumerable: true },
- ariaRowIndex: { enumerable: true },
- ariaRowIndexText: { enumerable: true },
- ariaRowSpan: { enumerable: true },
- ariaSelected: { enumerable: true },
- ariaSetSize: { enumerable: true },
- ariaSort: { enumerable: true },
- ariaValueMax: { enumerable: true },
- ariaValueMin: { enumerable: true },
- ariaValueNow: { enumerable: true },
- ariaValueText: { enumerable: true },
- ariaRelevant: { enumerable: true },
- [Symbol.toStringTag]: { value: "ElementInternals", configurable: true }
- });
- ctorRegistry[interfaceName] = ElementInternals;
- Object.defineProperty(globalObject, interfaceName, {
- configurable: true,
- writable: true,
- value: ElementInternals
- });
- };
- const Impl = require("../../jsdom/living/custom-elements/ElementInternals-impl.js");
|