@zipify/wysiwyg 1.1.1 → 1.2.0
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/.release-it.json +2 -1
- package/config/build/lambda.config.js +39 -0
- package/dist/lambda-to-json.zip +0 -0
- package/lib/entry-lambda-to-json.js +8 -0
- package/node_modules_lambda/.bin/acorn +4 -0
- package/node_modules_lambda/.bin/escodegen +77 -0
- package/node_modules_lambda/.bin/esgenerate +64 -0
- package/node_modules_lambda/.bin/esparse +139 -0
- package/node_modules_lambda/.bin/esvalidate +236 -0
- package/node_modules_lambda/.package-lock.json +602 -0
- package/node_modules_lambda/@tootallnate/once/LICENSE +21 -0
- package/node_modules_lambda/@tootallnate/once/README.md +93 -0
- package/node_modules_lambda/@tootallnate/once/dist/index.d.ts +7 -0
- package/node_modules_lambda/@tootallnate/once/dist/index.js +24 -0
- package/node_modules_lambda/@tootallnate/once/dist/index.js.map +1 -0
- package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.d.ts +231 -0
- package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.js +3 -0
- package/node_modules_lambda/@tootallnate/once/dist/overloaded-parameters.js.map +1 -0
- package/node_modules_lambda/@tootallnate/once/dist/types.d.ts +17 -0
- package/node_modules_lambda/@tootallnate/once/dist/types.js +3 -0
- package/node_modules_lambda/@tootallnate/once/dist/types.js.map +1 -0
- package/node_modules_lambda/@tootallnate/once/package.json +52 -0
- package/node_modules_lambda/abab/LICENSE.md +13 -0
- package/node_modules_lambda/abab/README.md +51 -0
- package/node_modules_lambda/abab/index.d.ts +2 -0
- package/node_modules_lambda/abab/index.js +9 -0
- package/node_modules_lambda/abab/lib/atob.js +101 -0
- package/node_modules_lambda/abab/lib/btoa.js +62 -0
- package/node_modules_lambda/abab/package.json +42 -0
- package/node_modules_lambda/acorn/CHANGELOG.md +798 -0
- package/node_modules_lambda/acorn/LICENSE +21 -0
- package/node_modules_lambda/acorn/README.md +273 -0
- package/node_modules_lambda/acorn/bin/acorn +4 -0
- package/node_modules_lambda/acorn/dist/acorn.d.ts +252 -0
- package/node_modules_lambda/acorn/dist/acorn.js +5608 -0
- package/node_modules_lambda/acorn/dist/acorn.mjs +5577 -0
- package/node_modules_lambda/acorn/dist/acorn.mjs.d.ts +2 -0
- package/node_modules_lambda/acorn/dist/bin.js +91 -0
- package/node_modules_lambda/acorn/package.json +50 -0
- package/node_modules_lambda/acorn-globals/LICENSE +19 -0
- package/node_modules_lambda/acorn-globals/README.md +81 -0
- package/node_modules_lambda/acorn-globals/index.js +179 -0
- package/node_modules_lambda/acorn-globals/package.json +35 -0
- package/node_modules_lambda/acorn-walk/CHANGELOG.md +131 -0
- package/node_modules_lambda/acorn-walk/LICENSE +19 -0
- package/node_modules_lambda/acorn-walk/README.md +126 -0
- package/node_modules_lambda/acorn-walk/dist/walk.d.ts +112 -0
- package/node_modules_lambda/acorn-walk/dist/walk.js +463 -0
- package/node_modules_lambda/acorn-walk/dist/walk.js.map +1 -0
- package/node_modules_lambda/acorn-walk/dist/walk.mjs +443 -0
- package/node_modules_lambda/acorn-walk/dist/walk.mjs.map +1 -0
- package/node_modules_lambda/acorn-walk/package.json +34 -0
- package/node_modules_lambda/agent-base/README.md +145 -0
- package/node_modules_lambda/agent-base/dist/src/index.d.ts +78 -0
- package/node_modules_lambda/agent-base/dist/src/index.js +203 -0
- package/node_modules_lambda/agent-base/dist/src/index.js.map +1 -0
- package/node_modules_lambda/agent-base/dist/src/promisify.d.ts +4 -0
- package/node_modules_lambda/agent-base/dist/src/promisify.js +18 -0
- package/node_modules_lambda/agent-base/dist/src/promisify.js.map +1 -0
- package/node_modules_lambda/agent-base/package.json +64 -0
- package/node_modules_lambda/agent-base/src/index.ts +345 -0
- package/node_modules_lambda/agent-base/src/promisify.ts +33 -0
- package/node_modules_lambda/asynckit/LICENSE +21 -0
- package/node_modules_lambda/asynckit/README.md +233 -0
- package/node_modules_lambda/asynckit/bench.js +76 -0
- package/node_modules_lambda/asynckit/index.js +6 -0
- package/node_modules_lambda/asynckit/lib/abort.js +29 -0
- package/node_modules_lambda/asynckit/lib/async.js +34 -0
- package/node_modules_lambda/asynckit/lib/defer.js +26 -0
- package/node_modules_lambda/asynckit/lib/iterate.js +75 -0
- package/node_modules_lambda/asynckit/lib/readable_asynckit.js +91 -0
- package/node_modules_lambda/asynckit/lib/readable_parallel.js +25 -0
- package/node_modules_lambda/asynckit/lib/readable_serial.js +25 -0
- package/node_modules_lambda/asynckit/lib/readable_serial_ordered.js +29 -0
- package/node_modules_lambda/asynckit/lib/state.js +37 -0
- package/node_modules_lambda/asynckit/lib/streamify.js +141 -0
- package/node_modules_lambda/asynckit/lib/terminator.js +29 -0
- package/node_modules_lambda/asynckit/package.json +63 -0
- package/node_modules_lambda/asynckit/parallel.js +43 -0
- package/node_modules_lambda/asynckit/serial.js +17 -0
- package/node_modules_lambda/asynckit/serialOrdered.js +75 -0
- package/node_modules_lambda/asynckit/stream.js +21 -0
- package/node_modules_lambda/browser-process-hrtime/LICENSE +9 -0
- package/node_modules_lambda/browser-process-hrtime/README.md +27 -0
- package/node_modules_lambda/browser-process-hrtime/index.d.ts +4 -0
- package/node_modules_lambda/browser-process-hrtime/index.js +28 -0
- package/node_modules_lambda/browser-process-hrtime/package.json +15 -0
- package/node_modules_lambda/combined-stream/License +19 -0
- package/node_modules_lambda/combined-stream/Readme.md +138 -0
- package/node_modules_lambda/combined-stream/lib/combined_stream.js +208 -0
- package/node_modules_lambda/combined-stream/package.json +25 -0
- package/node_modules_lambda/combined-stream/yarn.lock +17 -0
- package/node_modules_lambda/cssom/LICENSE.txt +20 -0
- package/node_modules_lambda/cssom/README.mdown +67 -0
- package/node_modules_lambda/cssom/lib/CSSConditionRule.js +25 -0
- package/node_modules_lambda/cssom/lib/CSSDocumentRule.js +39 -0
- package/node_modules_lambda/cssom/lib/CSSFontFaceRule.js +36 -0
- package/node_modules_lambda/cssom/lib/CSSGroupingRule.js +68 -0
- package/node_modules_lambda/cssom/lib/CSSHostRule.js +37 -0
- package/node_modules_lambda/cssom/lib/CSSImportRule.js +132 -0
- package/node_modules_lambda/cssom/lib/CSSKeyframeRule.js +37 -0
- package/node_modules_lambda/cssom/lib/CSSKeyframesRule.js +39 -0
- package/node_modules_lambda/cssom/lib/CSSMediaRule.js +53 -0
- package/node_modules_lambda/cssom/lib/CSSOM.js +3 -0
- package/node_modules_lambda/cssom/lib/CSSRule.js +43 -0
- package/node_modules_lambda/cssom/lib/CSSStyleDeclaration.js +148 -0
- package/node_modules_lambda/cssom/lib/CSSStyleRule.js +190 -0
- package/node_modules_lambda/cssom/lib/CSSStyleSheet.js +88 -0
- package/node_modules_lambda/cssom/lib/CSSSupportsRule.js +36 -0
- package/node_modules_lambda/cssom/lib/CSSValue.js +43 -0
- package/node_modules_lambda/cssom/lib/CSSValueExpression.js +344 -0
- package/node_modules_lambda/cssom/lib/MatcherList.js +62 -0
- package/node_modules_lambda/cssom/lib/MediaList.js +61 -0
- package/node_modules_lambda/cssom/lib/StyleSheet.js +17 -0
- package/node_modules_lambda/cssom/lib/clone.js +74 -0
- package/node_modules_lambda/cssom/lib/index.js +23 -0
- package/node_modules_lambda/cssom/lib/parse.js +465 -0
- package/node_modules_lambda/cssom/package.json +18 -0
- package/node_modules_lambda/cssstyle/LICENSE +20 -0
- package/node_modules_lambda/cssstyle/README.md +15 -0
- package/node_modules_lambda/cssstyle/lib/CSSStyleDeclaration.js +260 -0
- package/node_modules_lambda/cssstyle/lib/CSSStyleDeclaration.test.js +556 -0
- package/node_modules_lambda/cssstyle/lib/allExtraProperties.js +67 -0
- package/node_modules_lambda/cssstyle/lib/allProperties.js +462 -0
- package/node_modules_lambda/cssstyle/lib/allWebkitProperties.js +194 -0
- package/node_modules_lambda/cssstyle/lib/constants.js +6 -0
- package/node_modules_lambda/cssstyle/lib/implementedProperties.js +90 -0
- package/node_modules_lambda/cssstyle/lib/named_colors.json +152 -0
- package/node_modules_lambda/cssstyle/lib/parsers.js +722 -0
- package/node_modules_lambda/cssstyle/lib/parsers.test.js +139 -0
- package/node_modules_lambda/cssstyle/lib/properties/azimuth.js +67 -0
- package/node_modules_lambda/cssstyle/lib/properties/background.js +19 -0
- package/node_modules_lambda/cssstyle/lib/properties/backgroundAttachment.js +24 -0
- package/node_modules_lambda/cssstyle/lib/properties/backgroundColor.js +36 -0
- package/node_modules_lambda/cssstyle/lib/properties/backgroundImage.js +32 -0
- package/node_modules_lambda/cssstyle/lib/properties/backgroundPosition.js +58 -0
- package/node_modules_lambda/cssstyle/lib/properties/backgroundRepeat.js +32 -0
- package/node_modules_lambda/cssstyle/lib/properties/border.js +33 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderBottom.js +17 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderBottomColor.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderBottomStyle.js +21 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderBottomWidth.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderCollapse.js +26 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderColor.js +30 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderLeft.js +17 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderLeftColor.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderLeftStyle.js +21 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderLeftWidth.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderRight.js +17 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderRightColor.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderRightStyle.js +21 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderRightWidth.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderSpacing.js +41 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderStyle.js +38 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderTop.js +17 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderTopColor.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderTopStyle.js +21 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderTopWidth.js +17 -0
- package/node_modules_lambda/cssstyle/lib/properties/borderWidth.js +46 -0
- package/node_modules_lambda/cssstyle/lib/properties/bottom.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/clear.js +16 -0
- package/node_modules_lambda/cssstyle/lib/properties/clip.js +47 -0
- package/node_modules_lambda/cssstyle/lib/properties/color.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/cssFloat.js +12 -0
- package/node_modules_lambda/cssstyle/lib/properties/flex.js +45 -0
- package/node_modules_lambda/cssstyle/lib/properties/flexBasis.js +28 -0
- package/node_modules_lambda/cssstyle/lib/properties/flexGrow.js +19 -0
- package/node_modules_lambda/cssstyle/lib/properties/flexShrink.js +19 -0
- package/node_modules_lambda/cssstyle/lib/properties/float.js +12 -0
- package/node_modules_lambda/cssstyle/lib/properties/floodColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/font.js +43 -0
- package/node_modules_lambda/cssstyle/lib/properties/fontFamily.js +33 -0
- package/node_modules_lambda/cssstyle/lib/properties/fontSize.js +38 -0
- package/node_modules_lambda/cssstyle/lib/properties/fontStyle.js +18 -0
- package/node_modules_lambda/cssstyle/lib/properties/fontVariant.js +18 -0
- package/node_modules_lambda/cssstyle/lib/properties/fontWeight.js +33 -0
- package/node_modules_lambda/cssstyle/lib/properties/height.js +24 -0
- package/node_modules_lambda/cssstyle/lib/properties/left.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/lightingColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/lineHeight.js +26 -0
- package/node_modules_lambda/cssstyle/lib/properties/margin.js +68 -0
- package/node_modules_lambda/cssstyle/lib/properties/marginBottom.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/marginLeft.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/marginRight.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/marginTop.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/opacity.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/outlineColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/padding.js +61 -0
- package/node_modules_lambda/cssstyle/lib/properties/paddingBottom.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/paddingLeft.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/paddingRight.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/paddingTop.js +13 -0
- package/node_modules_lambda/cssstyle/lib/properties/right.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/stopColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/textLineThroughColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/textOverlineColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/textUnderlineColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/top.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitBorderAfterColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitBorderBeforeColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitBorderEndColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitBorderStartColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitColumnRuleColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitMatchNearestMailBlockquoteColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitTapHighlightColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitTextEmphasisColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitTextFillColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/webkitTextStrokeColor.js +14 -0
- package/node_modules_lambda/cssstyle/lib/properties/width.js +24 -0
- package/node_modules_lambda/cssstyle/lib/properties.js +1833 -0
- package/node_modules_lambda/cssstyle/lib/utils/colorSpace.js +21 -0
- package/node_modules_lambda/cssstyle/lib/utils/getBasicPropertyDescriptor.js +14 -0
- package/node_modules_lambda/cssstyle/package.json +72 -0
- package/node_modules_lambda/data-urls/LICENSE.txt +7 -0
- package/node_modules_lambda/data-urls/README.md +62 -0
- package/node_modules_lambda/data-urls/lib/parser.js +69 -0
- package/node_modules_lambda/data-urls/lib/utils.js +18 -0
- package/node_modules_lambda/data-urls/package.json +54 -0
- package/node_modules_lambda/debug/LICENSE +20 -0
- package/node_modules_lambda/debug/README.md +481 -0
- package/node_modules_lambda/debug/package.json +59 -0
- package/node_modules_lambda/debug/src/browser.js +269 -0
- package/node_modules_lambda/debug/src/common.js +274 -0
- package/node_modules_lambda/debug/src/index.js +10 -0
- package/node_modules_lambda/debug/src/node.js +263 -0
- package/node_modules_lambda/decimal.js/CHANGELOG.md +231 -0
- package/node_modules_lambda/decimal.js/LICENCE.md +23 -0
- package/node_modules_lambda/decimal.js/README.md +246 -0
- package/node_modules_lambda/decimal.js/decimal.d.ts +300 -0
- package/node_modules_lambda/decimal.js/decimal.js +4934 -0
- package/node_modules_lambda/decimal.js/decimal.mjs +4898 -0
- package/node_modules_lambda/decimal.js/package.json +40 -0
- package/node_modules_lambda/deep-is/.travis.yml +5 -0
- package/node_modules_lambda/deep-is/LICENSE +22 -0
- package/node_modules_lambda/deep-is/README.markdown +70 -0
- package/node_modules_lambda/deep-is/example/cmp.js +11 -0
- package/node_modules_lambda/deep-is/index.js +102 -0
- package/node_modules_lambda/deep-is/package.json +58 -0
- package/node_modules_lambda/deep-is/test/NaN.js +16 -0
- package/node_modules_lambda/deep-is/test/cmp.js +23 -0
- package/node_modules_lambda/deep-is/test/neg-vs-pos-0.js +15 -0
- package/node_modules_lambda/delayed-stream/License +19 -0
- package/node_modules_lambda/delayed-stream/Makefile +7 -0
- package/node_modules_lambda/delayed-stream/Readme.md +141 -0
- package/node_modules_lambda/delayed-stream/lib/delayed_stream.js +107 -0
- package/node_modules_lambda/delayed-stream/package.json +27 -0
- package/node_modules_lambda/domexception/LICENSE.txt +21 -0
- package/node_modules_lambda/domexception/README.md +31 -0
- package/node_modules_lambda/domexception/index.js +7 -0
- package/node_modules_lambda/domexception/lib/DOMException-impl.js +22 -0
- package/node_modules_lambda/domexception/lib/DOMException.js +222 -0
- package/node_modules_lambda/domexception/lib/Function.js +42 -0
- package/node_modules_lambda/domexception/lib/VoidFunction.js +26 -0
- package/node_modules_lambda/domexception/lib/legacy-error-codes.json +24 -0
- package/node_modules_lambda/domexception/lib/utils.js +190 -0
- package/node_modules_lambda/domexception/package.json +42 -0
- package/node_modules_lambda/domexception/webidl2js-wrapper.js +15 -0
- package/node_modules_lambda/escodegen/LICENSE.BSD +21 -0
- package/node_modules_lambda/escodegen/README.md +84 -0
- package/node_modules_lambda/escodegen/bin/escodegen.js +77 -0
- package/node_modules_lambda/escodegen/bin/esgenerate.js +64 -0
- package/node_modules_lambda/escodegen/escodegen.js +2647 -0
- package/node_modules_lambda/escodegen/package.json +62 -0
- package/node_modules_lambda/esprima/ChangeLog +235 -0
- package/node_modules_lambda/esprima/LICENSE.BSD +21 -0
- package/node_modules_lambda/esprima/README.md +46 -0
- package/node_modules_lambda/esprima/bin/esparse.js +139 -0
- package/node_modules_lambda/esprima/bin/esvalidate.js +236 -0
- package/node_modules_lambda/esprima/dist/esprima.js +6709 -0
- package/node_modules_lambda/esprima/package.json +112 -0
- package/node_modules_lambda/esutils/LICENSE.BSD +19 -0
- package/node_modules_lambda/esutils/README.md +174 -0
- package/node_modules_lambda/esutils/lib/ast.js +144 -0
- package/node_modules_lambda/esutils/lib/code.js +135 -0
- package/node_modules_lambda/esutils/lib/keyword.js +165 -0
- package/node_modules_lambda/esutils/lib/utils.js +33 -0
- package/node_modules_lambda/esutils/package.json +44 -0
- package/node_modules_lambda/fast-levenshtein/LICENSE.md +25 -0
- package/node_modules_lambda/fast-levenshtein/README.md +104 -0
- package/node_modules_lambda/fast-levenshtein/levenshtein.js +136 -0
- package/node_modules_lambda/fast-levenshtein/package.json +39 -0
- package/node_modules_lambda/form-data/License +19 -0
- package/node_modules_lambda/form-data/README.md.bak +358 -0
- package/node_modules_lambda/form-data/Readme.md +358 -0
- package/node_modules_lambda/form-data/index.d.ts +62 -0
- package/node_modules_lambda/form-data/lib/browser.js +2 -0
- package/node_modules_lambda/form-data/lib/form_data.js +501 -0
- package/node_modules_lambda/form-data/lib/populate.js +10 -0
- package/node_modules_lambda/form-data/package.json +68 -0
- package/node_modules_lambda/html-encoding-sniffer/LICENSE.txt +7 -0
- package/node_modules_lambda/html-encoding-sniffer/README.md +40 -0
- package/node_modules_lambda/html-encoding-sniffer/lib/html-encoding-sniffer.js +295 -0
- package/node_modules_lambda/html-encoding-sniffer/package.json +31 -0
- package/node_modules_lambda/http-proxy-agent/README.md +74 -0
- package/node_modules_lambda/http-proxy-agent/dist/agent.d.ts +32 -0
- package/node_modules_lambda/http-proxy-agent/dist/agent.js +145 -0
- package/node_modules_lambda/http-proxy-agent/dist/agent.js.map +1 -0
- package/node_modules_lambda/http-proxy-agent/dist/index.d.ts +21 -0
- package/node_modules_lambda/http-proxy-agent/dist/index.js +14 -0
- package/node_modules_lambda/http-proxy-agent/dist/index.js.map +1 -0
- package/node_modules_lambda/http-proxy-agent/package.json +57 -0
- package/node_modules_lambda/https-proxy-agent/README.md +137 -0
- package/node_modules_lambda/https-proxy-agent/dist/agent.d.ts +30 -0
- package/node_modules_lambda/https-proxy-agent/dist/agent.js +177 -0
- package/node_modules_lambda/https-proxy-agent/dist/agent.js.map +1 -0
- package/node_modules_lambda/https-proxy-agent/dist/index.d.ts +23 -0
- package/node_modules_lambda/https-proxy-agent/dist/index.js +14 -0
- package/node_modules_lambda/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- package/node_modules_lambda/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules_lambda/https-proxy-agent/package.json +56 -0
- package/node_modules_lambda/is-potential-custom-element-name/LICENSE-MIT.txt +20 -0
- package/node_modules_lambda/is-potential-custom-element-name/README.md +40 -0
- package/node_modules_lambda/is-potential-custom-element-name/index.js +9 -0
- package/node_modules_lambda/is-potential-custom-element-name/package.json +35 -0
- package/node_modules_lambda/jsdom/LICENSE.txt +22 -0
- package/node_modules_lambda/jsdom/README.md +522 -0
- package/node_modules_lambda/jsdom/lib/api.js +333 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/Window.js +933 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/default-stylesheet.js +789 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/js-globals.json +307 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/not-implemented.js +13 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/html.js +224 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/index.js +37 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/parser/xml.js +202 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +114 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +8 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +95 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/request-manager.js +33 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/resource-loader.js +142 -0
- package/node_modules_lambda/jsdom/lib/jsdom/browser/resources/resource-queue.js +142 -0
- package/node_modules_lambda/jsdom/lib/jsdom/level2/style.js +57 -0
- package/node_modules_lambda/jsdom/lib/jsdom/level3/xpath.js +1874 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +17 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +69 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/attributes/Attr-impl.js +60 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +78 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/attributes.js +312 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +75 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +66 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +38 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +265 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/documents.js +15 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +58 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +29 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +18 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +63 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/domparsing/serialization.js +45 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +10 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +20 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +21 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/Event-impl.js +197 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +18 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/EventTarget-impl.js +405 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/InputEvent-impl.js +11 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +29 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +25 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +49 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +20 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +26 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/UIEvent-impl.js +59 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/Headers-impl.js +170 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/header-list.js +54 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/fetch/header-types.js +103 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/Blob-impl.js +93 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/File-impl.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/FileList-impl.js +15 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +130 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbortController.js +143 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbortSignal.js +184 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AbstractRange.js +171 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +44 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +28 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Attr.js +217 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BarProp.js +117 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BinaryType.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Blob.js +203 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BlobCallback.js +30 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +42 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CDATASection.js +109 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CharacterData.js +453 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CloseEvent.js +168 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CloseEventInit.js +65 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Comment.js +120 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CompositionEvent.js +219 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +32 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +34 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +242 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomEvent.js +206 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/CustomEventInit.js +32 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMImplementation.js +237 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMParser.js +140 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMStringMap.js +323 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DOMTokenList.js +563 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Document.js +3593 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentFragment.js +334 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/DocumentType.js +252 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Element.js +1718 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +26 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +29 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EndingType.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ErrorEvent.js +192 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +92 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Event.js +430 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +36 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventInit.js +58 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventListener.js +35 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +28 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventModifierInit.js +221 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/EventTarget.js +259 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/External.js +130 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/File.js +177 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FileList.js +324 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +33 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FileReader.js +468 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FocusEvent.js +144 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FocusEventInit.js +36 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/FormData.js +452 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Function.js +42 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +31 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +1023 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +822 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +110 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +193 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +877 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +522 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +304 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLCollection.js +378 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +125 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLElement.js +2549 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +371 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +329 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +236 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +501 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +494 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +708 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +320 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +110 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +670 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +870 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +1875 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +199 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +179 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +166 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +542 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +168 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +546 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +888 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +276 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +365 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLModElement.js +207 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +281 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +921 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +197 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +376 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +537 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +392 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +276 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +110 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +158 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +218 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +166 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +459 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +1013 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +192 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +330 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +110 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +207 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +700 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +364 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +799 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +414 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +346 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +123 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +1171 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +153 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +152 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +356 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +197 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +109 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +329 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +157 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +50 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Headers.js +408 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/History.js +266 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/InputEvent.js +168 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/InputEventInit.js +68 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +445 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +116 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Location.js +404 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MessageEvent.js +317 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MessageEventInit.js +100 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MimeType.js +156 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +352 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MouseEvent.js +499 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MouseEventInit.js +111 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationCallback.js +34 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationObserver.js +178 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +121 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/MutationRecord.js +229 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +553 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Navigator.js +326 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Node.js +763 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeFilter.js +75 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeIterator.js +207 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/NodeList.js +328 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +42 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +56 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +144 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +35 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Performance.js +142 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Plugin.js +385 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PluginArray.js +362 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PopStateEvent.js +144 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +32 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +122 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProgressEvent.js +170 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +65 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Range.js +641 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +149 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +64 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGElement.js +2227 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +139 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGNumber.js +132 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +737 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGStringList.js +537 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +109 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Screen.js +180 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +45 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollOptions.js +30 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Selection.js +569 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SelectionMode.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRoot.js +187 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +30 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StaticRange.js +123 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +72 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Storage.js +423 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StorageEvent.js +318 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StorageEventInit.js +99 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/StyleSheetList.js +326 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/SupportedType.js +18 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/Text.js +170 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TextTrackKind.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TouchEvent.js +222 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TouchEventInit.js +89 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/TreeWalker.js +255 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/UIEvent.js +235 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/UIEventInit.js +62 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/ValidityState.js +249 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/VisibilityState.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/VoidFunction.js +26 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WebSocket.js +476 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WheelEvent.js +191 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/WheelEventInit.js +71 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLDocument.js +109 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +655 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +334 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +14 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +109 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/XMLSerializer.js +132 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/generated/utils.js +190 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/agent-factory.js +15 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/binary-data.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/create-element.js +320 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +188 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/custom-elements.js +270 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/dates-and-times.js +270 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/details.js +15 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/document-base-url.js +54 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/events.js +24 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/focusing.js +104 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/form-controls.js +306 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/html-constructor.js +78 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/http-request.js +254 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/internal-constants.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +48 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/json.js +12 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/mutation-observers.js +198 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/namespaces.js +15 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/node.js +68 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +195 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/ordered-set.js +104 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/page-transition-event.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +76 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/selectors.js +47 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/shadow-dom.js +285 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/strings.js +148 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/style-rules.js +114 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/stylesheets.js +113 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +41 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/svg/render.js +46 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/text.js +19 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/traversal.js +72 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/helpers/validate-names.js +65 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +25 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/interfaces.js +217 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +95 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +37 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/named-properties-window.js +141 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +3 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +21 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +29 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +8 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +7 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +37 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +7 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +8 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +3 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +23 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/node-document-position.js +10 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/node-type.js +16 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/node.js +331 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +16 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +118 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +80 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Comment-impl.js +20 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +120 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +64 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +171 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Document-impl.js +946 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +44 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +28 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +24 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Element-impl.js +582 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +25 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +7 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +95 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +50 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +43 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +27 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +17 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +79 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +130 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +96 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +20 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +35 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +160 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +8 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +43 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +232 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +261 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +17 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +371 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +132 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +1129 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +94 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +18 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +101 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +13 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +138 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +180 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +22 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +26 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +146 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +110 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +85 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +88 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +74 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +265 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +283 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +59 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +8 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +74 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +73 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +236 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +88 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +61 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +67 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +272 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +18 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +13 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +17 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +2 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Node-impl.js +1159 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +43 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +28 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +11 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +91 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +22 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +64 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +16 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +42 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +42 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +40 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +48 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/Text-impl.js +96 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +52 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +4 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/post-message.js +39 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +43 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/range/Range-impl.js +897 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/range/StaticRange-impl.js +39 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/range/boundary-point.js +47 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/selection/Selection-impl.js +342 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +38 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGListBase.js +195 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +48 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +16 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +127 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +217 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/traversal/helpers.js +44 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/websockets/WebSocket-impl-browser.js +175 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +328 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +102 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/BarProp-impl.js +10 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/External-impl.js +9 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/History-impl.js +134 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/Location-impl.js +238 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/Screen-impl.js +13 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/SessionHistory.js +163 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/window/navigation.js +85 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/FormData-impl.js +171 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +1023 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +17 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +4 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +60 -0
- package/node_modules_lambda/jsdom/lib/jsdom/living/xhr/xhr-utils.js +438 -0
- package/node_modules_lambda/jsdom/lib/jsdom/named-properties-tracker.js +158 -0
- package/node_modules_lambda/jsdom/lib/jsdom/utils.js +165 -0
- package/node_modules_lambda/jsdom/lib/jsdom/virtual-console.js +34 -0
- package/node_modules_lambda/jsdom/lib/jsdom/vm-shim.js +106 -0
- package/node_modules_lambda/jsdom/package.json +116 -0
- package/node_modules_lambda/mime-db/HISTORY.md +507 -0
- package/node_modules_lambda/mime-db/LICENSE +23 -0
- package/node_modules_lambda/mime-db/README.md +100 -0
- package/node_modules_lambda/mime-db/db.json +8519 -0
- package/node_modules_lambda/mime-db/index.js +12 -0
- package/node_modules_lambda/mime-db/package.json +60 -0
- package/node_modules_lambda/mime-types/HISTORY.md +397 -0
- package/node_modules_lambda/mime-types/LICENSE +23 -0
- package/node_modules_lambda/mime-types/README.md +113 -0
- package/node_modules_lambda/mime-types/index.js +188 -0
- package/node_modules_lambda/mime-types/package.json +44 -0
- package/node_modules_lambda/ms/index.js +162 -0
- package/node_modules_lambda/ms/license.md +21 -0
- package/node_modules_lambda/ms/package.json +37 -0
- package/node_modules_lambda/ms/readme.md +60 -0
- package/node_modules_lambda/nwsapi/LICENSE +22 -0
- package/node_modules_lambda/nwsapi/README.md +132 -0
- package/node_modules_lambda/nwsapi/dist/lint.log +0 -0
- package/node_modules_lambda/nwsapi/package.json +38 -0
- package/node_modules_lambda/nwsapi/src/modules/nwsapi-jquery.js +135 -0
- package/node_modules_lambda/nwsapi/src/modules/nwsapi-traversal.js +90 -0
- package/node_modules_lambda/nwsapi/src/nwsapi.js +1800 -0
- package/node_modules_lambda/parse5/LICENSE +19 -0
- package/node_modules_lambda/parse5/README.md +38 -0
- package/node_modules_lambda/parse5/lib/common/doctype.js +162 -0
- package/node_modules_lambda/parse5/lib/common/error-codes.js +65 -0
- package/node_modules_lambda/parse5/lib/common/foreign-content.js +265 -0
- package/node_modules_lambda/parse5/lib/common/html.js +272 -0
- package/node_modules_lambda/parse5/lib/common/unicode.js +109 -0
- package/node_modules_lambda/parse5/lib/extensions/error-reporting/mixin-base.js +43 -0
- package/node_modules_lambda/parse5/lib/extensions/error-reporting/parser-mixin.js +52 -0
- package/node_modules_lambda/parse5/lib/extensions/error-reporting/preprocessor-mixin.js +24 -0
- package/node_modules_lambda/parse5/lib/extensions/error-reporting/tokenizer-mixin.js +17 -0
- package/node_modules_lambda/parse5/lib/extensions/location-info/open-element-stack-mixin.js +35 -0
- package/node_modules_lambda/parse5/lib/extensions/location-info/parser-mixin.js +223 -0
- package/node_modules_lambda/parse5/lib/extensions/location-info/tokenizer-mixin.js +146 -0
- package/node_modules_lambda/parse5/lib/extensions/position-tracking/preprocessor-mixin.js +64 -0
- package/node_modules_lambda/parse5/lib/index.js +29 -0
- package/node_modules_lambda/parse5/lib/parser/formatting-element-list.js +181 -0
- package/node_modules_lambda/parse5/lib/parser/index.js +2956 -0
- package/node_modules_lambda/parse5/lib/parser/open-element-stack.js +482 -0
- package/node_modules_lambda/parse5/lib/serializer/index.js +176 -0
- package/node_modules_lambda/parse5/lib/tokenizer/index.js +2196 -0
- package/node_modules_lambda/parse5/lib/tokenizer/named-entity-data.js +5 -0
- package/node_modules_lambda/parse5/lib/tokenizer/preprocessor.js +159 -0
- package/node_modules_lambda/parse5/lib/tree-adapters/default.js +221 -0
- package/node_modules_lambda/parse5/lib/utils/merge-options.js +13 -0
- package/node_modules_lambda/parse5/lib/utils/mixin.js +39 -0
- package/node_modules_lambda/parse5/package.json +35 -0
- package/node_modules_lambda/psl/LICENSE +9 -0
- package/node_modules_lambda/psl/README.md +215 -0
- package/node_modules_lambda/psl/browserstack-logo.svg +90 -0
- package/node_modules_lambda/psl/data/rules.json +8834 -0
- package/node_modules_lambda/psl/dist/psl.js +9645 -0
- package/node_modules_lambda/psl/dist/psl.min.js +1 -0
- package/node_modules_lambda/psl/index.js +269 -0
- package/node_modules_lambda/psl/package.json +44 -0
- package/node_modules_lambda/punycode/LICENSE-MIT.txt +20 -0
- package/node_modules_lambda/punycode/README.md +122 -0
- package/node_modules_lambda/punycode/package.json +58 -0
- package/node_modules_lambda/punycode/punycode.es6.js +441 -0
- package/node_modules_lambda/punycode/punycode.js +440 -0
- package/node_modules_lambda/safer-buffer/LICENSE +21 -0
- package/node_modules_lambda/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules_lambda/safer-buffer/Readme.md +156 -0
- package/node_modules_lambda/safer-buffer/dangerous.js +58 -0
- package/node_modules_lambda/safer-buffer/package.json +34 -0
- package/node_modules_lambda/safer-buffer/safer.js +77 -0
- package/node_modules_lambda/safer-buffer/tests.js +406 -0
- package/node_modules_lambda/saxes/README.md +323 -0
- package/node_modules_lambda/saxes/package.json +70 -0
- package/node_modules_lambda/saxes/saxes.d.ts +635 -0
- package/node_modules_lambda/saxes/saxes.js +2064 -0
- package/node_modules_lambda/saxes/saxes.js.map +1 -0
- package/node_modules_lambda/symbol-tree/LICENSE +21 -0
- package/node_modules_lambda/symbol-tree/README.md +545 -0
- package/node_modules_lambda/symbol-tree/lib/SymbolTree.js +838 -0
- package/node_modules_lambda/symbol-tree/lib/SymbolTreeNode.js +54 -0
- package/node_modules_lambda/symbol-tree/lib/TreeIterator.js +69 -0
- package/node_modules_lambda/symbol-tree/lib/TreePosition.js +11 -0
- package/node_modules_lambda/symbol-tree/package.json +47 -0
- package/node_modules_lambda/tough-cookie/LICENSE +12 -0
- package/node_modules_lambda/tough-cookie/README.md +582 -0
- package/node_modules_lambda/tough-cookie/lib/cookie.js +1671 -0
- package/node_modules_lambda/tough-cookie/lib/memstore.js +190 -0
- package/node_modules_lambda/tough-cookie/lib/pathMatch.js +61 -0
- package/node_modules_lambda/tough-cookie/lib/permuteDomain.js +70 -0
- package/node_modules_lambda/tough-cookie/lib/pubsuffix-psl.js +38 -0
- package/node_modules_lambda/tough-cookie/lib/store.js +76 -0
- package/node_modules_lambda/tough-cookie/lib/version.js +2 -0
- package/node_modules_lambda/tough-cookie/package.json +109 -0
- package/node_modules_lambda/tr46/LICENSE.md +21 -0
- package/node_modules_lambda/tr46/README.md +78 -0
- package/node_modules_lambda/tr46/index.js +298 -0
- package/node_modules_lambda/tr46/lib/mappingTable.json +1 -0
- package/node_modules_lambda/tr46/lib/regexes.js +29 -0
- package/node_modules_lambda/tr46/lib/statusMapping.js +11 -0
- package/node_modules_lambda/tr46/package.json +47 -0
- package/node_modules_lambda/universalify/LICENSE +20 -0
- package/node_modules_lambda/universalify/README.md +76 -0
- package/node_modules_lambda/universalify/index.js +25 -0
- package/node_modules_lambda/universalify/package.json +34 -0
- package/node_modules_lambda/w3c-hr-time/CHANGELOG.md +19 -0
- package/node_modules_lambda/w3c-hr-time/LICENSE.md +21 -0
- package/node_modules_lambda/w3c-hr-time/README.md +130 -0
- package/node_modules_lambda/w3c-hr-time/index.js +11 -0
- package/node_modules_lambda/w3c-hr-time/lib/calculate-clock-offset.js +39 -0
- package/node_modules_lambda/w3c-hr-time/lib/clock-is-accurate.js +61 -0
- package/node_modules_lambda/w3c-hr-time/lib/global-monotonic-clock.js +10 -0
- package/node_modules_lambda/w3c-hr-time/lib/performance.js +53 -0
- package/node_modules_lambda/w3c-hr-time/lib/utils.js +11 -0
- package/node_modules_lambda/w3c-hr-time/package.json +26 -0
- package/node_modules_lambda/w3c-xmlserializer/LICENSE.md +25 -0
- package/node_modules_lambda/w3c-xmlserializer/README.md +41 -0
- package/node_modules_lambda/w3c-xmlserializer/lib/attributes.js +125 -0
- package/node_modules_lambda/w3c-xmlserializer/lib/constants.js +44 -0
- package/node_modules_lambda/w3c-xmlserializer/lib/serialize.js +365 -0
- package/node_modules_lambda/w3c-xmlserializer/package.json +33 -0
- package/node_modules_lambda/webidl-conversions/LICENSE.md +12 -0
- package/node_modules_lambda/webidl-conversions/README.md +99 -0
- package/node_modules_lambda/webidl-conversions/lib/index.js +450 -0
- package/node_modules_lambda/webidl-conversions/package.json +35 -0
- package/node_modules_lambda/whatwg-encoding/LICENSE.txt +7 -0
- package/node_modules_lambda/whatwg-encoding/README.md +50 -0
- package/node_modules_lambda/whatwg-encoding/lib/labels-to-names.json +216 -0
- package/node_modules_lambda/whatwg-encoding/lib/supported-names.json +37 -0
- package/node_modules_lambda/whatwg-encoding/lib/whatwg-encoding.js +47 -0
- package/node_modules_lambda/whatwg-encoding/package.json +33 -0
- package/node_modules_lambda/whatwg-mimetype/LICENSE.txt +7 -0
- package/node_modules_lambda/whatwg-mimetype/README.md +101 -0
- package/node_modules_lambda/whatwg-mimetype/lib/mime-type-parameters.js +70 -0
- package/node_modules_lambda/whatwg-mimetype/lib/mime-type.js +127 -0
- package/node_modules_lambda/whatwg-mimetype/lib/parser.js +105 -0
- package/node_modules_lambda/whatwg-mimetype/lib/serializer.js +25 -0
- package/node_modules_lambda/whatwg-mimetype/lib/utils.js +60 -0
- package/node_modules_lambda/whatwg-mimetype/package.json +47 -0
- package/node_modules_lambda/whatwg-url/LICENSE.txt +21 -0
- package/node_modules_lambda/whatwg-url/README.md +105 -0
- package/node_modules_lambda/whatwg-url/index.js +25 -0
- package/node_modules_lambda/whatwg-url/lib/Function.js +42 -0
- package/node_modules_lambda/whatwg-url/lib/URL-impl.js +217 -0
- package/node_modules_lambda/whatwg-url/lib/URL.js +442 -0
- package/node_modules_lambda/whatwg-url/lib/URLSearchParams-impl.js +130 -0
- package/node_modules_lambda/whatwg-url/lib/URLSearchParams.js +472 -0
- package/node_modules_lambda/whatwg-url/lib/VoidFunction.js +26 -0
- package/node_modules_lambda/whatwg-url/lib/encoding.js +16 -0
- package/node_modules_lambda/whatwg-url/lib/infra.js +26 -0
- package/node_modules_lambda/whatwg-url/lib/percent-encoding.js +142 -0
- package/node_modules_lambda/whatwg-url/lib/url-state-machine.js +1234 -0
- package/node_modules_lambda/whatwg-url/lib/urlencoded.js +106 -0
- package/node_modules_lambda/whatwg-url/lib/utils.js +190 -0
- package/node_modules_lambda/whatwg-url/package.json +58 -0
- package/node_modules_lambda/whatwg-url/webidl2js-wrapper.js +7 -0
- package/node_modules_lambda/word-wrap/LICENSE +21 -0
- package/node_modules_lambda/word-wrap/README.md +182 -0
- package/node_modules_lambda/word-wrap/index.d.ts +50 -0
- package/node_modules_lambda/word-wrap/index.js +46 -0
- package/node_modules_lambda/word-wrap/package.json +77 -0
- package/node_modules_lambda/ws/LICENSE +19 -0
- package/node_modules_lambda/ws/README.md +495 -0
- package/node_modules_lambda/ws/browser.js +8 -0
- package/node_modules_lambda/ws/index.js +13 -0
- package/node_modules_lambda/ws/lib/buffer-util.js +127 -0
- package/node_modules_lambda/ws/lib/constants.js +12 -0
- package/node_modules_lambda/ws/lib/event-target.js +266 -0
- package/node_modules_lambda/ws/lib/extension.js +203 -0
- package/node_modules_lambda/ws/lib/limiter.js +55 -0
- package/node_modules_lambda/ws/lib/permessage-deflate.js +511 -0
- package/node_modules_lambda/ws/lib/receiver.js +618 -0
- package/node_modules_lambda/ws/lib/sender.js +478 -0
- package/node_modules_lambda/ws/lib/stream.js +159 -0
- package/node_modules_lambda/ws/lib/subprotocol.js +62 -0
- package/node_modules_lambda/ws/lib/validation.js +125 -0
- package/node_modules_lambda/ws/lib/websocket-server.js +535 -0
- package/node_modules_lambda/ws/lib/websocket.js +1296 -0
- package/node_modules_lambda/ws/package.json +61 -0
- package/node_modules_lambda/ws/wrapper.mjs +8 -0
- package/node_modules_lambda/xml-name-validator/LICENSE.txt +176 -0
- package/node_modules_lambda/xml-name-validator/README.md +35 -0
- package/node_modules_lambda/xml-name-validator/lib/xml-name-validator.js +9 -0
- package/node_modules_lambda/xml-name-validator/package.json +30 -0
- package/node_modules_lambda/xmlchars/LICENSE +18 -0
- package/node_modules_lambda/xmlchars/README.md +33 -0
- package/node_modules_lambda/xmlchars/package.json +51 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed4.d.ts +31 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed4.js +44 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed4.js.map +1 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed5.d.ts +51 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed5.js +105 -0
- package/node_modules_lambda/xmlchars/xml/1.0/ed5.js.map +1 -0
- package/node_modules_lambda/xmlchars/xml/1.1/ed2.d.ts +73 -0
- package/node_modules_lambda/xmlchars/xml/1.1/ed2.js +145 -0
- package/node_modules_lambda/xmlchars/xml/1.1/ed2.js.map +1 -0
- package/node_modules_lambda/xmlchars/xmlchars.d.ts +170 -0
- package/node_modules_lambda/xmlchars/xmlchars.js +191 -0
- package/node_modules_lambda/xmlchars/xmlchars.js.map +1 -0
- package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
- package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.js +65 -0
- package/node_modules_lambda/xmlchars/xmlns/1.0/ed3.js.map +1 -0
- package/package.json +8 -3
|
@@ -0,0 +1,1718 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const conversions = require("webidl-conversions");
|
|
4
|
+
const utils = require("./utils.js");
|
|
5
|
+
|
|
6
|
+
const ceReactionsPreSteps_helpers_custom_elements = require("../helpers/custom-elements.js").ceReactionsPreSteps;
|
|
7
|
+
const ceReactionsPostSteps_helpers_custom_elements = require("../helpers/custom-elements.js").ceReactionsPostSteps;
|
|
8
|
+
const Attr = require("./Attr.js");
|
|
9
|
+
const ShadowRootInit = require("./ShadowRootInit.js");
|
|
10
|
+
const Node = require("./Node.js");
|
|
11
|
+
const implSymbol = utils.implSymbol;
|
|
12
|
+
const ctorRegistrySymbol = utils.ctorRegistrySymbol;
|
|
13
|
+
|
|
14
|
+
const interfaceName = "Element";
|
|
15
|
+
|
|
16
|
+
exports.is = value => {
|
|
17
|
+
return utils.isObject(value) && utils.hasOwn(value, implSymbol) && value[implSymbol] instanceof Impl.implementation;
|
|
18
|
+
};
|
|
19
|
+
exports.isImpl = value => {
|
|
20
|
+
return utils.isObject(value) && value instanceof Impl.implementation;
|
|
21
|
+
};
|
|
22
|
+
exports.convert = (globalObject, value, { context = "The provided value" } = {}) => {
|
|
23
|
+
if (exports.is(value)) {
|
|
24
|
+
return utils.implForWrapper(value);
|
|
25
|
+
}
|
|
26
|
+
throw new globalObject.TypeError(`${context} is not of type 'Element'.`);
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
function makeWrapper(globalObject, newTarget) {
|
|
30
|
+
let proto;
|
|
31
|
+
if (newTarget !== undefined) {
|
|
32
|
+
proto = newTarget.prototype;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
if (!utils.isObject(proto)) {
|
|
36
|
+
proto = globalObject[ctorRegistrySymbol]["Element"].prototype;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
return Object.create(proto);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
exports.create = (globalObject, constructorArgs, privateData) => {
|
|
43
|
+
const wrapper = makeWrapper(globalObject);
|
|
44
|
+
return exports.setup(wrapper, globalObject, constructorArgs, privateData);
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
exports.createImpl = (globalObject, constructorArgs, privateData) => {
|
|
48
|
+
const wrapper = exports.create(globalObject, constructorArgs, privateData);
|
|
49
|
+
return utils.implForWrapper(wrapper);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
exports._internalSetup = (wrapper, globalObject) => {
|
|
53
|
+
Node._internalSetup(wrapper, globalObject);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
exports.setup = (wrapper, globalObject, constructorArgs = [], privateData = {}) => {
|
|
57
|
+
privateData.wrapper = wrapper;
|
|
58
|
+
|
|
59
|
+
exports._internalSetup(wrapper, globalObject);
|
|
60
|
+
Object.defineProperty(wrapper, implSymbol, {
|
|
61
|
+
value: new Impl.implementation(globalObject, constructorArgs, privateData),
|
|
62
|
+
configurable: true
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
wrapper[implSymbol][utils.wrapperSymbol] = wrapper;
|
|
66
|
+
if (Impl.init) {
|
|
67
|
+
Impl.init(wrapper[implSymbol]);
|
|
68
|
+
}
|
|
69
|
+
return wrapper;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
exports.new = (globalObject, newTarget) => {
|
|
73
|
+
const wrapper = makeWrapper(globalObject, newTarget);
|
|
74
|
+
|
|
75
|
+
exports._internalSetup(wrapper, globalObject);
|
|
76
|
+
Object.defineProperty(wrapper, implSymbol, {
|
|
77
|
+
value: Object.create(Impl.implementation.prototype),
|
|
78
|
+
configurable: true
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
wrapper[implSymbol][utils.wrapperSymbol] = wrapper;
|
|
82
|
+
if (Impl.init) {
|
|
83
|
+
Impl.init(wrapper[implSymbol]);
|
|
84
|
+
}
|
|
85
|
+
return wrapper[implSymbol];
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
const exposed = new Set(["Window"]);
|
|
89
|
+
|
|
90
|
+
exports.install = (globalObject, globalNames) => {
|
|
91
|
+
if (!globalNames.some(globalName => exposed.has(globalName))) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
const ctorRegistry = utils.initCtorRegistry(globalObject);
|
|
96
|
+
class Element extends globalObject.Node {
|
|
97
|
+
constructor() {
|
|
98
|
+
throw new globalObject.TypeError("Illegal constructor");
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
hasAttributes() {
|
|
102
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
103
|
+
if (!exports.is(esValue)) {
|
|
104
|
+
throw new globalObject.TypeError(
|
|
105
|
+
"'hasAttributes' called on an object that is not a valid instance of Element."
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return esValue[implSymbol].hasAttributes();
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
getAttributeNames() {
|
|
113
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
114
|
+
if (!exports.is(esValue)) {
|
|
115
|
+
throw new globalObject.TypeError(
|
|
116
|
+
"'getAttributeNames' called on an object that is not a valid instance of Element."
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].getAttributeNames());
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
getAttribute(qualifiedName) {
|
|
124
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
125
|
+
if (!exports.is(esValue)) {
|
|
126
|
+
throw new globalObject.TypeError("'getAttribute' called on an object that is not a valid instance of Element.");
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (arguments.length < 1) {
|
|
130
|
+
throw new globalObject.TypeError(
|
|
131
|
+
`Failed to execute 'getAttribute' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
const args = [];
|
|
135
|
+
{
|
|
136
|
+
let curArg = arguments[0];
|
|
137
|
+
curArg = conversions["DOMString"](curArg, {
|
|
138
|
+
context: "Failed to execute 'getAttribute' on 'Element': parameter 1",
|
|
139
|
+
globals: globalObject
|
|
140
|
+
});
|
|
141
|
+
args.push(curArg);
|
|
142
|
+
}
|
|
143
|
+
return esValue[implSymbol].getAttribute(...args);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
getAttributeNS(namespace, localName) {
|
|
147
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
148
|
+
if (!exports.is(esValue)) {
|
|
149
|
+
throw new globalObject.TypeError(
|
|
150
|
+
"'getAttributeNS' called on an object that is not a valid instance of Element."
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
if (arguments.length < 2) {
|
|
155
|
+
throw new globalObject.TypeError(
|
|
156
|
+
`Failed to execute 'getAttributeNS' on 'Element': 2 arguments required, but only ${arguments.length} present.`
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
const args = [];
|
|
160
|
+
{
|
|
161
|
+
let curArg = arguments[0];
|
|
162
|
+
if (curArg === null || curArg === undefined) {
|
|
163
|
+
curArg = null;
|
|
164
|
+
} else {
|
|
165
|
+
curArg = conversions["DOMString"](curArg, {
|
|
166
|
+
context: "Failed to execute 'getAttributeNS' on 'Element': parameter 1",
|
|
167
|
+
globals: globalObject
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
args.push(curArg);
|
|
171
|
+
}
|
|
172
|
+
{
|
|
173
|
+
let curArg = arguments[1];
|
|
174
|
+
curArg = conversions["DOMString"](curArg, {
|
|
175
|
+
context: "Failed to execute 'getAttributeNS' on 'Element': parameter 2",
|
|
176
|
+
globals: globalObject
|
|
177
|
+
});
|
|
178
|
+
args.push(curArg);
|
|
179
|
+
}
|
|
180
|
+
return esValue[implSymbol].getAttributeNS(...args);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
setAttribute(qualifiedName, value) {
|
|
184
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
185
|
+
if (!exports.is(esValue)) {
|
|
186
|
+
throw new globalObject.TypeError("'setAttribute' called on an object that is not a valid instance of Element.");
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
if (arguments.length < 2) {
|
|
190
|
+
throw new globalObject.TypeError(
|
|
191
|
+
`Failed to execute 'setAttribute' on 'Element': 2 arguments required, but only ${arguments.length} present.`
|
|
192
|
+
);
|
|
193
|
+
}
|
|
194
|
+
const args = [];
|
|
195
|
+
{
|
|
196
|
+
let curArg = arguments[0];
|
|
197
|
+
curArg = conversions["DOMString"](curArg, {
|
|
198
|
+
context: "Failed to execute 'setAttribute' on 'Element': parameter 1",
|
|
199
|
+
globals: globalObject
|
|
200
|
+
});
|
|
201
|
+
args.push(curArg);
|
|
202
|
+
}
|
|
203
|
+
{
|
|
204
|
+
let curArg = arguments[1];
|
|
205
|
+
curArg = conversions["DOMString"](curArg, {
|
|
206
|
+
context: "Failed to execute 'setAttribute' on 'Element': parameter 2",
|
|
207
|
+
globals: globalObject
|
|
208
|
+
});
|
|
209
|
+
args.push(curArg);
|
|
210
|
+
}
|
|
211
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
212
|
+
try {
|
|
213
|
+
return esValue[implSymbol].setAttribute(...args);
|
|
214
|
+
} finally {
|
|
215
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
setAttributeNS(namespace, qualifiedName, value) {
|
|
220
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
221
|
+
if (!exports.is(esValue)) {
|
|
222
|
+
throw new globalObject.TypeError(
|
|
223
|
+
"'setAttributeNS' called on an object that is not a valid instance of Element."
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
if (arguments.length < 3) {
|
|
228
|
+
throw new globalObject.TypeError(
|
|
229
|
+
`Failed to execute 'setAttributeNS' on 'Element': 3 arguments required, but only ${arguments.length} present.`
|
|
230
|
+
);
|
|
231
|
+
}
|
|
232
|
+
const args = [];
|
|
233
|
+
{
|
|
234
|
+
let curArg = arguments[0];
|
|
235
|
+
if (curArg === null || curArg === undefined) {
|
|
236
|
+
curArg = null;
|
|
237
|
+
} else {
|
|
238
|
+
curArg = conversions["DOMString"](curArg, {
|
|
239
|
+
context: "Failed to execute 'setAttributeNS' on 'Element': parameter 1",
|
|
240
|
+
globals: globalObject
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
args.push(curArg);
|
|
244
|
+
}
|
|
245
|
+
{
|
|
246
|
+
let curArg = arguments[1];
|
|
247
|
+
curArg = conversions["DOMString"](curArg, {
|
|
248
|
+
context: "Failed to execute 'setAttributeNS' on 'Element': parameter 2",
|
|
249
|
+
globals: globalObject
|
|
250
|
+
});
|
|
251
|
+
args.push(curArg);
|
|
252
|
+
}
|
|
253
|
+
{
|
|
254
|
+
let curArg = arguments[2];
|
|
255
|
+
curArg = conversions["DOMString"](curArg, {
|
|
256
|
+
context: "Failed to execute 'setAttributeNS' on 'Element': parameter 3",
|
|
257
|
+
globals: globalObject
|
|
258
|
+
});
|
|
259
|
+
args.push(curArg);
|
|
260
|
+
}
|
|
261
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
262
|
+
try {
|
|
263
|
+
return esValue[implSymbol].setAttributeNS(...args);
|
|
264
|
+
} finally {
|
|
265
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
removeAttribute(qualifiedName) {
|
|
270
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
271
|
+
if (!exports.is(esValue)) {
|
|
272
|
+
throw new globalObject.TypeError(
|
|
273
|
+
"'removeAttribute' called on an object that is not a valid instance of Element."
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
if (arguments.length < 1) {
|
|
278
|
+
throw new globalObject.TypeError(
|
|
279
|
+
`Failed to execute 'removeAttribute' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
280
|
+
);
|
|
281
|
+
}
|
|
282
|
+
const args = [];
|
|
283
|
+
{
|
|
284
|
+
let curArg = arguments[0];
|
|
285
|
+
curArg = conversions["DOMString"](curArg, {
|
|
286
|
+
context: "Failed to execute 'removeAttribute' on 'Element': parameter 1",
|
|
287
|
+
globals: globalObject
|
|
288
|
+
});
|
|
289
|
+
args.push(curArg);
|
|
290
|
+
}
|
|
291
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
292
|
+
try {
|
|
293
|
+
return esValue[implSymbol].removeAttribute(...args);
|
|
294
|
+
} finally {
|
|
295
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
removeAttributeNS(namespace, localName) {
|
|
300
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
301
|
+
if (!exports.is(esValue)) {
|
|
302
|
+
throw new globalObject.TypeError(
|
|
303
|
+
"'removeAttributeNS' called on an object that is not a valid instance of Element."
|
|
304
|
+
);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
if (arguments.length < 2) {
|
|
308
|
+
throw new globalObject.TypeError(
|
|
309
|
+
`Failed to execute 'removeAttributeNS' on 'Element': 2 arguments required, but only ${arguments.length} present.`
|
|
310
|
+
);
|
|
311
|
+
}
|
|
312
|
+
const args = [];
|
|
313
|
+
{
|
|
314
|
+
let curArg = arguments[0];
|
|
315
|
+
if (curArg === null || curArg === undefined) {
|
|
316
|
+
curArg = null;
|
|
317
|
+
} else {
|
|
318
|
+
curArg = conversions["DOMString"](curArg, {
|
|
319
|
+
context: "Failed to execute 'removeAttributeNS' on 'Element': parameter 1",
|
|
320
|
+
globals: globalObject
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
args.push(curArg);
|
|
324
|
+
}
|
|
325
|
+
{
|
|
326
|
+
let curArg = arguments[1];
|
|
327
|
+
curArg = conversions["DOMString"](curArg, {
|
|
328
|
+
context: "Failed to execute 'removeAttributeNS' on 'Element': parameter 2",
|
|
329
|
+
globals: globalObject
|
|
330
|
+
});
|
|
331
|
+
args.push(curArg);
|
|
332
|
+
}
|
|
333
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
334
|
+
try {
|
|
335
|
+
return esValue[implSymbol].removeAttributeNS(...args);
|
|
336
|
+
} finally {
|
|
337
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
toggleAttribute(qualifiedName) {
|
|
342
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
343
|
+
if (!exports.is(esValue)) {
|
|
344
|
+
throw new globalObject.TypeError(
|
|
345
|
+
"'toggleAttribute' called on an object that is not a valid instance of Element."
|
|
346
|
+
);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
if (arguments.length < 1) {
|
|
350
|
+
throw new globalObject.TypeError(
|
|
351
|
+
`Failed to execute 'toggleAttribute' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
352
|
+
);
|
|
353
|
+
}
|
|
354
|
+
const args = [];
|
|
355
|
+
{
|
|
356
|
+
let curArg = arguments[0];
|
|
357
|
+
curArg = conversions["DOMString"](curArg, {
|
|
358
|
+
context: "Failed to execute 'toggleAttribute' on 'Element': parameter 1",
|
|
359
|
+
globals: globalObject
|
|
360
|
+
});
|
|
361
|
+
args.push(curArg);
|
|
362
|
+
}
|
|
363
|
+
{
|
|
364
|
+
let curArg = arguments[1];
|
|
365
|
+
if (curArg !== undefined) {
|
|
366
|
+
curArg = conversions["boolean"](curArg, {
|
|
367
|
+
context: "Failed to execute 'toggleAttribute' on 'Element': parameter 2",
|
|
368
|
+
globals: globalObject
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
args.push(curArg);
|
|
372
|
+
}
|
|
373
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
374
|
+
try {
|
|
375
|
+
return esValue[implSymbol].toggleAttribute(...args);
|
|
376
|
+
} finally {
|
|
377
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
hasAttribute(qualifiedName) {
|
|
382
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
383
|
+
if (!exports.is(esValue)) {
|
|
384
|
+
throw new globalObject.TypeError("'hasAttribute' called on an object that is not a valid instance of Element.");
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
if (arguments.length < 1) {
|
|
388
|
+
throw new globalObject.TypeError(
|
|
389
|
+
`Failed to execute 'hasAttribute' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
390
|
+
);
|
|
391
|
+
}
|
|
392
|
+
const args = [];
|
|
393
|
+
{
|
|
394
|
+
let curArg = arguments[0];
|
|
395
|
+
curArg = conversions["DOMString"](curArg, {
|
|
396
|
+
context: "Failed to execute 'hasAttribute' on 'Element': parameter 1",
|
|
397
|
+
globals: globalObject
|
|
398
|
+
});
|
|
399
|
+
args.push(curArg);
|
|
400
|
+
}
|
|
401
|
+
return esValue[implSymbol].hasAttribute(...args);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
hasAttributeNS(namespace, localName) {
|
|
405
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
406
|
+
if (!exports.is(esValue)) {
|
|
407
|
+
throw new globalObject.TypeError(
|
|
408
|
+
"'hasAttributeNS' called on an object that is not a valid instance of Element."
|
|
409
|
+
);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
if (arguments.length < 2) {
|
|
413
|
+
throw new globalObject.TypeError(
|
|
414
|
+
`Failed to execute 'hasAttributeNS' on 'Element': 2 arguments required, but only ${arguments.length} present.`
|
|
415
|
+
);
|
|
416
|
+
}
|
|
417
|
+
const args = [];
|
|
418
|
+
{
|
|
419
|
+
let curArg = arguments[0];
|
|
420
|
+
if (curArg === null || curArg === undefined) {
|
|
421
|
+
curArg = null;
|
|
422
|
+
} else {
|
|
423
|
+
curArg = conversions["DOMString"](curArg, {
|
|
424
|
+
context: "Failed to execute 'hasAttributeNS' on 'Element': parameter 1",
|
|
425
|
+
globals: globalObject
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
args.push(curArg);
|
|
429
|
+
}
|
|
430
|
+
{
|
|
431
|
+
let curArg = arguments[1];
|
|
432
|
+
curArg = conversions["DOMString"](curArg, {
|
|
433
|
+
context: "Failed to execute 'hasAttributeNS' on 'Element': parameter 2",
|
|
434
|
+
globals: globalObject
|
|
435
|
+
});
|
|
436
|
+
args.push(curArg);
|
|
437
|
+
}
|
|
438
|
+
return esValue[implSymbol].hasAttributeNS(...args);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
getAttributeNode(qualifiedName) {
|
|
442
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
443
|
+
if (!exports.is(esValue)) {
|
|
444
|
+
throw new globalObject.TypeError(
|
|
445
|
+
"'getAttributeNode' called on an object that is not a valid instance of Element."
|
|
446
|
+
);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
if (arguments.length < 1) {
|
|
450
|
+
throw new globalObject.TypeError(
|
|
451
|
+
`Failed to execute 'getAttributeNode' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
452
|
+
);
|
|
453
|
+
}
|
|
454
|
+
const args = [];
|
|
455
|
+
{
|
|
456
|
+
let curArg = arguments[0];
|
|
457
|
+
curArg = conversions["DOMString"](curArg, {
|
|
458
|
+
context: "Failed to execute 'getAttributeNode' on 'Element': parameter 1",
|
|
459
|
+
globals: globalObject
|
|
460
|
+
});
|
|
461
|
+
args.push(curArg);
|
|
462
|
+
}
|
|
463
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].getAttributeNode(...args));
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
getAttributeNodeNS(namespace, localName) {
|
|
467
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
468
|
+
if (!exports.is(esValue)) {
|
|
469
|
+
throw new globalObject.TypeError(
|
|
470
|
+
"'getAttributeNodeNS' called on an object that is not a valid instance of Element."
|
|
471
|
+
);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
if (arguments.length < 2) {
|
|
475
|
+
throw new globalObject.TypeError(
|
|
476
|
+
`Failed to execute 'getAttributeNodeNS' on 'Element': 2 arguments required, but only ${arguments.length} present.`
|
|
477
|
+
);
|
|
478
|
+
}
|
|
479
|
+
const args = [];
|
|
480
|
+
{
|
|
481
|
+
let curArg = arguments[0];
|
|
482
|
+
if (curArg === null || curArg === undefined) {
|
|
483
|
+
curArg = null;
|
|
484
|
+
} else {
|
|
485
|
+
curArg = conversions["DOMString"](curArg, {
|
|
486
|
+
context: "Failed to execute 'getAttributeNodeNS' on 'Element': parameter 1",
|
|
487
|
+
globals: globalObject
|
|
488
|
+
});
|
|
489
|
+
}
|
|
490
|
+
args.push(curArg);
|
|
491
|
+
}
|
|
492
|
+
{
|
|
493
|
+
let curArg = arguments[1];
|
|
494
|
+
curArg = conversions["DOMString"](curArg, {
|
|
495
|
+
context: "Failed to execute 'getAttributeNodeNS' on 'Element': parameter 2",
|
|
496
|
+
globals: globalObject
|
|
497
|
+
});
|
|
498
|
+
args.push(curArg);
|
|
499
|
+
}
|
|
500
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].getAttributeNodeNS(...args));
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
setAttributeNode(attr) {
|
|
504
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
505
|
+
if (!exports.is(esValue)) {
|
|
506
|
+
throw new globalObject.TypeError(
|
|
507
|
+
"'setAttributeNode' called on an object that is not a valid instance of Element."
|
|
508
|
+
);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
if (arguments.length < 1) {
|
|
512
|
+
throw new globalObject.TypeError(
|
|
513
|
+
`Failed to execute 'setAttributeNode' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
514
|
+
);
|
|
515
|
+
}
|
|
516
|
+
const args = [];
|
|
517
|
+
{
|
|
518
|
+
let curArg = arguments[0];
|
|
519
|
+
curArg = Attr.convert(globalObject, curArg, {
|
|
520
|
+
context: "Failed to execute 'setAttributeNode' on 'Element': parameter 1"
|
|
521
|
+
});
|
|
522
|
+
args.push(curArg);
|
|
523
|
+
}
|
|
524
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
525
|
+
try {
|
|
526
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].setAttributeNode(...args));
|
|
527
|
+
} finally {
|
|
528
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
setAttributeNodeNS(attr) {
|
|
533
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
534
|
+
if (!exports.is(esValue)) {
|
|
535
|
+
throw new globalObject.TypeError(
|
|
536
|
+
"'setAttributeNodeNS' called on an object that is not a valid instance of Element."
|
|
537
|
+
);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
if (arguments.length < 1) {
|
|
541
|
+
throw new globalObject.TypeError(
|
|
542
|
+
`Failed to execute 'setAttributeNodeNS' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
543
|
+
);
|
|
544
|
+
}
|
|
545
|
+
const args = [];
|
|
546
|
+
{
|
|
547
|
+
let curArg = arguments[0];
|
|
548
|
+
curArg = Attr.convert(globalObject, curArg, {
|
|
549
|
+
context: "Failed to execute 'setAttributeNodeNS' on 'Element': parameter 1"
|
|
550
|
+
});
|
|
551
|
+
args.push(curArg);
|
|
552
|
+
}
|
|
553
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
554
|
+
try {
|
|
555
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].setAttributeNodeNS(...args));
|
|
556
|
+
} finally {
|
|
557
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
removeAttributeNode(attr) {
|
|
562
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
563
|
+
if (!exports.is(esValue)) {
|
|
564
|
+
throw new globalObject.TypeError(
|
|
565
|
+
"'removeAttributeNode' called on an object that is not a valid instance of Element."
|
|
566
|
+
);
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
if (arguments.length < 1) {
|
|
570
|
+
throw new globalObject.TypeError(
|
|
571
|
+
`Failed to execute 'removeAttributeNode' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
572
|
+
);
|
|
573
|
+
}
|
|
574
|
+
const args = [];
|
|
575
|
+
{
|
|
576
|
+
let curArg = arguments[0];
|
|
577
|
+
curArg = Attr.convert(globalObject, curArg, {
|
|
578
|
+
context: "Failed to execute 'removeAttributeNode' on 'Element': parameter 1"
|
|
579
|
+
});
|
|
580
|
+
args.push(curArg);
|
|
581
|
+
}
|
|
582
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
583
|
+
try {
|
|
584
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].removeAttributeNode(...args));
|
|
585
|
+
} finally {
|
|
586
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
attachShadow(init) {
|
|
591
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
592
|
+
if (!exports.is(esValue)) {
|
|
593
|
+
throw new globalObject.TypeError("'attachShadow' called on an object that is not a valid instance of Element.");
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
if (arguments.length < 1) {
|
|
597
|
+
throw new globalObject.TypeError(
|
|
598
|
+
`Failed to execute 'attachShadow' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
599
|
+
);
|
|
600
|
+
}
|
|
601
|
+
const args = [];
|
|
602
|
+
{
|
|
603
|
+
let curArg = arguments[0];
|
|
604
|
+
curArg = ShadowRootInit.convert(globalObject, curArg, {
|
|
605
|
+
context: "Failed to execute 'attachShadow' on 'Element': parameter 1"
|
|
606
|
+
});
|
|
607
|
+
args.push(curArg);
|
|
608
|
+
}
|
|
609
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].attachShadow(...args));
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
closest(selectors) {
|
|
613
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
614
|
+
if (!exports.is(esValue)) {
|
|
615
|
+
throw new globalObject.TypeError("'closest' called on an object that is not a valid instance of Element.");
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
if (arguments.length < 1) {
|
|
619
|
+
throw new globalObject.TypeError(
|
|
620
|
+
`Failed to execute 'closest' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
621
|
+
);
|
|
622
|
+
}
|
|
623
|
+
const args = [];
|
|
624
|
+
{
|
|
625
|
+
let curArg = arguments[0];
|
|
626
|
+
curArg = conversions["DOMString"](curArg, {
|
|
627
|
+
context: "Failed to execute 'closest' on 'Element': parameter 1",
|
|
628
|
+
globals: globalObject
|
|
629
|
+
});
|
|
630
|
+
args.push(curArg);
|
|
631
|
+
}
|
|
632
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].closest(...args));
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
matches(selectors) {
|
|
636
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
637
|
+
if (!exports.is(esValue)) {
|
|
638
|
+
throw new globalObject.TypeError("'matches' called on an object that is not a valid instance of Element.");
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
if (arguments.length < 1) {
|
|
642
|
+
throw new globalObject.TypeError(
|
|
643
|
+
`Failed to execute 'matches' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
644
|
+
);
|
|
645
|
+
}
|
|
646
|
+
const args = [];
|
|
647
|
+
{
|
|
648
|
+
let curArg = arguments[0];
|
|
649
|
+
curArg = conversions["DOMString"](curArg, {
|
|
650
|
+
context: "Failed to execute 'matches' on 'Element': parameter 1",
|
|
651
|
+
globals: globalObject
|
|
652
|
+
});
|
|
653
|
+
args.push(curArg);
|
|
654
|
+
}
|
|
655
|
+
return esValue[implSymbol].matches(...args);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
webkitMatchesSelector(selectors) {
|
|
659
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
660
|
+
if (!exports.is(esValue)) {
|
|
661
|
+
throw new globalObject.TypeError(
|
|
662
|
+
"'webkitMatchesSelector' called on an object that is not a valid instance of Element."
|
|
663
|
+
);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
if (arguments.length < 1) {
|
|
667
|
+
throw new globalObject.TypeError(
|
|
668
|
+
`Failed to execute 'webkitMatchesSelector' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
669
|
+
);
|
|
670
|
+
}
|
|
671
|
+
const args = [];
|
|
672
|
+
{
|
|
673
|
+
let curArg = arguments[0];
|
|
674
|
+
curArg = conversions["DOMString"](curArg, {
|
|
675
|
+
context: "Failed to execute 'webkitMatchesSelector' on 'Element': parameter 1",
|
|
676
|
+
globals: globalObject
|
|
677
|
+
});
|
|
678
|
+
args.push(curArg);
|
|
679
|
+
}
|
|
680
|
+
return esValue[implSymbol].webkitMatchesSelector(...args);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
getElementsByTagName(qualifiedName) {
|
|
684
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
685
|
+
if (!exports.is(esValue)) {
|
|
686
|
+
throw new globalObject.TypeError(
|
|
687
|
+
"'getElementsByTagName' called on an object that is not a valid instance of Element."
|
|
688
|
+
);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
if (arguments.length < 1) {
|
|
692
|
+
throw new globalObject.TypeError(
|
|
693
|
+
`Failed to execute 'getElementsByTagName' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
694
|
+
);
|
|
695
|
+
}
|
|
696
|
+
const args = [];
|
|
697
|
+
{
|
|
698
|
+
let curArg = arguments[0];
|
|
699
|
+
curArg = conversions["DOMString"](curArg, {
|
|
700
|
+
context: "Failed to execute 'getElementsByTagName' on 'Element': parameter 1",
|
|
701
|
+
globals: globalObject
|
|
702
|
+
});
|
|
703
|
+
args.push(curArg);
|
|
704
|
+
}
|
|
705
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagName(...args));
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
getElementsByTagNameNS(namespace, localName) {
|
|
709
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
710
|
+
if (!exports.is(esValue)) {
|
|
711
|
+
throw new globalObject.TypeError(
|
|
712
|
+
"'getElementsByTagNameNS' called on an object that is not a valid instance of Element."
|
|
713
|
+
);
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
if (arguments.length < 2) {
|
|
717
|
+
throw new globalObject.TypeError(
|
|
718
|
+
`Failed to execute 'getElementsByTagNameNS' on 'Element': 2 arguments required, but only ${arguments.length} present.`
|
|
719
|
+
);
|
|
720
|
+
}
|
|
721
|
+
const args = [];
|
|
722
|
+
{
|
|
723
|
+
let curArg = arguments[0];
|
|
724
|
+
if (curArg === null || curArg === undefined) {
|
|
725
|
+
curArg = null;
|
|
726
|
+
} else {
|
|
727
|
+
curArg = conversions["DOMString"](curArg, {
|
|
728
|
+
context: "Failed to execute 'getElementsByTagNameNS' on 'Element': parameter 1",
|
|
729
|
+
globals: globalObject
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
args.push(curArg);
|
|
733
|
+
}
|
|
734
|
+
{
|
|
735
|
+
let curArg = arguments[1];
|
|
736
|
+
curArg = conversions["DOMString"](curArg, {
|
|
737
|
+
context: "Failed to execute 'getElementsByTagNameNS' on 'Element': parameter 2",
|
|
738
|
+
globals: globalObject
|
|
739
|
+
});
|
|
740
|
+
args.push(curArg);
|
|
741
|
+
}
|
|
742
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagNameNS(...args));
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
getElementsByClassName(classNames) {
|
|
746
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
747
|
+
if (!exports.is(esValue)) {
|
|
748
|
+
throw new globalObject.TypeError(
|
|
749
|
+
"'getElementsByClassName' called on an object that is not a valid instance of Element."
|
|
750
|
+
);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
if (arguments.length < 1) {
|
|
754
|
+
throw new globalObject.TypeError(
|
|
755
|
+
`Failed to execute 'getElementsByClassName' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
756
|
+
);
|
|
757
|
+
}
|
|
758
|
+
const args = [];
|
|
759
|
+
{
|
|
760
|
+
let curArg = arguments[0];
|
|
761
|
+
curArg = conversions["DOMString"](curArg, {
|
|
762
|
+
context: "Failed to execute 'getElementsByClassName' on 'Element': parameter 1",
|
|
763
|
+
globals: globalObject
|
|
764
|
+
});
|
|
765
|
+
args.push(curArg);
|
|
766
|
+
}
|
|
767
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByClassName(...args));
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
insertAdjacentElement(where, element) {
|
|
771
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
772
|
+
if (!exports.is(esValue)) {
|
|
773
|
+
throw new globalObject.TypeError(
|
|
774
|
+
"'insertAdjacentElement' called on an object that is not a valid instance of Element."
|
|
775
|
+
);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
if (arguments.length < 2) {
|
|
779
|
+
throw new globalObject.TypeError(
|
|
780
|
+
`Failed to execute 'insertAdjacentElement' on 'Element': 2 arguments required, but only ${arguments.length} present.`
|
|
781
|
+
);
|
|
782
|
+
}
|
|
783
|
+
const args = [];
|
|
784
|
+
{
|
|
785
|
+
let curArg = arguments[0];
|
|
786
|
+
curArg = conversions["DOMString"](curArg, {
|
|
787
|
+
context: "Failed to execute 'insertAdjacentElement' on 'Element': parameter 1",
|
|
788
|
+
globals: globalObject
|
|
789
|
+
});
|
|
790
|
+
args.push(curArg);
|
|
791
|
+
}
|
|
792
|
+
{
|
|
793
|
+
let curArg = arguments[1];
|
|
794
|
+
curArg = exports.convert(globalObject, curArg, {
|
|
795
|
+
context: "Failed to execute 'insertAdjacentElement' on 'Element': parameter 2"
|
|
796
|
+
});
|
|
797
|
+
args.push(curArg);
|
|
798
|
+
}
|
|
799
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
800
|
+
try {
|
|
801
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].insertAdjacentElement(...args));
|
|
802
|
+
} finally {
|
|
803
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
insertAdjacentText(where, data) {
|
|
808
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
809
|
+
if (!exports.is(esValue)) {
|
|
810
|
+
throw new globalObject.TypeError(
|
|
811
|
+
"'insertAdjacentText' called on an object that is not a valid instance of Element."
|
|
812
|
+
);
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
if (arguments.length < 2) {
|
|
816
|
+
throw new globalObject.TypeError(
|
|
817
|
+
`Failed to execute 'insertAdjacentText' on 'Element': 2 arguments required, but only ${arguments.length} present.`
|
|
818
|
+
);
|
|
819
|
+
}
|
|
820
|
+
const args = [];
|
|
821
|
+
{
|
|
822
|
+
let curArg = arguments[0];
|
|
823
|
+
curArg = conversions["DOMString"](curArg, {
|
|
824
|
+
context: "Failed to execute 'insertAdjacentText' on 'Element': parameter 1",
|
|
825
|
+
globals: globalObject
|
|
826
|
+
});
|
|
827
|
+
args.push(curArg);
|
|
828
|
+
}
|
|
829
|
+
{
|
|
830
|
+
let curArg = arguments[1];
|
|
831
|
+
curArg = conversions["DOMString"](curArg, {
|
|
832
|
+
context: "Failed to execute 'insertAdjacentText' on 'Element': parameter 2",
|
|
833
|
+
globals: globalObject
|
|
834
|
+
});
|
|
835
|
+
args.push(curArg);
|
|
836
|
+
}
|
|
837
|
+
return esValue[implSymbol].insertAdjacentText(...args);
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
insertAdjacentHTML(position, text) {
|
|
841
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
842
|
+
if (!exports.is(esValue)) {
|
|
843
|
+
throw new globalObject.TypeError(
|
|
844
|
+
"'insertAdjacentHTML' called on an object that is not a valid instance of Element."
|
|
845
|
+
);
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
if (arguments.length < 2) {
|
|
849
|
+
throw new globalObject.TypeError(
|
|
850
|
+
`Failed to execute 'insertAdjacentHTML' on 'Element': 2 arguments required, but only ${arguments.length} present.`
|
|
851
|
+
);
|
|
852
|
+
}
|
|
853
|
+
const args = [];
|
|
854
|
+
{
|
|
855
|
+
let curArg = arguments[0];
|
|
856
|
+
curArg = conversions["DOMString"](curArg, {
|
|
857
|
+
context: "Failed to execute 'insertAdjacentHTML' on 'Element': parameter 1",
|
|
858
|
+
globals: globalObject
|
|
859
|
+
});
|
|
860
|
+
args.push(curArg);
|
|
861
|
+
}
|
|
862
|
+
{
|
|
863
|
+
let curArg = arguments[1];
|
|
864
|
+
curArg = conversions["DOMString"](curArg, {
|
|
865
|
+
context: "Failed to execute 'insertAdjacentHTML' on 'Element': parameter 2",
|
|
866
|
+
globals: globalObject
|
|
867
|
+
});
|
|
868
|
+
args.push(curArg);
|
|
869
|
+
}
|
|
870
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
871
|
+
try {
|
|
872
|
+
return esValue[implSymbol].insertAdjacentHTML(...args);
|
|
873
|
+
} finally {
|
|
874
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
getClientRects() {
|
|
879
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
880
|
+
if (!exports.is(esValue)) {
|
|
881
|
+
throw new globalObject.TypeError(
|
|
882
|
+
"'getClientRects' called on an object that is not a valid instance of Element."
|
|
883
|
+
);
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].getClientRects());
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
getBoundingClientRect() {
|
|
890
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
891
|
+
if (!exports.is(esValue)) {
|
|
892
|
+
throw new globalObject.TypeError(
|
|
893
|
+
"'getBoundingClientRect' called on an object that is not a valid instance of Element."
|
|
894
|
+
);
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].getBoundingClientRect());
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
before() {
|
|
901
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
902
|
+
if (!exports.is(esValue)) {
|
|
903
|
+
throw new globalObject.TypeError("'before' called on an object that is not a valid instance of Element.");
|
|
904
|
+
}
|
|
905
|
+
const args = [];
|
|
906
|
+
for (let i = 0; i < arguments.length; i++) {
|
|
907
|
+
let curArg = arguments[i];
|
|
908
|
+
if (Node.is(curArg)) {
|
|
909
|
+
curArg = utils.implForWrapper(curArg);
|
|
910
|
+
} else {
|
|
911
|
+
curArg = conversions["DOMString"](curArg, {
|
|
912
|
+
context: "Failed to execute 'before' on 'Element': parameter " + (i + 1),
|
|
913
|
+
globals: globalObject
|
|
914
|
+
});
|
|
915
|
+
}
|
|
916
|
+
args.push(curArg);
|
|
917
|
+
}
|
|
918
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
919
|
+
try {
|
|
920
|
+
return esValue[implSymbol].before(...args);
|
|
921
|
+
} finally {
|
|
922
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
after() {
|
|
927
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
928
|
+
if (!exports.is(esValue)) {
|
|
929
|
+
throw new globalObject.TypeError("'after' called on an object that is not a valid instance of Element.");
|
|
930
|
+
}
|
|
931
|
+
const args = [];
|
|
932
|
+
for (let i = 0; i < arguments.length; i++) {
|
|
933
|
+
let curArg = arguments[i];
|
|
934
|
+
if (Node.is(curArg)) {
|
|
935
|
+
curArg = utils.implForWrapper(curArg);
|
|
936
|
+
} else {
|
|
937
|
+
curArg = conversions["DOMString"](curArg, {
|
|
938
|
+
context: "Failed to execute 'after' on 'Element': parameter " + (i + 1),
|
|
939
|
+
globals: globalObject
|
|
940
|
+
});
|
|
941
|
+
}
|
|
942
|
+
args.push(curArg);
|
|
943
|
+
}
|
|
944
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
945
|
+
try {
|
|
946
|
+
return esValue[implSymbol].after(...args);
|
|
947
|
+
} finally {
|
|
948
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
replaceWith() {
|
|
953
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
954
|
+
if (!exports.is(esValue)) {
|
|
955
|
+
throw new globalObject.TypeError("'replaceWith' called on an object that is not a valid instance of Element.");
|
|
956
|
+
}
|
|
957
|
+
const args = [];
|
|
958
|
+
for (let i = 0; i < arguments.length; i++) {
|
|
959
|
+
let curArg = arguments[i];
|
|
960
|
+
if (Node.is(curArg)) {
|
|
961
|
+
curArg = utils.implForWrapper(curArg);
|
|
962
|
+
} else {
|
|
963
|
+
curArg = conversions["DOMString"](curArg, {
|
|
964
|
+
context: "Failed to execute 'replaceWith' on 'Element': parameter " + (i + 1),
|
|
965
|
+
globals: globalObject
|
|
966
|
+
});
|
|
967
|
+
}
|
|
968
|
+
args.push(curArg);
|
|
969
|
+
}
|
|
970
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
971
|
+
try {
|
|
972
|
+
return esValue[implSymbol].replaceWith(...args);
|
|
973
|
+
} finally {
|
|
974
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
remove() {
|
|
979
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
980
|
+
if (!exports.is(esValue)) {
|
|
981
|
+
throw new globalObject.TypeError("'remove' called on an object that is not a valid instance of Element.");
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
985
|
+
try {
|
|
986
|
+
return esValue[implSymbol].remove();
|
|
987
|
+
} finally {
|
|
988
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
prepend() {
|
|
993
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
994
|
+
if (!exports.is(esValue)) {
|
|
995
|
+
throw new globalObject.TypeError("'prepend' called on an object that is not a valid instance of Element.");
|
|
996
|
+
}
|
|
997
|
+
const args = [];
|
|
998
|
+
for (let i = 0; i < arguments.length; i++) {
|
|
999
|
+
let curArg = arguments[i];
|
|
1000
|
+
if (Node.is(curArg)) {
|
|
1001
|
+
curArg = utils.implForWrapper(curArg);
|
|
1002
|
+
} else {
|
|
1003
|
+
curArg = conversions["DOMString"](curArg, {
|
|
1004
|
+
context: "Failed to execute 'prepend' on 'Element': parameter " + (i + 1),
|
|
1005
|
+
globals: globalObject
|
|
1006
|
+
});
|
|
1007
|
+
}
|
|
1008
|
+
args.push(curArg);
|
|
1009
|
+
}
|
|
1010
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1011
|
+
try {
|
|
1012
|
+
return esValue[implSymbol].prepend(...args);
|
|
1013
|
+
} finally {
|
|
1014
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
append() {
|
|
1019
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1020
|
+
if (!exports.is(esValue)) {
|
|
1021
|
+
throw new globalObject.TypeError("'append' called on an object that is not a valid instance of Element.");
|
|
1022
|
+
}
|
|
1023
|
+
const args = [];
|
|
1024
|
+
for (let i = 0; i < arguments.length; i++) {
|
|
1025
|
+
let curArg = arguments[i];
|
|
1026
|
+
if (Node.is(curArg)) {
|
|
1027
|
+
curArg = utils.implForWrapper(curArg);
|
|
1028
|
+
} else {
|
|
1029
|
+
curArg = conversions["DOMString"](curArg, {
|
|
1030
|
+
context: "Failed to execute 'append' on 'Element': parameter " + (i + 1),
|
|
1031
|
+
globals: globalObject
|
|
1032
|
+
});
|
|
1033
|
+
}
|
|
1034
|
+
args.push(curArg);
|
|
1035
|
+
}
|
|
1036
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1037
|
+
try {
|
|
1038
|
+
return esValue[implSymbol].append(...args);
|
|
1039
|
+
} finally {
|
|
1040
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
replaceChildren() {
|
|
1045
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1046
|
+
if (!exports.is(esValue)) {
|
|
1047
|
+
throw new globalObject.TypeError(
|
|
1048
|
+
"'replaceChildren' called on an object that is not a valid instance of Element."
|
|
1049
|
+
);
|
|
1050
|
+
}
|
|
1051
|
+
const args = [];
|
|
1052
|
+
for (let i = 0; i < arguments.length; i++) {
|
|
1053
|
+
let curArg = arguments[i];
|
|
1054
|
+
if (Node.is(curArg)) {
|
|
1055
|
+
curArg = utils.implForWrapper(curArg);
|
|
1056
|
+
} else {
|
|
1057
|
+
curArg = conversions["DOMString"](curArg, {
|
|
1058
|
+
context: "Failed to execute 'replaceChildren' on 'Element': parameter " + (i + 1),
|
|
1059
|
+
globals: globalObject
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
args.push(curArg);
|
|
1063
|
+
}
|
|
1064
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1065
|
+
try {
|
|
1066
|
+
return esValue[implSymbol].replaceChildren(...args);
|
|
1067
|
+
} finally {
|
|
1068
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
querySelector(selectors) {
|
|
1073
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1074
|
+
if (!exports.is(esValue)) {
|
|
1075
|
+
throw new globalObject.TypeError(
|
|
1076
|
+
"'querySelector' called on an object that is not a valid instance of Element."
|
|
1077
|
+
);
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
if (arguments.length < 1) {
|
|
1081
|
+
throw new globalObject.TypeError(
|
|
1082
|
+
`Failed to execute 'querySelector' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
1083
|
+
);
|
|
1084
|
+
}
|
|
1085
|
+
const args = [];
|
|
1086
|
+
{
|
|
1087
|
+
let curArg = arguments[0];
|
|
1088
|
+
curArg = conversions["DOMString"](curArg, {
|
|
1089
|
+
context: "Failed to execute 'querySelector' on 'Element': parameter 1",
|
|
1090
|
+
globals: globalObject
|
|
1091
|
+
});
|
|
1092
|
+
args.push(curArg);
|
|
1093
|
+
}
|
|
1094
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].querySelector(...args));
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
querySelectorAll(selectors) {
|
|
1098
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1099
|
+
if (!exports.is(esValue)) {
|
|
1100
|
+
throw new globalObject.TypeError(
|
|
1101
|
+
"'querySelectorAll' called on an object that is not a valid instance of Element."
|
|
1102
|
+
);
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
if (arguments.length < 1) {
|
|
1106
|
+
throw new globalObject.TypeError(
|
|
1107
|
+
`Failed to execute 'querySelectorAll' on 'Element': 1 argument required, but only ${arguments.length} present.`
|
|
1108
|
+
);
|
|
1109
|
+
}
|
|
1110
|
+
const args = [];
|
|
1111
|
+
{
|
|
1112
|
+
let curArg = arguments[0];
|
|
1113
|
+
curArg = conversions["DOMString"](curArg, {
|
|
1114
|
+
context: "Failed to execute 'querySelectorAll' on 'Element': parameter 1",
|
|
1115
|
+
globals: globalObject
|
|
1116
|
+
});
|
|
1117
|
+
args.push(curArg);
|
|
1118
|
+
}
|
|
1119
|
+
return utils.tryWrapperForImpl(esValue[implSymbol].querySelectorAll(...args));
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
get namespaceURI() {
|
|
1123
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1124
|
+
|
|
1125
|
+
if (!exports.is(esValue)) {
|
|
1126
|
+
throw new globalObject.TypeError(
|
|
1127
|
+
"'get namespaceURI' called on an object that is not a valid instance of Element."
|
|
1128
|
+
);
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
return esValue[implSymbol]["namespaceURI"];
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
get prefix() {
|
|
1135
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1136
|
+
|
|
1137
|
+
if (!exports.is(esValue)) {
|
|
1138
|
+
throw new globalObject.TypeError("'get prefix' called on an object that is not a valid instance of Element.");
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
return esValue[implSymbol]["prefix"];
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
get localName() {
|
|
1145
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1146
|
+
|
|
1147
|
+
if (!exports.is(esValue)) {
|
|
1148
|
+
throw new globalObject.TypeError(
|
|
1149
|
+
"'get localName' called on an object that is not a valid instance of Element."
|
|
1150
|
+
);
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
return esValue[implSymbol]["localName"];
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
get tagName() {
|
|
1157
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1158
|
+
|
|
1159
|
+
if (!exports.is(esValue)) {
|
|
1160
|
+
throw new globalObject.TypeError("'get tagName' called on an object that is not a valid instance of Element.");
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
return esValue[implSymbol]["tagName"];
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
get id() {
|
|
1167
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1168
|
+
|
|
1169
|
+
if (!exports.is(esValue)) {
|
|
1170
|
+
throw new globalObject.TypeError("'get id' called on an object that is not a valid instance of Element.");
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1174
|
+
try {
|
|
1175
|
+
const value = esValue[implSymbol].getAttributeNS(null, "id");
|
|
1176
|
+
return value === null ? "" : value;
|
|
1177
|
+
} finally {
|
|
1178
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
set id(V) {
|
|
1183
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1184
|
+
|
|
1185
|
+
if (!exports.is(esValue)) {
|
|
1186
|
+
throw new globalObject.TypeError("'set id' called on an object that is not a valid instance of Element.");
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
V = conversions["DOMString"](V, {
|
|
1190
|
+
context: "Failed to set the 'id' property on 'Element': The provided value",
|
|
1191
|
+
globals: globalObject
|
|
1192
|
+
});
|
|
1193
|
+
|
|
1194
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1195
|
+
try {
|
|
1196
|
+
esValue[implSymbol].setAttributeNS(null, "id", V);
|
|
1197
|
+
} finally {
|
|
1198
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
get className() {
|
|
1203
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1204
|
+
|
|
1205
|
+
if (!exports.is(esValue)) {
|
|
1206
|
+
throw new globalObject.TypeError(
|
|
1207
|
+
"'get className' called on an object that is not a valid instance of Element."
|
|
1208
|
+
);
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1212
|
+
try {
|
|
1213
|
+
const value = esValue[implSymbol].getAttributeNS(null, "class");
|
|
1214
|
+
return value === null ? "" : value;
|
|
1215
|
+
} finally {
|
|
1216
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
set className(V) {
|
|
1221
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1222
|
+
|
|
1223
|
+
if (!exports.is(esValue)) {
|
|
1224
|
+
throw new globalObject.TypeError(
|
|
1225
|
+
"'set className' called on an object that is not a valid instance of Element."
|
|
1226
|
+
);
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
V = conversions["DOMString"](V, {
|
|
1230
|
+
context: "Failed to set the 'className' property on 'Element': The provided value",
|
|
1231
|
+
globals: globalObject
|
|
1232
|
+
});
|
|
1233
|
+
|
|
1234
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1235
|
+
try {
|
|
1236
|
+
esValue[implSymbol].setAttributeNS(null, "class", V);
|
|
1237
|
+
} finally {
|
|
1238
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
get classList() {
|
|
1243
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1244
|
+
|
|
1245
|
+
if (!exports.is(esValue)) {
|
|
1246
|
+
throw new globalObject.TypeError(
|
|
1247
|
+
"'get classList' called on an object that is not a valid instance of Element."
|
|
1248
|
+
);
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
return utils.getSameObject(this, "classList", () => {
|
|
1252
|
+
return utils.tryWrapperForImpl(esValue[implSymbol]["classList"]);
|
|
1253
|
+
});
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
set classList(V) {
|
|
1257
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1258
|
+
|
|
1259
|
+
if (!exports.is(esValue)) {
|
|
1260
|
+
throw new globalObject.TypeError(
|
|
1261
|
+
"'set classList' called on an object that is not a valid instance of Element."
|
|
1262
|
+
);
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
const Q = esValue["classList"];
|
|
1266
|
+
if (!utils.isObject(Q)) {
|
|
1267
|
+
throw new globalObject.TypeError("Property 'classList' is not an object");
|
|
1268
|
+
}
|
|
1269
|
+
Reflect.set(Q, "value", V);
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
get slot() {
|
|
1273
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1274
|
+
|
|
1275
|
+
if (!exports.is(esValue)) {
|
|
1276
|
+
throw new globalObject.TypeError("'get slot' called on an object that is not a valid instance of Element.");
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1280
|
+
try {
|
|
1281
|
+
const value = esValue[implSymbol].getAttributeNS(null, "slot");
|
|
1282
|
+
return value === null ? "" : value;
|
|
1283
|
+
} finally {
|
|
1284
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
set slot(V) {
|
|
1289
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1290
|
+
|
|
1291
|
+
if (!exports.is(esValue)) {
|
|
1292
|
+
throw new globalObject.TypeError("'set slot' called on an object that is not a valid instance of Element.");
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
V = conversions["DOMString"](V, {
|
|
1296
|
+
context: "Failed to set the 'slot' property on 'Element': The provided value",
|
|
1297
|
+
globals: globalObject
|
|
1298
|
+
});
|
|
1299
|
+
|
|
1300
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1301
|
+
try {
|
|
1302
|
+
esValue[implSymbol].setAttributeNS(null, "slot", V);
|
|
1303
|
+
} finally {
|
|
1304
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
get attributes() {
|
|
1309
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1310
|
+
|
|
1311
|
+
if (!exports.is(esValue)) {
|
|
1312
|
+
throw new globalObject.TypeError(
|
|
1313
|
+
"'get attributes' called on an object that is not a valid instance of Element."
|
|
1314
|
+
);
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
return utils.getSameObject(this, "attributes", () => {
|
|
1318
|
+
return utils.tryWrapperForImpl(esValue[implSymbol]["attributes"]);
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
get shadowRoot() {
|
|
1323
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1324
|
+
|
|
1325
|
+
if (!exports.is(esValue)) {
|
|
1326
|
+
throw new globalObject.TypeError(
|
|
1327
|
+
"'get shadowRoot' called on an object that is not a valid instance of Element."
|
|
1328
|
+
);
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
return utils.tryWrapperForImpl(esValue[implSymbol]["shadowRoot"]);
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
get outerHTML() {
|
|
1335
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1336
|
+
|
|
1337
|
+
if (!exports.is(esValue)) {
|
|
1338
|
+
throw new globalObject.TypeError(
|
|
1339
|
+
"'get outerHTML' called on an object that is not a valid instance of Element."
|
|
1340
|
+
);
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1344
|
+
try {
|
|
1345
|
+
return esValue[implSymbol]["outerHTML"];
|
|
1346
|
+
} finally {
|
|
1347
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
set outerHTML(V) {
|
|
1352
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1353
|
+
|
|
1354
|
+
if (!exports.is(esValue)) {
|
|
1355
|
+
throw new globalObject.TypeError(
|
|
1356
|
+
"'set outerHTML' called on an object that is not a valid instance of Element."
|
|
1357
|
+
);
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
V = conversions["DOMString"](V, {
|
|
1361
|
+
context: "Failed to set the 'outerHTML' property on 'Element': The provided value",
|
|
1362
|
+
globals: globalObject,
|
|
1363
|
+
treatNullAsEmptyString: true
|
|
1364
|
+
});
|
|
1365
|
+
|
|
1366
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1367
|
+
try {
|
|
1368
|
+
esValue[implSymbol]["outerHTML"] = V;
|
|
1369
|
+
} finally {
|
|
1370
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
get scrollTop() {
|
|
1375
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1376
|
+
|
|
1377
|
+
if (!exports.is(esValue)) {
|
|
1378
|
+
throw new globalObject.TypeError(
|
|
1379
|
+
"'get scrollTop' called on an object that is not a valid instance of Element."
|
|
1380
|
+
);
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
return esValue[implSymbol]["scrollTop"];
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
set scrollTop(V) {
|
|
1387
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1388
|
+
|
|
1389
|
+
if (!exports.is(esValue)) {
|
|
1390
|
+
throw new globalObject.TypeError(
|
|
1391
|
+
"'set scrollTop' called on an object that is not a valid instance of Element."
|
|
1392
|
+
);
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
V = conversions["unrestricted double"](V, {
|
|
1396
|
+
context: "Failed to set the 'scrollTop' property on 'Element': The provided value",
|
|
1397
|
+
globals: globalObject
|
|
1398
|
+
});
|
|
1399
|
+
|
|
1400
|
+
esValue[implSymbol]["scrollTop"] = V;
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
get scrollLeft() {
|
|
1404
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1405
|
+
|
|
1406
|
+
if (!exports.is(esValue)) {
|
|
1407
|
+
throw new globalObject.TypeError(
|
|
1408
|
+
"'get scrollLeft' called on an object that is not a valid instance of Element."
|
|
1409
|
+
);
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
return esValue[implSymbol]["scrollLeft"];
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
set scrollLeft(V) {
|
|
1416
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1417
|
+
|
|
1418
|
+
if (!exports.is(esValue)) {
|
|
1419
|
+
throw new globalObject.TypeError(
|
|
1420
|
+
"'set scrollLeft' called on an object that is not a valid instance of Element."
|
|
1421
|
+
);
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
V = conversions["unrestricted double"](V, {
|
|
1425
|
+
context: "Failed to set the 'scrollLeft' property on 'Element': The provided value",
|
|
1426
|
+
globals: globalObject
|
|
1427
|
+
});
|
|
1428
|
+
|
|
1429
|
+
esValue[implSymbol]["scrollLeft"] = V;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
get scrollWidth() {
|
|
1433
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1434
|
+
|
|
1435
|
+
if (!exports.is(esValue)) {
|
|
1436
|
+
throw new globalObject.TypeError(
|
|
1437
|
+
"'get scrollWidth' called on an object that is not a valid instance of Element."
|
|
1438
|
+
);
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
return esValue[implSymbol]["scrollWidth"];
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
get scrollHeight() {
|
|
1445
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1446
|
+
|
|
1447
|
+
if (!exports.is(esValue)) {
|
|
1448
|
+
throw new globalObject.TypeError(
|
|
1449
|
+
"'get scrollHeight' called on an object that is not a valid instance of Element."
|
|
1450
|
+
);
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
return esValue[implSymbol]["scrollHeight"];
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
get clientTop() {
|
|
1457
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1458
|
+
|
|
1459
|
+
if (!exports.is(esValue)) {
|
|
1460
|
+
throw new globalObject.TypeError(
|
|
1461
|
+
"'get clientTop' called on an object that is not a valid instance of Element."
|
|
1462
|
+
);
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
return esValue[implSymbol]["clientTop"];
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
get clientLeft() {
|
|
1469
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1470
|
+
|
|
1471
|
+
if (!exports.is(esValue)) {
|
|
1472
|
+
throw new globalObject.TypeError(
|
|
1473
|
+
"'get clientLeft' called on an object that is not a valid instance of Element."
|
|
1474
|
+
);
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
return esValue[implSymbol]["clientLeft"];
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
get clientWidth() {
|
|
1481
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1482
|
+
|
|
1483
|
+
if (!exports.is(esValue)) {
|
|
1484
|
+
throw new globalObject.TypeError(
|
|
1485
|
+
"'get clientWidth' called on an object that is not a valid instance of Element."
|
|
1486
|
+
);
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
return esValue[implSymbol]["clientWidth"];
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
get clientHeight() {
|
|
1493
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1494
|
+
|
|
1495
|
+
if (!exports.is(esValue)) {
|
|
1496
|
+
throw new globalObject.TypeError(
|
|
1497
|
+
"'get clientHeight' called on an object that is not a valid instance of Element."
|
|
1498
|
+
);
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
return esValue[implSymbol]["clientHeight"];
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
get innerHTML() {
|
|
1505
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1506
|
+
|
|
1507
|
+
if (!exports.is(esValue)) {
|
|
1508
|
+
throw new globalObject.TypeError(
|
|
1509
|
+
"'get innerHTML' called on an object that is not a valid instance of Element."
|
|
1510
|
+
);
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1514
|
+
try {
|
|
1515
|
+
return esValue[implSymbol]["innerHTML"];
|
|
1516
|
+
} finally {
|
|
1517
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
set innerHTML(V) {
|
|
1522
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1523
|
+
|
|
1524
|
+
if (!exports.is(esValue)) {
|
|
1525
|
+
throw new globalObject.TypeError(
|
|
1526
|
+
"'set innerHTML' called on an object that is not a valid instance of Element."
|
|
1527
|
+
);
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
V = conversions["DOMString"](V, {
|
|
1531
|
+
context: "Failed to set the 'innerHTML' property on 'Element': The provided value",
|
|
1532
|
+
globals: globalObject,
|
|
1533
|
+
treatNullAsEmptyString: true
|
|
1534
|
+
});
|
|
1535
|
+
|
|
1536
|
+
ceReactionsPreSteps_helpers_custom_elements(globalObject);
|
|
1537
|
+
try {
|
|
1538
|
+
esValue[implSymbol]["innerHTML"] = V;
|
|
1539
|
+
} finally {
|
|
1540
|
+
ceReactionsPostSteps_helpers_custom_elements(globalObject);
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
get previousElementSibling() {
|
|
1545
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1546
|
+
|
|
1547
|
+
if (!exports.is(esValue)) {
|
|
1548
|
+
throw new globalObject.TypeError(
|
|
1549
|
+
"'get previousElementSibling' called on an object that is not a valid instance of Element."
|
|
1550
|
+
);
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
return utils.tryWrapperForImpl(esValue[implSymbol]["previousElementSibling"]);
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
get nextElementSibling() {
|
|
1557
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1558
|
+
|
|
1559
|
+
if (!exports.is(esValue)) {
|
|
1560
|
+
throw new globalObject.TypeError(
|
|
1561
|
+
"'get nextElementSibling' called on an object that is not a valid instance of Element."
|
|
1562
|
+
);
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
return utils.tryWrapperForImpl(esValue[implSymbol]["nextElementSibling"]);
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
get children() {
|
|
1569
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1570
|
+
|
|
1571
|
+
if (!exports.is(esValue)) {
|
|
1572
|
+
throw new globalObject.TypeError("'get children' called on an object that is not a valid instance of Element.");
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
return utils.getSameObject(this, "children", () => {
|
|
1576
|
+
return utils.tryWrapperForImpl(esValue[implSymbol]["children"]);
|
|
1577
|
+
});
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
get firstElementChild() {
|
|
1581
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1582
|
+
|
|
1583
|
+
if (!exports.is(esValue)) {
|
|
1584
|
+
throw new globalObject.TypeError(
|
|
1585
|
+
"'get firstElementChild' called on an object that is not a valid instance of Element."
|
|
1586
|
+
);
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
return utils.tryWrapperForImpl(esValue[implSymbol]["firstElementChild"]);
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
get lastElementChild() {
|
|
1593
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1594
|
+
|
|
1595
|
+
if (!exports.is(esValue)) {
|
|
1596
|
+
throw new globalObject.TypeError(
|
|
1597
|
+
"'get lastElementChild' called on an object that is not a valid instance of Element."
|
|
1598
|
+
);
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
return utils.tryWrapperForImpl(esValue[implSymbol]["lastElementChild"]);
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
get childElementCount() {
|
|
1605
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1606
|
+
|
|
1607
|
+
if (!exports.is(esValue)) {
|
|
1608
|
+
throw new globalObject.TypeError(
|
|
1609
|
+
"'get childElementCount' called on an object that is not a valid instance of Element."
|
|
1610
|
+
);
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
return esValue[implSymbol]["childElementCount"];
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
get assignedSlot() {
|
|
1617
|
+
const esValue = this !== null && this !== undefined ? this : globalObject;
|
|
1618
|
+
|
|
1619
|
+
if (!exports.is(esValue)) {
|
|
1620
|
+
throw new globalObject.TypeError(
|
|
1621
|
+
"'get assignedSlot' called on an object that is not a valid instance of Element."
|
|
1622
|
+
);
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
return utils.tryWrapperForImpl(esValue[implSymbol]["assignedSlot"]);
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
Object.defineProperties(Element.prototype, {
|
|
1629
|
+
hasAttributes: { enumerable: true },
|
|
1630
|
+
getAttributeNames: { enumerable: true },
|
|
1631
|
+
getAttribute: { enumerable: true },
|
|
1632
|
+
getAttributeNS: { enumerable: true },
|
|
1633
|
+
setAttribute: { enumerable: true },
|
|
1634
|
+
setAttributeNS: { enumerable: true },
|
|
1635
|
+
removeAttribute: { enumerable: true },
|
|
1636
|
+
removeAttributeNS: { enumerable: true },
|
|
1637
|
+
toggleAttribute: { enumerable: true },
|
|
1638
|
+
hasAttribute: { enumerable: true },
|
|
1639
|
+
hasAttributeNS: { enumerable: true },
|
|
1640
|
+
getAttributeNode: { enumerable: true },
|
|
1641
|
+
getAttributeNodeNS: { enumerable: true },
|
|
1642
|
+
setAttributeNode: { enumerable: true },
|
|
1643
|
+
setAttributeNodeNS: { enumerable: true },
|
|
1644
|
+
removeAttributeNode: { enumerable: true },
|
|
1645
|
+
attachShadow: { enumerable: true },
|
|
1646
|
+
closest: { enumerable: true },
|
|
1647
|
+
matches: { enumerable: true },
|
|
1648
|
+
webkitMatchesSelector: { enumerable: true },
|
|
1649
|
+
getElementsByTagName: { enumerable: true },
|
|
1650
|
+
getElementsByTagNameNS: { enumerable: true },
|
|
1651
|
+
getElementsByClassName: { enumerable: true },
|
|
1652
|
+
insertAdjacentElement: { enumerable: true },
|
|
1653
|
+
insertAdjacentText: { enumerable: true },
|
|
1654
|
+
insertAdjacentHTML: { enumerable: true },
|
|
1655
|
+
getClientRects: { enumerable: true },
|
|
1656
|
+
getBoundingClientRect: { enumerable: true },
|
|
1657
|
+
before: { enumerable: true },
|
|
1658
|
+
after: { enumerable: true },
|
|
1659
|
+
replaceWith: { enumerable: true },
|
|
1660
|
+
remove: { enumerable: true },
|
|
1661
|
+
prepend: { enumerable: true },
|
|
1662
|
+
append: { enumerable: true },
|
|
1663
|
+
replaceChildren: { enumerable: true },
|
|
1664
|
+
querySelector: { enumerable: true },
|
|
1665
|
+
querySelectorAll: { enumerable: true },
|
|
1666
|
+
namespaceURI: { enumerable: true },
|
|
1667
|
+
prefix: { enumerable: true },
|
|
1668
|
+
localName: { enumerable: true },
|
|
1669
|
+
tagName: { enumerable: true },
|
|
1670
|
+
id: { enumerable: true },
|
|
1671
|
+
className: { enumerable: true },
|
|
1672
|
+
classList: { enumerable: true },
|
|
1673
|
+
slot: { enumerable: true },
|
|
1674
|
+
attributes: { enumerable: true },
|
|
1675
|
+
shadowRoot: { enumerable: true },
|
|
1676
|
+
outerHTML: { enumerable: true },
|
|
1677
|
+
scrollTop: { enumerable: true },
|
|
1678
|
+
scrollLeft: { enumerable: true },
|
|
1679
|
+
scrollWidth: { enumerable: true },
|
|
1680
|
+
scrollHeight: { enumerable: true },
|
|
1681
|
+
clientTop: { enumerable: true },
|
|
1682
|
+
clientLeft: { enumerable: true },
|
|
1683
|
+
clientWidth: { enumerable: true },
|
|
1684
|
+
clientHeight: { enumerable: true },
|
|
1685
|
+
innerHTML: { enumerable: true },
|
|
1686
|
+
previousElementSibling: { enumerable: true },
|
|
1687
|
+
nextElementSibling: { enumerable: true },
|
|
1688
|
+
children: { enumerable: true },
|
|
1689
|
+
firstElementChild: { enumerable: true },
|
|
1690
|
+
lastElementChild: { enumerable: true },
|
|
1691
|
+
childElementCount: { enumerable: true },
|
|
1692
|
+
assignedSlot: { enumerable: true },
|
|
1693
|
+
[Symbol.toStringTag]: { value: "Element", configurable: true },
|
|
1694
|
+
[Symbol.unscopables]: {
|
|
1695
|
+
value: {
|
|
1696
|
+
slot: true,
|
|
1697
|
+
before: true,
|
|
1698
|
+
after: true,
|
|
1699
|
+
replaceWith: true,
|
|
1700
|
+
remove: true,
|
|
1701
|
+
prepend: true,
|
|
1702
|
+
append: true,
|
|
1703
|
+
replaceChildren: true,
|
|
1704
|
+
__proto__: null
|
|
1705
|
+
},
|
|
1706
|
+
configurable: true
|
|
1707
|
+
}
|
|
1708
|
+
});
|
|
1709
|
+
ctorRegistry[interfaceName] = Element;
|
|
1710
|
+
|
|
1711
|
+
Object.defineProperty(globalObject, interfaceName, {
|
|
1712
|
+
configurable: true,
|
|
1713
|
+
writable: true,
|
|
1714
|
+
value: Element
|
|
1715
|
+
});
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
const Impl = require("../nodes/Element-impl.js");
|