@amazon/vinyl-util 1.0.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/dist/browserTestUtil/index.js +2641 -0
- package/dist/browserTestUtil/index.js.map +7 -0
- package/dist/browserTestUtil/types/current/async/async.d.ts +30 -0
- package/dist/browserTestUtil/types/current/async/async.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/async/async.js +48 -0
- package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.d.ts +16 -0
- package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/async/createCallbackTimingTest.js +57 -0
- package/dist/browserTestUtil/types/current/async/marble.d.ts +12 -0
- package/dist/browserTestUtil/types/current/async/marble.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/async/marble.js +27 -0
- package/dist/browserTestUtil/types/current/benchmark/Benchmark.d.ts +90 -0
- package/dist/browserTestUtil/types/current/benchmark/Benchmark.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/benchmark/Benchmark.js +247 -0
- package/dist/browserTestUtil/types/current/env/jasmineEnv.d.ts +14 -0
- package/dist/browserTestUtil/types/current/env/jasmineEnv.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/env/jasmineEnv.js +34 -0
- package/dist/browserTestUtil/types/current/expect/expectIterableEquals.d.ts +8 -0
- package/dist/browserTestUtil/types/current/expect/expectIterableEquals.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/expect/expectIterableEquals.js +13 -0
- package/dist/browserTestUtil/types/current/expect/expectNothing.d.ts +5 -0
- package/dist/browserTestUtil/types/current/expect/expectNothing.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/expect/expectNothing.js +10 -0
- package/dist/browserTestUtil/types/current/expect/prototype.d.ts +18 -0
- package/dist/browserTestUtil/types/current/expect/prototype.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/expect/prototype.js +28 -0
- package/dist/browserTestUtil/types/current/expect/typesafety.d.ts +38 -0
- package/dist/browserTestUtil/types/current/expect/typesafety.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/expect/typesafety.js +43 -0
- package/dist/browserTestUtil/types/current/index.d.ts +22 -0
- package/dist/browserTestUtil/types/current/index.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/index.js +21 -0
- package/dist/browserTestUtil/types/current/matchers/customMatchers.d.ts +9 -0
- package/dist/browserTestUtil/types/current/matchers/customMatchers.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/matchers/customMatchers.js +8 -0
- package/dist/browserTestUtil/types/current/matchers/toBeCloseToWithin.d.ts +5 -0
- package/dist/browserTestUtil/types/current/matchers/toBeCloseToWithin.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/matchers/toBeCloseToWithin.js +25 -0
- package/dist/browserTestUtil/types/current/mock/asSpy.d.ts +18 -0
- package/dist/browserTestUtil/types/current/mock/asSpy.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/asSpy.js +24 -0
- package/dist/browserTestUtil/types/current/mock/createSpyFactory.d.ts +44 -0
- package/dist/browserTestUtil/types/current/mock/createSpyFactory.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/createSpyFactory.js +27 -0
- package/dist/browserTestUtil/types/current/mock/dom/MockTimeRanges.d.ts +12 -0
- package/dist/browserTestUtil/types/current/mock/dom/MockTimeRanges.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/dom/MockTimeRanges.js +30 -0
- package/dist/browserTestUtil/types/current/mock/dom/globals.d.ts +11 -0
- package/dist/browserTestUtil/types/current/mock/dom/globals.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/dom/globals.js +15 -0
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.d.ts +2110 -0
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/dom/lib.dom.js +1828 -0
- package/dist/browserTestUtil/types/current/mock/dom/mockEvent.d.ts +7 -0
- package/dist/browserTestUtil/types/current/mock/dom/mockEvent.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/dom/mockEvent.js +14 -0
- package/dist/browserTestUtil/types/current/mock/implementEventFakes.d.ts +17 -0
- package/dist/browserTestUtil/types/current/mock/implementEventFakes.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/implementEventFakes.js +108 -0
- package/dist/browserTestUtil/types/current/mock/polyfillCustomEvent.d.ts +2 -0
- package/dist/browserTestUtil/types/current/mock/polyfillCustomEvent.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/mock/polyfillCustomEvent.js +26 -0
- package/dist/browserTestUtil/types/current/reporters/ConsoleReporter.d.ts +10 -0
- package/dist/browserTestUtil/types/current/reporters/ConsoleReporter.d.ts.map +1 -0
- package/dist/browserTestUtil/types/current/reporters/ConsoleReporter.js +32 -0
- package/dist/browserTestUtil/types/current/tsconfig.tsbuildinfo +1 -0
- package/dist/browserTestUtil/types/ts3.7/async/async.d.ts +30 -0
- package/dist/browserTestUtil/types/ts3.7/async/createCallbackTimingTest.d.ts +16 -0
- package/dist/browserTestUtil/types/ts3.7/async/marble.d.ts +12 -0
- package/dist/browserTestUtil/types/ts3.7/benchmark/Benchmark.d.ts +84 -0
- package/dist/browserTestUtil/types/ts3.7/env/jasmineEnv.d.ts +14 -0
- package/dist/browserTestUtil/types/ts3.7/expect/expectIterableEquals.d.ts +8 -0
- package/dist/browserTestUtil/types/ts3.7/expect/expectNothing.d.ts +5 -0
- package/dist/browserTestUtil/types/ts3.7/expect/prototype.d.ts +18 -0
- package/dist/browserTestUtil/types/ts3.7/expect/typesafety.d.ts +50 -0
- package/dist/browserTestUtil/types/ts3.7/index.d.ts +22 -0
- package/dist/browserTestUtil/types/ts3.7/matchers/customMatchers.d.ts +9 -0
- package/dist/browserTestUtil/types/ts3.7/matchers/toBeCloseToWithin.d.ts +5 -0
- package/dist/browserTestUtil/types/ts3.7/mock/asSpy.d.ts +18 -0
- package/dist/browserTestUtil/types/ts3.7/mock/createSpyFactory.d.ts +44 -0
- package/dist/browserTestUtil/types/ts3.7/mock/dom/MockTimeRanges.d.ts +15 -0
- package/dist/browserTestUtil/types/ts3.7/mock/dom/globals.d.ts +11 -0
- package/dist/browserTestUtil/types/ts3.7/mock/dom/lib.dom.d.ts +2110 -0
- package/dist/browserTestUtil/types/ts3.7/mock/dom/mockEvent.d.ts +7 -0
- package/dist/browserTestUtil/types/ts3.7/mock/implementEventFakes.d.ts +17 -0
- package/dist/browserTestUtil/types/ts3.7/mock/polyfillCustomEvent.d.ts +2 -0
- package/dist/browserTestUtil/types/ts3.7/reporters/ConsoleReporter.d.ts +10 -0
- package/dist/browserTestUtil/types/ts4.1/async/async.d.ts +30 -0
- package/dist/browserTestUtil/types/ts4.1/async/createCallbackTimingTest.d.ts +16 -0
- package/dist/browserTestUtil/types/ts4.1/async/marble.d.ts +12 -0
- package/dist/browserTestUtil/types/ts4.1/benchmark/Benchmark.d.ts +84 -0
- package/dist/browserTestUtil/types/ts4.1/env/jasmineEnv.d.ts +14 -0
- package/dist/browserTestUtil/types/ts4.1/expect/expectIterableEquals.d.ts +8 -0
- package/dist/browserTestUtil/types/ts4.1/expect/expectNothing.d.ts +5 -0
- package/dist/browserTestUtil/types/ts4.1/expect/prototype.d.ts +18 -0
- package/dist/browserTestUtil/types/ts4.1/expect/typesafety.d.ts +50 -0
- package/dist/browserTestUtil/types/ts4.1/index.d.ts +22 -0
- package/dist/browserTestUtil/types/ts4.1/matchers/customMatchers.d.ts +9 -0
- package/dist/browserTestUtil/types/ts4.1/matchers/toBeCloseToWithin.d.ts +5 -0
- package/dist/browserTestUtil/types/ts4.1/mock/asSpy.d.ts +18 -0
- package/dist/browserTestUtil/types/ts4.1/mock/createSpyFactory.d.ts +44 -0
- package/dist/browserTestUtil/types/ts4.1/mock/dom/MockTimeRanges.d.ts +15 -0
- package/dist/browserTestUtil/types/ts4.1/mock/dom/globals.d.ts +11 -0
- package/dist/browserTestUtil/types/ts4.1/mock/dom/lib.dom.d.ts +2110 -0
- package/dist/browserTestUtil/types/ts4.1/mock/dom/mockEvent.d.ts +7 -0
- package/dist/browserTestUtil/types/ts4.1/mock/implementEventFakes.d.ts +17 -0
- package/dist/browserTestUtil/types/ts4.1/mock/polyfillCustomEvent.d.ts +2 -0
- package/dist/browserTestUtil/types/ts4.1/reporters/ConsoleReporter.d.ts +10 -0
- package/dist/browserTestUtil/types/ts4.7/async/async.d.ts +30 -0
- package/dist/browserTestUtil/types/ts4.7/async/createCallbackTimingTest.d.ts +16 -0
- package/dist/browserTestUtil/types/ts4.7/async/marble.d.ts +12 -0
- package/dist/browserTestUtil/types/ts4.7/benchmark/Benchmark.d.ts +90 -0
- package/dist/browserTestUtil/types/ts4.7/env/jasmineEnv.d.ts +14 -0
- package/dist/browserTestUtil/types/ts4.7/expect/expectIterableEquals.d.ts +8 -0
- package/dist/browserTestUtil/types/ts4.7/expect/expectNothing.d.ts +5 -0
- package/dist/browserTestUtil/types/ts4.7/expect/prototype.d.ts +18 -0
- package/dist/browserTestUtil/types/ts4.7/expect/typesafety.d.ts +50 -0
- package/dist/browserTestUtil/types/ts4.7/index.d.ts +22 -0
- package/dist/browserTestUtil/types/ts4.7/matchers/customMatchers.d.ts +9 -0
- package/dist/browserTestUtil/types/ts4.7/matchers/toBeCloseToWithin.d.ts +5 -0
- package/dist/browserTestUtil/types/ts4.7/mock/asSpy.d.ts +18 -0
- package/dist/browserTestUtil/types/ts4.7/mock/createSpyFactory.d.ts +44 -0
- package/dist/browserTestUtil/types/ts4.7/mock/dom/MockTimeRanges.d.ts +15 -0
- package/dist/browserTestUtil/types/ts4.7/mock/dom/globals.d.ts +11 -0
- package/dist/browserTestUtil/types/ts4.7/mock/dom/lib.dom.d.ts +2110 -0
- package/dist/browserTestUtil/types/ts4.7/mock/dom/mockEvent.d.ts +7 -0
- package/dist/browserTestUtil/types/ts4.7/mock/implementEventFakes.d.ts +17 -0
- package/dist/browserTestUtil/types/ts4.7/mock/polyfillCustomEvent.d.ts +2 -0
- package/dist/browserTestUtil/types/ts4.7/reporters/ConsoleReporter.d.ts +10 -0
- package/dist/index.cjs +6104 -0
- package/dist/index.cjs.map +7 -0
- package/dist/index.js +6084 -0
- package/dist/index.js.map +7 -0
- package/dist/polyfill/index.d.ts +7 -0
- package/dist/polyfill/index.d.ts.map +1 -0
- package/dist/polyfill/index.js +3552 -0
- package/dist/polyfill/index.js.map +7 -0
- package/dist/polyfill/tsconfig.tsbuildinfo +1 -0
- package/dist/test/benchmark.es5.js +266 -0
- package/dist/test/benchmark.js +2026 -0
- package/dist/test/benchmark.js.map +7 -0
- package/dist/testUtil/index.js +593 -0
- package/dist/testUtil/index.js.map +7 -0
- package/dist/testUtil/types/current/error/uncaughtErrorUtil.d.ts +15 -0
- package/dist/testUtil/types/current/error/uncaughtErrorUtil.d.ts.map +1 -0
- package/dist/testUtil/types/current/error/uncaughtErrorUtil.js +52 -0
- package/dist/testUtil/types/current/global/overrideGlobalInit.d.ts +5 -0
- package/dist/testUtil/types/current/global/overrideGlobalInit.d.ts.map +1 -0
- package/dist/testUtil/types/current/global/overrideGlobalInit.js +10 -0
- package/dist/testUtil/types/current/index.d.ts +20 -0
- package/dist/testUtil/types/current/index.d.ts.map +1 -0
- package/dist/testUtil/types/current/index.js +19 -0
- package/dist/testUtil/types/current/mock/event/MockEventHost.d.ts +15 -0
- package/dist/testUtil/types/current/mock/event/MockEventHost.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/event/MockEventHost.js +21 -0
- package/dist/testUtil/types/current/mock/event/emptyLogTarget.d.ts +3 -0
- package/dist/testUtil/types/current/mock/event/emptyLogTarget.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/event/emptyLogTarget.js +7 -0
- package/dist/testUtil/types/current/mock/logging/MockLogger.d.ts +18 -0
- package/dist/testUtil/types/current/mock/logging/MockLogger.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/logging/MockLogger.js +41 -0
- package/dist/testUtil/types/current/mock/navigator/setMockNavigator.d.ts +7 -0
- package/dist/testUtil/types/current/mock/navigator/setMockNavigator.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/navigator/setMockNavigator.js +15 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkInformation.d.ts +10 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkInformation.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkInformation.js +12 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.d.ts +10 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkMetricsController.js +15 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkState.d.ts +7 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkState.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/network/MockNetworkState.js +11 -0
- package/dist/testUtil/types/current/mock/network/MockRequester.d.ts +6 -0
- package/dist/testUtil/types/current/mock/network/MockRequester.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/network/MockRequester.js +10 -0
- package/dist/testUtil/types/current/mock/network/emptyRequestInfo.d.ts +10 -0
- package/dist/testUtil/types/current/mock/network/emptyRequestInfo.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/network/emptyRequestInfo.js +71 -0
- package/dist/testUtil/types/current/mock/persistence/MockPersistence.d.ts +9 -0
- package/dist/testUtil/types/current/mock/persistence/MockPersistence.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/persistence/MockPersistence.js +12 -0
- package/dist/testUtil/types/current/mock/util/spyOnPropertySafe.d.ts +6 -0
- package/dist/testUtil/types/current/mock/util/spyOnPropertySafe.d.ts.map +1 -0
- package/dist/testUtil/types/current/mock/util/spyOnPropertySafe.js +20 -0
- package/dist/testUtil/types/current/patch/addPatchTests.d.ts +35 -0
- package/dist/testUtil/types/current/patch/addPatchTests.d.ts.map +1 -0
- package/dist/testUtil/types/current/patch/addPatchTests.js +54 -0
- package/dist/testUtil/types/current/reporters/LogReporter.d.ts +57 -0
- package/dist/testUtil/types/current/reporters/LogReporter.d.ts.map +1 -0
- package/dist/testUtil/types/current/reporters/LogReporter.js +145 -0
- package/dist/testUtil/types/current/reporters/RestApiReporter.d.ts +23 -0
- package/dist/testUtil/types/current/reporters/RestApiReporter.d.ts.map +1 -0
- package/dist/testUtil/types/current/reporters/RestApiReporter.js +91 -0
- package/dist/testUtil/types/current/tsconfig.tsbuildinfo +1 -0
- package/dist/testUtil/types/current/util/event/createEventSpy.d.ts +31 -0
- package/dist/testUtil/types/current/util/event/createEventSpy.d.ts.map +1 -0
- package/dist/testUtil/types/current/util/event/createEventSpy.js +33 -0
- package/dist/testUtil/types/current/util/initializeUncaughtErrorLogging.d.ts +6 -0
- package/dist/testUtil/types/current/util/initializeUncaughtErrorLogging.d.ts.map +1 -0
- package/dist/testUtil/types/current/util/initializeUncaughtErrorLogging.js +20 -0
- package/dist/testUtil/types/ts3.7/error/uncaughtErrorUtil.d.ts +15 -0
- package/dist/testUtil/types/ts3.7/global/overrideGlobalInit.d.ts +5 -0
- package/dist/testUtil/types/ts3.7/index.d.ts +20 -0
- package/dist/testUtil/types/ts3.7/mock/event/MockEventHost.d.ts +15 -0
- package/dist/testUtil/types/ts3.7/mock/event/emptyLogTarget.d.ts +3 -0
- package/dist/testUtil/types/ts3.7/mock/logging/MockLogger.d.ts +18 -0
- package/dist/testUtil/types/ts3.7/mock/navigator/setMockNavigator.d.ts +7 -0
- package/dist/testUtil/types/ts3.7/mock/network/MockNetworkInformation.d.ts +10 -0
- package/dist/testUtil/types/ts3.7/mock/network/MockNetworkMetricsController.d.ts +10 -0
- package/dist/testUtil/types/ts3.7/mock/network/MockNetworkState.d.ts +7 -0
- package/dist/testUtil/types/ts3.7/mock/network/MockRequester.d.ts +6 -0
- package/dist/testUtil/types/ts3.7/mock/network/emptyRequestInfo.d.ts +10 -0
- package/dist/testUtil/types/ts3.7/mock/persistence/MockPersistence.d.ts +9 -0
- package/dist/testUtil/types/ts3.7/mock/util/spyOnPropertySafe.d.ts +6 -0
- package/dist/testUtil/types/ts3.7/patch/addPatchTests.d.ts +35 -0
- package/dist/testUtil/types/ts3.7/reporters/LogReporter.d.ts +57 -0
- package/dist/testUtil/types/ts3.7/reporters/RestApiReporter.d.ts +23 -0
- package/dist/testUtil/types/ts3.7/util/event/createEventSpy.d.ts +31 -0
- package/dist/testUtil/types/ts3.7/util/initializeUncaughtErrorLogging.d.ts +6 -0
- package/dist/testUtil/types/ts4.1/error/uncaughtErrorUtil.d.ts +15 -0
- package/dist/testUtil/types/ts4.1/global/overrideGlobalInit.d.ts +5 -0
- package/dist/testUtil/types/ts4.1/index.d.ts +20 -0
- package/dist/testUtil/types/ts4.1/mock/event/MockEventHost.d.ts +15 -0
- package/dist/testUtil/types/ts4.1/mock/event/emptyLogTarget.d.ts +3 -0
- package/dist/testUtil/types/ts4.1/mock/logging/MockLogger.d.ts +18 -0
- package/dist/testUtil/types/ts4.1/mock/navigator/setMockNavigator.d.ts +7 -0
- package/dist/testUtil/types/ts4.1/mock/network/MockNetworkInformation.d.ts +10 -0
- package/dist/testUtil/types/ts4.1/mock/network/MockNetworkMetricsController.d.ts +10 -0
- package/dist/testUtil/types/ts4.1/mock/network/MockNetworkState.d.ts +7 -0
- package/dist/testUtil/types/ts4.1/mock/network/MockRequester.d.ts +6 -0
- package/dist/testUtil/types/ts4.1/mock/network/emptyRequestInfo.d.ts +10 -0
- package/dist/testUtil/types/ts4.1/mock/persistence/MockPersistence.d.ts +9 -0
- package/dist/testUtil/types/ts4.1/mock/util/spyOnPropertySafe.d.ts +6 -0
- package/dist/testUtil/types/ts4.1/patch/addPatchTests.d.ts +35 -0
- package/dist/testUtil/types/ts4.1/reporters/LogReporter.d.ts +58 -0
- package/dist/testUtil/types/ts4.1/reporters/RestApiReporter.d.ts +24 -0
- package/dist/testUtil/types/ts4.1/util/event/createEventSpy.d.ts +31 -0
- package/dist/testUtil/types/ts4.1/util/initializeUncaughtErrorLogging.d.ts +6 -0
- package/dist/testUtil/types/ts4.7/error/uncaughtErrorUtil.d.ts +15 -0
- package/dist/testUtil/types/ts4.7/global/overrideGlobalInit.d.ts +5 -0
- package/dist/testUtil/types/ts4.7/index.d.ts +20 -0
- package/dist/testUtil/types/ts4.7/mock/event/MockEventHost.d.ts +15 -0
- package/dist/testUtil/types/ts4.7/mock/event/emptyLogTarget.d.ts +3 -0
- package/dist/testUtil/types/ts4.7/mock/logging/MockLogger.d.ts +18 -0
- package/dist/testUtil/types/ts4.7/mock/navigator/setMockNavigator.d.ts +7 -0
- package/dist/testUtil/types/ts4.7/mock/network/MockNetworkInformation.d.ts +10 -0
- package/dist/testUtil/types/ts4.7/mock/network/MockNetworkMetricsController.d.ts +10 -0
- package/dist/testUtil/types/ts4.7/mock/network/MockNetworkState.d.ts +7 -0
- package/dist/testUtil/types/ts4.7/mock/network/MockRequester.d.ts +6 -0
- package/dist/testUtil/types/ts4.7/mock/network/emptyRequestInfo.d.ts +10 -0
- package/dist/testUtil/types/ts4.7/mock/persistence/MockPersistence.d.ts +9 -0
- package/dist/testUtil/types/ts4.7/mock/util/spyOnPropertySafe.d.ts +6 -0
- package/dist/testUtil/types/ts4.7/patch/addPatchTests.d.ts +35 -0
- package/dist/testUtil/types/ts4.7/reporters/LogReporter.d.ts +57 -0
- package/dist/testUtil/types/ts4.7/reporters/RestApiReporter.d.ts +23 -0
- package/dist/testUtil/types/ts4.7/util/event/createEventSpy.d.ts +31 -0
- package/dist/testUtil/types/ts4.7/util/initializeUncaughtErrorLogging.d.ts +6 -0
- package/dist/types/current/client/Version.d.ts +38 -0
- package/dist/types/current/client/Version.d.ts.map +1 -0
- package/dist/types/current/client/Version.js +40 -0
- package/dist/types/current/client/userAgent/UserAgentInfo.d.ts +36 -0
- package/dist/types/current/client/userAgent/UserAgentInfo.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/UserAgentInfo.js +12 -0
- package/dist/types/current/client/userAgent/defaultUserAgentRules.d.ts +94 -0
- package/dist/types/current/client/userAgent/defaultUserAgentRules.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/defaultUserAgentRules.js +251 -0
- package/dist/types/current/client/userAgent/hasBrowser.d.ts +26 -0
- package/dist/types/current/client/userAgent/hasBrowser.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/hasBrowser.js +49 -0
- package/dist/types/current/client/userAgent/parseUserAgent.d.ts +14 -0
- package/dist/types/current/client/userAgent/parseUserAgent.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/parseUserAgent.js +67 -0
- package/dist/types/current/client/userAgent/tokenizeUserAgent.d.ts +104 -0
- package/dist/types/current/client/userAgent/tokenizeUserAgent.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/tokenizeUserAgent.js +167 -0
- package/dist/types/current/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
- package/dist/types/current/client/userAgent/userAgentRuleHelpers.d.ts.map +1 -0
- package/dist/types/current/client/userAgent/userAgentRuleHelpers.js +96 -0
- package/dist/types/current/core/Unsubscribe.d.ts +2 -0
- package/dist/types/current/core/Unsubscribe.d.ts.map +1 -0
- package/dist/types/current/core/Unsubscribe.js +5 -0
- package/dist/types/current/core/clearable.d.ts +19 -0
- package/dist/types/current/core/clearable.d.ts.map +1 -0
- package/dist/types/current/core/clearable.js +24 -0
- package/dist/types/current/core/cloneable.d.ts +14 -0
- package/dist/types/current/core/cloneable.d.ts.map +1 -0
- package/dist/types/current/core/cloneable.js +14 -0
- package/dist/types/current/core/disposable.d.ts +66 -0
- package/dist/types/current/core/disposable.d.ts.map +1 -0
- package/dist/types/current/core/disposable.js +91 -0
- package/dist/types/current/error/AbortError.d.ts +6 -0
- package/dist/types/current/error/AbortError.d.ts.map +1 -0
- package/dist/types/current/error/AbortError.js +15 -0
- package/dist/types/current/error/ErrorOrigin.d.ts +45 -0
- package/dist/types/current/error/ErrorOrigin.d.ts.map +1 -0
- package/dist/types/current/error/ErrorOrigin.js +48 -0
- package/dist/types/current/error/IllegalArgumentError.d.ts +10 -0
- package/dist/types/current/error/IllegalArgumentError.d.ts.map +1 -0
- package/dist/types/current/error/IllegalArgumentError.js +20 -0
- package/dist/types/current/error/IllegalStateError.d.ts +9 -0
- package/dist/types/current/error/IllegalStateError.d.ts.map +1 -0
- package/dist/types/current/error/IllegalStateError.js +17 -0
- package/dist/types/current/error/MediaUnsupportedError.d.ts +9 -0
- package/dist/types/current/error/MediaUnsupportedError.d.ts.map +1 -0
- package/dist/types/current/error/MediaUnsupportedError.js +20 -0
- package/dist/types/current/error/ReportableError.d.ts +39 -0
- package/dist/types/current/error/ReportableError.d.ts.map +1 -0
- package/dist/types/current/error/ReportableError.js +66 -0
- package/dist/types/current/error/ServiceResponseError.d.ts +14 -0
- package/dist/types/current/error/ServiceResponseError.d.ts.map +1 -0
- package/dist/types/current/error/ServiceResponseError.js +31 -0
- package/dist/types/current/error/StackOverflowError.d.ts +9 -0
- package/dist/types/current/error/StackOverflowError.d.ts.map +1 -0
- package/dist/types/current/error/StackOverflowError.js +17 -0
- package/dist/types/current/error/TimeoutError.d.ts +6 -0
- package/dist/types/current/error/TimeoutError.d.ts.map +1 -0
- package/dist/types/current/error/TimeoutError.js +15 -0
- package/dist/types/current/error/UnreachableCodeError.d.ts +9 -0
- package/dist/types/current/error/UnreachableCodeError.d.ts.map +1 -0
- package/dist/types/current/error/UnreachableCodeError.js +17 -0
- package/dist/types/current/error/ValidationError.d.ts +17 -0
- package/dist/types/current/error/ValidationError.d.ts.map +1 -0
- package/dist/types/current/error/ValidationError.js +32 -0
- package/dist/types/current/event/DomEventHost.d.ts +45 -0
- package/dist/types/current/event/DomEventHost.d.ts.map +1 -0
- package/dist/types/current/event/DomEventHost.js +53 -0
- package/dist/types/current/event/EventHost.d.ts +69 -0
- package/dist/types/current/event/EventHost.d.ts.map +1 -0
- package/dist/types/current/event/EventHost.js +38 -0
- package/dist/types/current/event/Signal.d.ts +57 -0
- package/dist/types/current/event/Signal.d.ts.map +1 -0
- package/dist/types/current/event/Signal.js +66 -0
- package/dist/types/current/event/nextEventAsPromise.d.ts +30 -0
- package/dist/types/current/event/nextEventAsPromise.d.ts.map +1 -0
- package/dist/types/current/event/nextEventAsPromise.js +23 -0
- package/dist/types/current/event/onAny.d.ts +13 -0
- package/dist/types/current/event/onAny.d.ts.map +1 -0
- package/dist/types/current/event/onAny.js +24 -0
- package/dist/types/current/event/redispatchEvents.d.ts +15 -0
- package/dist/types/current/event/redispatchEvents.d.ts.map +1 -0
- package/dist/types/current/event/redispatchEvents.js +23 -0
- package/dist/types/current/global/environment.d.ts +26 -0
- package/dist/types/current/global/environment.d.ts.map +1 -0
- package/dist/types/current/global/environment.js +29 -0
- package/dist/types/current/global/globalRegistry.d.ts +86 -0
- package/dist/types/current/global/globalRegistry.d.ts.map +1 -0
- package/dist/types/current/global/globalRegistry.js +181 -0
- package/dist/types/current/global/globalTarget.d.ts +8 -0
- package/dist/types/current/global/globalTarget.d.ts.map +1 -0
- package/dist/types/current/global/globalTarget.js +12 -0
- package/dist/types/current/index.d.ts +118 -0
- package/dist/types/current/index.d.ts.map +1 -0
- package/dist/types/current/index.js +117 -0
- package/dist/types/current/logging/ConsoleLogHandler.d.ts +26 -0
- package/dist/types/current/logging/ConsoleLogHandler.d.ts.map +1 -0
- package/dist/types/current/logging/ConsoleLogHandler.js +43 -0
- package/dist/types/current/logging/HistoryLogHandler.d.ts +56 -0
- package/dist/types/current/logging/HistoryLogHandler.d.ts.map +1 -0
- package/dist/types/current/logging/HistoryLogHandler.js +54 -0
- package/dist/types/current/logging/LogTarget.d.ts +19 -0
- package/dist/types/current/logging/LogTarget.d.ts.map +1 -0
- package/dist/types/current/logging/LogTarget.js +18 -0
- package/dist/types/current/logging/Logger.d.ts +66 -0
- package/dist/types/current/logging/Logger.d.ts.map +1 -0
- package/dist/types/current/logging/Logger.js +110 -0
- package/dist/types/current/logging/VinylLogging.d.ts +9 -0
- package/dist/types/current/logging/VinylLogging.d.ts.map +1 -0
- package/dist/types/current/logging/VinylLogging.js +22 -0
- package/dist/types/current/logging/getLogLevelFromSearch.d.ts +8 -0
- package/dist/types/current/logging/getLogLevelFromSearch.d.ts.map +1 -0
- package/dist/types/current/logging/getLogLevelFromSearch.js +17 -0
- package/dist/types/current/logging/logTimer.d.ts +10 -0
- package/dist/types/current/logging/logTimer.d.ts.map +1 -0
- package/dist/types/current/logging/logTimer.js +18 -0
- package/dist/types/current/network/RequestError.d.ts +26 -0
- package/dist/types/current/network/RequestError.d.ts.map +1 -0
- package/dist/types/current/network/RequestError.js +78 -0
- package/dist/types/current/network/RequestInterceptor.d.ts +14 -0
- package/dist/types/current/network/RequestInterceptor.d.ts.map +1 -0
- package/dist/types/current/network/RequestInterceptor.js +5 -0
- package/dist/types/current/network/Requester.d.ts +84 -0
- package/dist/types/current/network/Requester.d.ts.map +1 -0
- package/dist/types/current/network/Requester.js +10 -0
- package/dist/types/current/network/RequesterImpl.d.ts +120 -0
- package/dist/types/current/network/RequesterImpl.d.ts.map +1 -0
- package/dist/types/current/network/RequesterImpl.js +321 -0
- package/dist/types/current/network/RequesterImplEventMap.d.ts +230 -0
- package/dist/types/current/network/RequesterImplEventMap.d.ts.map +1 -0
- package/dist/types/current/network/RequesterImplEventMap.js +23 -0
- package/dist/types/current/network/browser/NetworkInformation.d.ts +48 -0
- package/dist/types/current/network/browser/NetworkInformation.d.ts.map +1 -0
- package/dist/types/current/network/browser/NetworkInformation.js +17 -0
- package/dist/types/current/network/createRequester.d.ts +12 -0
- package/dist/types/current/network/createRequester.d.ts.map +1 -0
- package/dist/types/current/network/createRequester.js +29 -0
- package/dist/types/current/network/logging/networkLoggingHandler.d.ts +14 -0
- package/dist/types/current/network/logging/networkLoggingHandler.d.ts.map +1 -0
- package/dist/types/current/network/logging/networkLoggingHandler.js +74 -0
- package/dist/types/current/network/metrics/NetworkMetricsController.d.ts +41 -0
- package/dist/types/current/network/metrics/NetworkMetricsController.d.ts.map +1 -0
- package/dist/types/current/network/metrics/NetworkMetricsController.js +5 -0
- package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
- package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.d.ts.map +1 -0
- package/dist/types/current/network/metrics/NetworkMetricsControllerImpl.js +210 -0
- package/dist/types/current/network/metrics/networkMetricsGlobal.d.ts +11 -0
- package/dist/types/current/network/metrics/networkMetricsGlobal.d.ts.map +1 -0
- package/dist/types/current/network/metrics/networkMetricsGlobal.js +19 -0
- package/dist/types/current/network/metrics/networkMetricsModel.d.ts +147 -0
- package/dist/types/current/network/metrics/networkMetricsModel.d.ts.map +1 -0
- package/dist/types/current/network/metrics/networkMetricsModel.js +35 -0
- package/dist/types/current/network/network.d.ts +47 -0
- package/dist/types/current/network/network.d.ts.map +1 -0
- package/dist/types/current/network/network.js +54 -0
- package/dist/types/current/network/requesterGlobal.d.ts +19 -0
- package/dist/types/current/network/requesterGlobal.d.ts.map +1 -0
- package/dist/types/current/network/requesterGlobal.js +29 -0
- package/dist/types/current/network/requesterUtil.d.ts +28 -0
- package/dist/types/current/network/requesterUtil.d.ts.map +1 -0
- package/dist/types/current/network/requesterUtil.js +71 -0
- package/dist/types/current/network/responseUtil.d.ts +10 -0
- package/dist/types/current/network/responseUtil.d.ts.map +1 -0
- package/dist/types/current/network/responseUtil.js +14 -0
- package/dist/types/current/patch/network/fetch.d.ts +11 -0
- package/dist/types/current/patch/network/fetch.d.ts.map +1 -0
- package/dist/types/current/patch/network/fetch.js +43 -0
- package/dist/types/current/patch/patchTarget.d.ts +114 -0
- package/dist/types/current/patch/patchTarget.d.ts.map +1 -0
- package/dist/types/current/patch/patchTarget.js +219 -0
- package/dist/types/current/persistence/KeyValuePersistence.d.ts +28 -0
- package/dist/types/current/persistence/KeyValuePersistence.d.ts.map +1 -0
- package/dist/types/current/persistence/KeyValuePersistence.js +5 -0
- package/dist/types/current/persistence/PersistentItem.d.ts +86 -0
- package/dist/types/current/persistence/PersistentItem.d.ts.map +1 -0
- package/dist/types/current/persistence/PersistentItem.js +70 -0
- package/dist/types/current/persistence/StoragePersistence.d.ts +11 -0
- package/dist/types/current/persistence/StoragePersistence.d.ts.map +1 -0
- package/dist/types/current/persistence/StoragePersistence.js +25 -0
- package/dist/types/current/persistence/persistenceRef.d.ts +7 -0
- package/dist/types/current/persistence/persistenceRef.d.ts.map +1 -0
- package/dist/types/current/persistence/persistenceRef.js +13 -0
- package/dist/types/current/tsconfig.tsbuildinfo +1 -0
- package/dist/types/current/util/async/Abort.d.ts +99 -0
- package/dist/types/current/util/async/Abort.d.ts.map +1 -0
- package/dist/types/current/util/async/Abort.js +122 -0
- package/dist/types/current/util/async/Deferred.d.ts +25 -0
- package/dist/types/current/util/async/Deferred.d.ts.map +1 -0
- package/dist/types/current/util/async/Deferred.js +41 -0
- package/dist/types/current/util/async/TaskQueue.d.ts +74 -0
- package/dist/types/current/util/async/TaskQueue.d.ts.map +1 -0
- package/dist/types/current/util/async/TaskQueue.js +124 -0
- package/dist/types/current/util/async/TimeoutController.d.ts +36 -0
- package/dist/types/current/util/async/TimeoutController.d.ts.map +1 -0
- package/dist/types/current/util/async/TimeoutController.js +62 -0
- package/dist/types/current/util/async/TimeoutSlot.d.ts +29 -0
- package/dist/types/current/util/async/TimeoutSlot.d.ts.map +1 -0
- package/dist/types/current/util/async/TimeoutSlot.js +50 -0
- package/dist/types/current/util/async/abortUtils.d.ts +15 -0
- package/dist/types/current/util/async/abortUtils.d.ts.map +1 -0
- package/dist/types/current/util/async/abortUtils.js +27 -0
- package/dist/types/current/util/async/never.d.ts +5 -0
- package/dist/types/current/util/async/never.d.ts.map +1 -0
- package/dist/types/current/util/async/never.js +22 -0
- package/dist/types/current/util/async/promise.d.ts +53 -0
- package/dist/types/current/util/async/promise.d.ts.map +1 -0
- package/dist/types/current/util/async/promise.js +131 -0
- package/dist/types/current/util/async/sleep.d.ts +27 -0
- package/dist/types/current/util/async/sleep.d.ts.map +1 -0
- package/dist/types/current/util/async/sleep.js +41 -0
- package/dist/types/current/util/async/timeout.d.ts +29 -0
- package/dist/types/current/util/async/timeout.d.ts.map +1 -0
- package/dist/types/current/util/async/timeout.js +55 -0
- package/dist/types/current/util/browser/searchParams.d.ts +13 -0
- package/dist/types/current/util/browser/searchParams.d.ts.map +1 -0
- package/dist/types/current/util/browser/searchParams.js +26 -0
- package/dist/types/current/util/buffer/BufferError.d.ts +6 -0
- package/dist/types/current/util/buffer/BufferError.d.ts.map +1 -0
- package/dist/types/current/util/buffer/BufferError.js +15 -0
- package/dist/types/current/util/buffer/BufferReader.d.ts +77 -0
- package/dist/types/current/util/buffer/BufferReader.d.ts.map +1 -0
- package/dist/types/current/util/buffer/BufferReader.js +150 -0
- package/dist/types/current/util/buffer/BufferWriter.d.ts +30 -0
- package/dist/types/current/util/buffer/BufferWriter.d.ts.map +1 -0
- package/dist/types/current/util/buffer/BufferWriter.js +80 -0
- package/dist/types/current/util/buffer/buffer.d.ts +55 -0
- package/dist/types/current/util/buffer/buffer.d.ts.map +1 -0
- package/dist/types/current/util/buffer/buffer.js +99 -0
- package/dist/types/current/util/collection/CacheMap.d.ts +12 -0
- package/dist/types/current/util/collection/CacheMap.d.ts.map +1 -0
- package/dist/types/current/util/collection/CacheMap.js +5 -0
- package/dist/types/current/util/collection/LinkedList.d.ts +165 -0
- package/dist/types/current/util/collection/LinkedList.d.ts.map +1 -0
- package/dist/types/current/util/collection/LinkedList.js +332 -0
- package/dist/types/current/util/collection/LruCache.d.ts +93 -0
- package/dist/types/current/util/collection/LruCache.d.ts.map +1 -0
- package/dist/types/current/util/collection/LruCache.js +170 -0
- package/dist/types/current/util/collection/array.d.ts +207 -0
- package/dist/types/current/util/collection/array.d.ts.map +1 -0
- package/dist/types/current/util/collection/array.js +403 -0
- package/dist/types/current/util/collection/typedArray.d.ts +17 -0
- package/dist/types/current/util/collection/typedArray.d.ts.map +1 -0
- package/dist/types/current/util/collection/typedArray.js +32 -0
- package/dist/types/current/util/comparison/compare.d.ts +33 -0
- package/dist/types/current/util/comparison/compare.d.ts.map +1 -0
- package/dist/types/current/util/comparison/compare.js +53 -0
- package/dist/types/current/util/config/ValueProvider.d.ts +17 -0
- package/dist/types/current/util/config/ValueProvider.d.ts.map +1 -0
- package/dist/types/current/util/config/ValueProvider.js +18 -0
- package/dist/types/current/util/date/date.d.ts +32 -0
- package/dist/types/current/util/date/date.d.ts.map +1 -0
- package/dist/types/current/util/date/date.js +49 -0
- package/dist/types/current/util/error/stack.d.ts +79 -0
- package/dist/types/current/util/error/stack.d.ts.map +1 -0
- package/dist/types/current/util/error/stack.js +135 -0
- package/dist/types/current/util/fun/debounce.d.ts +12 -0
- package/dist/types/current/util/fun/debounce.d.ts.map +1 -0
- package/dist/types/current/util/fun/debounce.js +28 -0
- package/dist/types/current/util/fun/flow.d.ts +38 -0
- package/dist/types/current/util/fun/flow.d.ts.map +1 -0
- package/dist/types/current/util/fun/flow.js +28 -0
- package/dist/types/current/util/fun/function.d.ts +5 -0
- package/dist/types/current/util/fun/function.d.ts.map +1 -0
- package/dist/types/current/util/fun/function.js +8 -0
- package/dist/types/current/util/fun/memoize.d.ts +24 -0
- package/dist/types/current/util/fun/memoize.d.ts.map +1 -0
- package/dist/types/current/util/fun/memoize.js +62 -0
- package/dist/types/current/util/fun/throttle.d.ts +34 -0
- package/dist/types/current/util/fun/throttle.d.ts.map +1 -0
- package/dist/types/current/util/fun/throttle.js +66 -0
- package/dist/types/current/util/iteration/iterable.d.ts +26 -0
- package/dist/types/current/util/iteration/iterable.d.ts.map +1 -0
- package/dist/types/current/util/iteration/iterable.js +97 -0
- package/dist/types/current/util/map/map.d.ts +17 -0
- package/dist/types/current/util/map/map.d.ts.map +1 -0
- package/dist/types/current/util/map/map.js +35 -0
- package/dist/types/current/util/math/math.d.ts +79 -0
- package/dist/types/current/util/math/math.d.ts.map +1 -0
- package/dist/types/current/util/math/math.js +94 -0
- package/dist/types/current/util/mpeg/parseSidxBox.d.ts +100 -0
- package/dist/types/current/util/mpeg/parseSidxBox.d.ts.map +1 -0
- package/dist/types/current/util/mpeg/parseSidxBox.js +91 -0
- package/dist/types/current/util/network/request.d.ts +18 -0
- package/dist/types/current/util/network/request.d.ts.map +1 -0
- package/dist/types/current/util/network/request.js +79 -0
- package/dist/types/current/util/object/clone.d.ts +68 -0
- package/dist/types/current/util/object/clone.d.ts.map +1 -0
- package/dist/types/current/util/object/clone.js +36 -0
- package/dist/types/current/util/object/equalDeep.d.ts +54 -0
- package/dist/types/current/util/object/equalDeep.d.ts.map +1 -0
- package/dist/types/current/util/object/equalDeep.js +144 -0
- package/dist/types/current/util/object/lazy.d.ts +54 -0
- package/dist/types/current/util/object/lazy.d.ts.map +1 -0
- package/dist/types/current/util/object/lazy.js +70 -0
- package/dist/types/current/util/object/merge.d.ts +72 -0
- package/dist/types/current/util/object/merge.d.ts.map +1 -0
- package/dist/types/current/util/object/merge.js +19 -0
- package/dist/types/current/util/object/mergeDeep.d.ts +126 -0
- package/dist/types/current/util/object/mergeDeep.d.ts.map +1 -0
- package/dist/types/current/util/object/mergeDeep.js +256 -0
- package/dist/types/current/util/object/mutableType.d.ts +64 -0
- package/dist/types/current/util/object/mutableType.d.ts.map +1 -0
- package/dist/types/current/util/object/mutableType.js +5 -0
- package/dist/types/current/util/object/object.d.ts +55 -0
- package/dist/types/current/util/object/object.d.ts.map +1 -0
- package/dist/types/current/util/object/object.js +91 -0
- package/dist/types/current/util/object/readonlyType.d.ts +71 -0
- package/dist/types/current/util/object/readonlyType.d.ts.map +1 -0
- package/dist/types/current/util/object/readonlyType.js +5 -0
- package/dist/types/current/util/range/IntersectionRanges.d.ts +37 -0
- package/dist/types/current/util/range/IntersectionRanges.d.ts.map +1 -0
- package/dist/types/current/util/range/IntersectionRanges.js +77 -0
- package/dist/types/current/util/range/Ranges.d.ts +123 -0
- package/dist/types/current/util/range/Ranges.d.ts.map +1 -0
- package/dist/types/current/util/range/Ranges.js +192 -0
- package/dist/types/current/util/range/UnionRanges.d.ts +37 -0
- package/dist/types/current/util/range/UnionRanges.d.ts.map +1 -0
- package/dist/types/current/util/range/UnionRanges.js +56 -0
- package/dist/types/current/util/range/timeRanges.d.ts +14 -0
- package/dist/types/current/util/range/timeRanges.d.ts.map +1 -0
- package/dist/types/current/util/range/timeRanges.js +25 -0
- package/dist/types/current/util/serialization/ParseError.d.ts +48 -0
- package/dist/types/current/util/serialization/ParseError.d.ts.map +1 -0
- package/dist/types/current/util/serialization/ParseError.js +42 -0
- package/dist/types/current/util/serialization/json.d.ts +30 -0
- package/dist/types/current/util/serialization/json.d.ts.map +1 -0
- package/dist/types/current/util/serialization/json.js +79 -0
- package/dist/types/current/util/serialization/primitives.d.ts +24 -0
- package/dist/types/current/util/serialization/primitives.d.ts.map +1 -0
- package/dist/types/current/util/serialization/primitives.js +48 -0
- package/dist/types/current/util/serialization/stringifyForPrint.d.ts +14 -0
- package/dist/types/current/util/serialization/stringifyForPrint.d.ts.map +1 -0
- package/dist/types/current/util/serialization/stringifyForPrint.js +39 -0
- package/dist/types/current/util/set/set.d.ts +17 -0
- package/dist/types/current/util/set/set.d.ts.map +1 -0
- package/dist/types/current/util/set/set.js +29 -0
- package/dist/types/current/util/string/StringReader.d.ts +149 -0
- package/dist/types/current/util/string/StringReader.d.ts.map +1 -0
- package/dist/types/current/util/string/StringReader.js +242 -0
- package/dist/types/current/util/string/string.d.ts +130 -0
- package/dist/types/current/util/string/string.d.ts.map +1 -0
- package/dist/types/current/util/string/string.js +249 -0
- package/dist/types/current/util/string/uid.d.ts +20 -0
- package/dist/types/current/util/string/uid.d.ts.map +1 -0
- package/dist/types/current/util/string/uid.js +26 -0
- package/dist/types/current/util/type.d.ts +166 -0
- package/dist/types/current/util/type.d.ts.map +1 -0
- package/dist/types/current/util/type.js +25 -0
- package/dist/types/current/util/url/resolveUrl.d.ts +23 -0
- package/dist/types/current/util/url/resolveUrl.d.ts.map +1 -0
- package/dist/types/current/util/url/resolveUrl.js +79 -0
- package/dist/types/ts3.7/client/Version.d.ts +38 -0
- package/dist/types/ts3.7/client/userAgent/UserAgentInfo.d.ts +36 -0
- package/dist/types/ts3.7/client/userAgent/defaultUserAgentRules.d.ts +94 -0
- package/dist/types/ts3.7/client/userAgent/hasBrowser.d.ts +26 -0
- package/dist/types/ts3.7/client/userAgent/parseUserAgent.d.ts +14 -0
- package/dist/types/ts3.7/client/userAgent/tokenizeUserAgent.d.ts +104 -0
- package/dist/types/ts3.7/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
- package/dist/types/ts3.7/core/Unsubscribe.d.ts +2 -0
- package/dist/types/ts3.7/core/clearable.d.ts +19 -0
- package/dist/types/ts3.7/core/cloneable.d.ts +14 -0
- package/dist/types/ts3.7/core/disposable.d.ts +66 -0
- package/dist/types/ts3.7/error/AbortError.d.ts +6 -0
- package/dist/types/ts3.7/error/ErrorOrigin.d.ts +45 -0
- package/dist/types/ts3.7/error/IllegalArgumentError.d.ts +10 -0
- package/dist/types/ts3.7/error/IllegalStateError.d.ts +9 -0
- package/dist/types/ts3.7/error/MediaUnsupportedError.d.ts +9 -0
- package/dist/types/ts3.7/error/ReportableError.d.ts +39 -0
- package/dist/types/ts3.7/error/ServiceResponseError.d.ts +14 -0
- package/dist/types/ts3.7/error/StackOverflowError.d.ts +9 -0
- package/dist/types/ts3.7/error/TimeoutError.d.ts +6 -0
- package/dist/types/ts3.7/error/UnreachableCodeError.d.ts +9 -0
- package/dist/types/ts3.7/error/ValidationError.d.ts +17 -0
- package/dist/types/ts3.7/event/DomEventHost.d.ts +45 -0
- package/dist/types/ts3.7/event/EventHost.d.ts +69 -0
- package/dist/types/ts3.7/event/Signal.d.ts +57 -0
- package/dist/types/ts3.7/event/nextEventAsPromise.d.ts +30 -0
- package/dist/types/ts3.7/event/onAny.d.ts +13 -0
- package/dist/types/ts3.7/event/redispatchEvents.d.ts +15 -0
- package/dist/types/ts3.7/global/environment.d.ts +26 -0
- package/dist/types/ts3.7/global/globalRegistry.d.ts +83 -0
- package/dist/types/ts3.7/global/globalTarget.d.ts +8 -0
- package/dist/types/ts3.7/index.d.ts +118 -0
- package/dist/types/ts3.7/logging/ConsoleLogHandler.d.ts +26 -0
- package/dist/types/ts3.7/logging/HistoryLogHandler.d.ts +56 -0
- package/dist/types/ts3.7/logging/LogTarget.d.ts +19 -0
- package/dist/types/ts3.7/logging/Logger.d.ts +66 -0
- package/dist/types/ts3.7/logging/VinylLogging.d.ts +9 -0
- package/dist/types/ts3.7/logging/getLogLevelFromSearch.d.ts +8 -0
- package/dist/types/ts3.7/logging/logTimer.d.ts +10 -0
- package/dist/types/ts3.7/network/RequestError.d.ts +26 -0
- package/dist/types/ts3.7/network/RequestInterceptor.d.ts +14 -0
- package/dist/types/ts3.7/network/Requester.d.ts +84 -0
- package/dist/types/ts3.7/network/RequesterImpl.d.ts +116 -0
- package/dist/types/ts3.7/network/RequesterImplEventMap.d.ts +230 -0
- package/dist/types/ts3.7/network/browser/NetworkInformation.d.ts +48 -0
- package/dist/types/ts3.7/network/createRequester.d.ts +12 -0
- package/dist/types/ts3.7/network/logging/networkLoggingHandler.d.ts +14 -0
- package/dist/types/ts3.7/network/metrics/NetworkMetricsController.d.ts +41 -0
- package/dist/types/ts3.7/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
- package/dist/types/ts3.7/network/metrics/networkMetricsGlobal.d.ts +11 -0
- package/dist/types/ts3.7/network/metrics/networkMetricsModel.d.ts +147 -0
- package/dist/types/ts3.7/network/network.d.ts +47 -0
- package/dist/types/ts3.7/network/requesterGlobal.d.ts +19 -0
- package/dist/types/ts3.7/network/requesterUtil.d.ts +28 -0
- package/dist/types/ts3.7/network/responseUtil.d.ts +10 -0
- package/dist/types/ts3.7/patch/network/fetch.d.ts +11 -0
- package/dist/types/ts3.7/patch/patchTarget.d.ts +114 -0
- package/dist/types/ts3.7/persistence/KeyValuePersistence.d.ts +28 -0
- package/dist/types/ts3.7/persistence/PersistentItem.d.ts +86 -0
- package/dist/types/ts3.7/persistence/StoragePersistence.d.ts +11 -0
- package/dist/types/ts3.7/persistence/persistenceRef.d.ts +7 -0
- package/dist/types/ts3.7/util/async/Abort.d.ts +96 -0
- package/dist/types/ts3.7/util/async/Deferred.d.ts +25 -0
- package/dist/types/ts3.7/util/async/TaskQueue.d.ts +71 -0
- package/dist/types/ts3.7/util/async/TimeoutController.d.ts +36 -0
- package/dist/types/ts3.7/util/async/TimeoutSlot.d.ts +26 -0
- package/dist/types/ts3.7/util/async/abortUtils.d.ts +15 -0
- package/dist/types/ts3.7/util/async/never.d.ts +5 -0
- package/dist/types/ts3.7/util/async/promise.d.ts +53 -0
- package/dist/types/ts3.7/util/async/sleep.d.ts +27 -0
- package/dist/types/ts3.7/util/async/timeout.d.ts +29 -0
- package/dist/types/ts3.7/util/browser/searchParams.d.ts +13 -0
- package/dist/types/ts3.7/util/buffer/BufferError.d.ts +6 -0
- package/dist/types/ts3.7/util/buffer/BufferReader.d.ts +77 -0
- package/dist/types/ts3.7/util/buffer/BufferWriter.d.ts +30 -0
- package/dist/types/ts3.7/util/buffer/buffer.d.ts +55 -0
- package/dist/types/ts3.7/util/collection/CacheMap.d.ts +12 -0
- package/dist/types/ts3.7/util/collection/LinkedList.d.ts +156 -0
- package/dist/types/ts3.7/util/collection/LruCache.d.ts +96 -0
- package/dist/types/ts3.7/util/collection/array.d.ts +207 -0
- package/dist/types/ts3.7/util/collection/typedArray.d.ts +17 -0
- package/dist/types/ts3.7/util/comparison/compare.d.ts +33 -0
- package/dist/types/ts3.7/util/config/ValueProvider.d.ts +17 -0
- package/dist/types/ts3.7/util/date/date.d.ts +32 -0
- package/dist/types/ts3.7/util/error/stack.d.ts +79 -0
- package/dist/types/ts3.7/util/fun/debounce.d.ts +12 -0
- package/dist/types/ts3.7/util/fun/flow.d.ts +38 -0
- package/dist/types/ts3.7/util/fun/function.d.ts +5 -0
- package/dist/types/ts3.7/util/fun/memoize.d.ts +24 -0
- package/dist/types/ts3.7/util/fun/throttle.d.ts +34 -0
- package/dist/types/ts3.7/util/iteration/iterable.d.ts +26 -0
- package/dist/types/ts3.7/util/map/map.d.ts +17 -0
- package/dist/types/ts3.7/util/math/math.d.ts +79 -0
- package/dist/types/ts3.7/util/mpeg/parseSidxBox.d.ts +100 -0
- package/dist/types/ts3.7/util/network/request.d.ts +18 -0
- package/dist/types/ts3.7/util/object/clone.d.ts +68 -0
- package/dist/types/ts3.7/util/object/equalDeep.d.ts +54 -0
- package/dist/types/ts3.7/util/object/lazy.d.ts +54 -0
- package/dist/types/ts3.7/util/object/merge.d.ts +72 -0
- package/dist/types/ts3.7/util/object/mergeDeep.d.ts +153 -0
- package/dist/types/ts3.7/util/object/mutableType.d.ts +85 -0
- package/dist/types/ts3.7/util/object/object.d.ts +55 -0
- package/dist/types/ts3.7/util/object/readonlyType.d.ts +100 -0
- package/dist/types/ts3.7/util/range/IntersectionRanges.d.ts +37 -0
- package/dist/types/ts3.7/util/range/Ranges.d.ts +126 -0
- package/dist/types/ts3.7/util/range/UnionRanges.d.ts +37 -0
- package/dist/types/ts3.7/util/range/timeRanges.d.ts +14 -0
- package/dist/types/ts3.7/util/serialization/ParseError.d.ts +48 -0
- package/dist/types/ts3.7/util/serialization/json.d.ts +30 -0
- package/dist/types/ts3.7/util/serialization/primitives.d.ts +24 -0
- package/dist/types/ts3.7/util/serialization/stringifyForPrint.d.ts +14 -0
- package/dist/types/ts3.7/util/set/set.d.ts +17 -0
- package/dist/types/ts3.7/util/string/StringReader.d.ts +134 -0
- package/dist/types/ts3.7/util/string/string.d.ts +130 -0
- package/dist/types/ts3.7/util/string/uid.d.ts +20 -0
- package/dist/types/ts3.7/util/type.d.ts +173 -0
- package/dist/types/ts3.7/util/url/resolveUrl.d.ts +23 -0
- package/dist/types/ts4.1/client/Version.d.ts +38 -0
- package/dist/types/ts4.1/client/userAgent/UserAgentInfo.d.ts +36 -0
- package/dist/types/ts4.1/client/userAgent/defaultUserAgentRules.d.ts +94 -0
- package/dist/types/ts4.1/client/userAgent/hasBrowser.d.ts +26 -0
- package/dist/types/ts4.1/client/userAgent/parseUserAgent.d.ts +14 -0
- package/dist/types/ts4.1/client/userAgent/tokenizeUserAgent.d.ts +104 -0
- package/dist/types/ts4.1/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
- package/dist/types/ts4.1/core/Unsubscribe.d.ts +2 -0
- package/dist/types/ts4.1/core/clearable.d.ts +19 -0
- package/dist/types/ts4.1/core/cloneable.d.ts +14 -0
- package/dist/types/ts4.1/core/disposable.d.ts +66 -0
- package/dist/types/ts4.1/error/AbortError.d.ts +6 -0
- package/dist/types/ts4.1/error/ErrorOrigin.d.ts +45 -0
- package/dist/types/ts4.1/error/IllegalArgumentError.d.ts +10 -0
- package/dist/types/ts4.1/error/IllegalStateError.d.ts +9 -0
- package/dist/types/ts4.1/error/MediaUnsupportedError.d.ts +9 -0
- package/dist/types/ts4.1/error/ReportableError.d.ts +39 -0
- package/dist/types/ts4.1/error/ServiceResponseError.d.ts +14 -0
- package/dist/types/ts4.1/error/StackOverflowError.d.ts +9 -0
- package/dist/types/ts4.1/error/TimeoutError.d.ts +6 -0
- package/dist/types/ts4.1/error/UnreachableCodeError.d.ts +9 -0
- package/dist/types/ts4.1/error/ValidationError.d.ts +17 -0
- package/dist/types/ts4.1/event/DomEventHost.d.ts +45 -0
- package/dist/types/ts4.1/event/EventHost.d.ts +69 -0
- package/dist/types/ts4.1/event/Signal.d.ts +57 -0
- package/dist/types/ts4.1/event/nextEventAsPromise.d.ts +30 -0
- package/dist/types/ts4.1/event/onAny.d.ts +13 -0
- package/dist/types/ts4.1/event/redispatchEvents.d.ts +15 -0
- package/dist/types/ts4.1/global/environment.d.ts +26 -0
- package/dist/types/ts4.1/global/globalRegistry.d.ts +83 -0
- package/dist/types/ts4.1/global/globalTarget.d.ts +8 -0
- package/dist/types/ts4.1/index.d.ts +118 -0
- package/dist/types/ts4.1/logging/ConsoleLogHandler.d.ts +26 -0
- package/dist/types/ts4.1/logging/HistoryLogHandler.d.ts +56 -0
- package/dist/types/ts4.1/logging/LogTarget.d.ts +19 -0
- package/dist/types/ts4.1/logging/Logger.d.ts +66 -0
- package/dist/types/ts4.1/logging/VinylLogging.d.ts +9 -0
- package/dist/types/ts4.1/logging/getLogLevelFromSearch.d.ts +8 -0
- package/dist/types/ts4.1/logging/logTimer.d.ts +10 -0
- package/dist/types/ts4.1/network/RequestError.d.ts +26 -0
- package/dist/types/ts4.1/network/RequestInterceptor.d.ts +14 -0
- package/dist/types/ts4.1/network/Requester.d.ts +84 -0
- package/dist/types/ts4.1/network/RequesterImpl.d.ts +116 -0
- package/dist/types/ts4.1/network/RequesterImplEventMap.d.ts +230 -0
- package/dist/types/ts4.1/network/browser/NetworkInformation.d.ts +48 -0
- package/dist/types/ts4.1/network/createRequester.d.ts +12 -0
- package/dist/types/ts4.1/network/logging/networkLoggingHandler.d.ts +14 -0
- package/dist/types/ts4.1/network/metrics/NetworkMetricsController.d.ts +41 -0
- package/dist/types/ts4.1/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
- package/dist/types/ts4.1/network/metrics/networkMetricsGlobal.d.ts +11 -0
- package/dist/types/ts4.1/network/metrics/networkMetricsModel.d.ts +147 -0
- package/dist/types/ts4.1/network/network.d.ts +47 -0
- package/dist/types/ts4.1/network/requesterGlobal.d.ts +19 -0
- package/dist/types/ts4.1/network/requesterUtil.d.ts +28 -0
- package/dist/types/ts4.1/network/responseUtil.d.ts +10 -0
- package/dist/types/ts4.1/patch/network/fetch.d.ts +11 -0
- package/dist/types/ts4.1/patch/patchTarget.d.ts +114 -0
- package/dist/types/ts4.1/persistence/KeyValuePersistence.d.ts +28 -0
- package/dist/types/ts4.1/persistence/PersistentItem.d.ts +86 -0
- package/dist/types/ts4.1/persistence/StoragePersistence.d.ts +11 -0
- package/dist/types/ts4.1/persistence/persistenceRef.d.ts +7 -0
- package/dist/types/ts4.1/util/async/Abort.d.ts +96 -0
- package/dist/types/ts4.1/util/async/Deferred.d.ts +25 -0
- package/dist/types/ts4.1/util/async/TaskQueue.d.ts +71 -0
- package/dist/types/ts4.1/util/async/TimeoutController.d.ts +37 -0
- package/dist/types/ts4.1/util/async/TimeoutSlot.d.ts +26 -0
- package/dist/types/ts4.1/util/async/abortUtils.d.ts +15 -0
- package/dist/types/ts4.1/util/async/never.d.ts +5 -0
- package/dist/types/ts4.1/util/async/promise.d.ts +53 -0
- package/dist/types/ts4.1/util/async/sleep.d.ts +27 -0
- package/dist/types/ts4.1/util/async/timeout.d.ts +29 -0
- package/dist/types/ts4.1/util/browser/searchParams.d.ts +13 -0
- package/dist/types/ts4.1/util/buffer/BufferError.d.ts +6 -0
- package/dist/types/ts4.1/util/buffer/BufferReader.d.ts +77 -0
- package/dist/types/ts4.1/util/buffer/BufferWriter.d.ts +30 -0
- package/dist/types/ts4.1/util/buffer/buffer.d.ts +55 -0
- package/dist/types/ts4.1/util/collection/CacheMap.d.ts +12 -0
- package/dist/types/ts4.1/util/collection/LinkedList.d.ts +156 -0
- package/dist/types/ts4.1/util/collection/LruCache.d.ts +96 -0
- package/dist/types/ts4.1/util/collection/array.d.ts +207 -0
- package/dist/types/ts4.1/util/collection/typedArray.d.ts +17 -0
- package/dist/types/ts4.1/util/comparison/compare.d.ts +33 -0
- package/dist/types/ts4.1/util/config/ValueProvider.d.ts +17 -0
- package/dist/types/ts4.1/util/date/date.d.ts +32 -0
- package/dist/types/ts4.1/util/error/stack.d.ts +79 -0
- package/dist/types/ts4.1/util/fun/debounce.d.ts +12 -0
- package/dist/types/ts4.1/util/fun/flow.d.ts +38 -0
- package/dist/types/ts4.1/util/fun/function.d.ts +5 -0
- package/dist/types/ts4.1/util/fun/memoize.d.ts +24 -0
- package/dist/types/ts4.1/util/fun/throttle.d.ts +34 -0
- package/dist/types/ts4.1/util/iteration/iterable.d.ts +26 -0
- package/dist/types/ts4.1/util/map/map.d.ts +17 -0
- package/dist/types/ts4.1/util/math/math.d.ts +79 -0
- package/dist/types/ts4.1/util/mpeg/parseSidxBox.d.ts +100 -0
- package/dist/types/ts4.1/util/network/request.d.ts +18 -0
- package/dist/types/ts4.1/util/object/clone.d.ts +68 -0
- package/dist/types/ts4.1/util/object/equalDeep.d.ts +54 -0
- package/dist/types/ts4.1/util/object/lazy.d.ts +54 -0
- package/dist/types/ts4.1/util/object/merge.d.ts +72 -0
- package/dist/types/ts4.1/util/object/mergeDeep.d.ts +153 -0
- package/dist/types/ts4.1/util/object/mutableType.d.ts +87 -0
- package/dist/types/ts4.1/util/object/object.d.ts +55 -0
- package/dist/types/ts4.1/util/object/readonlyType.d.ts +100 -0
- package/dist/types/ts4.1/util/range/IntersectionRanges.d.ts +38 -0
- package/dist/types/ts4.1/util/range/Ranges.d.ts +126 -0
- package/dist/types/ts4.1/util/range/UnionRanges.d.ts +38 -0
- package/dist/types/ts4.1/util/range/timeRanges.d.ts +14 -0
- package/dist/types/ts4.1/util/serialization/ParseError.d.ts +48 -0
- package/dist/types/ts4.1/util/serialization/json.d.ts +30 -0
- package/dist/types/ts4.1/util/serialization/primitives.d.ts +24 -0
- package/dist/types/ts4.1/util/serialization/stringifyForPrint.d.ts +14 -0
- package/dist/types/ts4.1/util/set/set.d.ts +17 -0
- package/dist/types/ts4.1/util/string/StringReader.d.ts +134 -0
- package/dist/types/ts4.1/util/string/string.d.ts +130 -0
- package/dist/types/ts4.1/util/string/uid.d.ts +20 -0
- package/dist/types/ts4.1/util/type.d.ts +173 -0
- package/dist/types/ts4.1/util/url/resolveUrl.d.ts +23 -0
- package/dist/types/ts4.7/client/Version.d.ts +38 -0
- package/dist/types/ts4.7/client/userAgent/UserAgentInfo.d.ts +36 -0
- package/dist/types/ts4.7/client/userAgent/defaultUserAgentRules.d.ts +94 -0
- package/dist/types/ts4.7/client/userAgent/hasBrowser.d.ts +26 -0
- package/dist/types/ts4.7/client/userAgent/parseUserAgent.d.ts +14 -0
- package/dist/types/ts4.7/client/userAgent/tokenizeUserAgent.d.ts +104 -0
- package/dist/types/ts4.7/client/userAgent/userAgentRuleHelpers.d.ts +52 -0
- package/dist/types/ts4.7/core/Unsubscribe.d.ts +2 -0
- package/dist/types/ts4.7/core/clearable.d.ts +19 -0
- package/dist/types/ts4.7/core/cloneable.d.ts +14 -0
- package/dist/types/ts4.7/core/disposable.d.ts +66 -0
- package/dist/types/ts4.7/error/AbortError.d.ts +6 -0
- package/dist/types/ts4.7/error/ErrorOrigin.d.ts +45 -0
- package/dist/types/ts4.7/error/IllegalArgumentError.d.ts +10 -0
- package/dist/types/ts4.7/error/IllegalStateError.d.ts +9 -0
- package/dist/types/ts4.7/error/MediaUnsupportedError.d.ts +9 -0
- package/dist/types/ts4.7/error/ReportableError.d.ts +39 -0
- package/dist/types/ts4.7/error/ServiceResponseError.d.ts +14 -0
- package/dist/types/ts4.7/error/StackOverflowError.d.ts +9 -0
- package/dist/types/ts4.7/error/TimeoutError.d.ts +6 -0
- package/dist/types/ts4.7/error/UnreachableCodeError.d.ts +9 -0
- package/dist/types/ts4.7/error/ValidationError.d.ts +17 -0
- package/dist/types/ts4.7/event/DomEventHost.d.ts +45 -0
- package/dist/types/ts4.7/event/EventHost.d.ts +69 -0
- package/dist/types/ts4.7/event/Signal.d.ts +57 -0
- package/dist/types/ts4.7/event/nextEventAsPromise.d.ts +30 -0
- package/dist/types/ts4.7/event/onAny.d.ts +13 -0
- package/dist/types/ts4.7/event/redispatchEvents.d.ts +15 -0
- package/dist/types/ts4.7/global/environment.d.ts +26 -0
- package/dist/types/ts4.7/global/globalRegistry.d.ts +86 -0
- package/dist/types/ts4.7/global/globalTarget.d.ts +8 -0
- package/dist/types/ts4.7/index.d.ts +118 -0
- package/dist/types/ts4.7/logging/ConsoleLogHandler.d.ts +26 -0
- package/dist/types/ts4.7/logging/HistoryLogHandler.d.ts +56 -0
- package/dist/types/ts4.7/logging/LogTarget.d.ts +19 -0
- package/dist/types/ts4.7/logging/Logger.d.ts +66 -0
- package/dist/types/ts4.7/logging/VinylLogging.d.ts +9 -0
- package/dist/types/ts4.7/logging/getLogLevelFromSearch.d.ts +8 -0
- package/dist/types/ts4.7/logging/logTimer.d.ts +10 -0
- package/dist/types/ts4.7/network/RequestError.d.ts +26 -0
- package/dist/types/ts4.7/network/RequestInterceptor.d.ts +14 -0
- package/dist/types/ts4.7/network/Requester.d.ts +84 -0
- package/dist/types/ts4.7/network/RequesterImpl.d.ts +120 -0
- package/dist/types/ts4.7/network/RequesterImplEventMap.d.ts +230 -0
- package/dist/types/ts4.7/network/browser/NetworkInformation.d.ts +48 -0
- package/dist/types/ts4.7/network/createRequester.d.ts +12 -0
- package/dist/types/ts4.7/network/logging/networkLoggingHandler.d.ts +14 -0
- package/dist/types/ts4.7/network/metrics/NetworkMetricsController.d.ts +41 -0
- package/dist/types/ts4.7/network/metrics/NetworkMetricsControllerImpl.d.ts +119 -0
- package/dist/types/ts4.7/network/metrics/networkMetricsGlobal.d.ts +11 -0
- package/dist/types/ts4.7/network/metrics/networkMetricsModel.d.ts +147 -0
- package/dist/types/ts4.7/network/network.d.ts +47 -0
- package/dist/types/ts4.7/network/requesterGlobal.d.ts +19 -0
- package/dist/types/ts4.7/network/requesterUtil.d.ts +28 -0
- package/dist/types/ts4.7/network/responseUtil.d.ts +10 -0
- package/dist/types/ts4.7/patch/network/fetch.d.ts +11 -0
- package/dist/types/ts4.7/patch/patchTarget.d.ts +114 -0
- package/dist/types/ts4.7/persistence/KeyValuePersistence.d.ts +28 -0
- package/dist/types/ts4.7/persistence/PersistentItem.d.ts +86 -0
- package/dist/types/ts4.7/persistence/StoragePersistence.d.ts +11 -0
- package/dist/types/ts4.7/persistence/persistenceRef.d.ts +7 -0
- package/dist/types/ts4.7/util/async/Abort.d.ts +99 -0
- package/dist/types/ts4.7/util/async/Deferred.d.ts +25 -0
- package/dist/types/ts4.7/util/async/TaskQueue.d.ts +74 -0
- package/dist/types/ts4.7/util/async/TimeoutController.d.ts +36 -0
- package/dist/types/ts4.7/util/async/TimeoutSlot.d.ts +29 -0
- package/dist/types/ts4.7/util/async/abortUtils.d.ts +15 -0
- package/dist/types/ts4.7/util/async/never.d.ts +5 -0
- package/dist/types/ts4.7/util/async/promise.d.ts +53 -0
- package/dist/types/ts4.7/util/async/sleep.d.ts +27 -0
- package/dist/types/ts4.7/util/async/timeout.d.ts +29 -0
- package/dist/types/ts4.7/util/browser/searchParams.d.ts +13 -0
- package/dist/types/ts4.7/util/buffer/BufferError.d.ts +6 -0
- package/dist/types/ts4.7/util/buffer/BufferReader.d.ts +77 -0
- package/dist/types/ts4.7/util/buffer/BufferWriter.d.ts +30 -0
- package/dist/types/ts4.7/util/buffer/buffer.d.ts +55 -0
- package/dist/types/ts4.7/util/collection/CacheMap.d.ts +12 -0
- package/dist/types/ts4.7/util/collection/LinkedList.d.ts +165 -0
- package/dist/types/ts4.7/util/collection/LruCache.d.ts +99 -0
- package/dist/types/ts4.7/util/collection/array.d.ts +207 -0
- package/dist/types/ts4.7/util/collection/typedArray.d.ts +17 -0
- package/dist/types/ts4.7/util/comparison/compare.d.ts +33 -0
- package/dist/types/ts4.7/util/config/ValueProvider.d.ts +17 -0
- package/dist/types/ts4.7/util/date/date.d.ts +32 -0
- package/dist/types/ts4.7/util/error/stack.d.ts +79 -0
- package/dist/types/ts4.7/util/fun/debounce.d.ts +12 -0
- package/dist/types/ts4.7/util/fun/flow.d.ts +38 -0
- package/dist/types/ts4.7/util/fun/function.d.ts +5 -0
- package/dist/types/ts4.7/util/fun/memoize.d.ts +24 -0
- package/dist/types/ts4.7/util/fun/throttle.d.ts +34 -0
- package/dist/types/ts4.7/util/iteration/iterable.d.ts +26 -0
- package/dist/types/ts4.7/util/map/map.d.ts +17 -0
- package/dist/types/ts4.7/util/math/math.d.ts +79 -0
- package/dist/types/ts4.7/util/mpeg/parseSidxBox.d.ts +100 -0
- package/dist/types/ts4.7/util/network/request.d.ts +18 -0
- package/dist/types/ts4.7/util/object/clone.d.ts +68 -0
- package/dist/types/ts4.7/util/object/equalDeep.d.ts +54 -0
- package/dist/types/ts4.7/util/object/lazy.d.ts +54 -0
- package/dist/types/ts4.7/util/object/merge.d.ts +72 -0
- package/dist/types/ts4.7/util/object/mergeDeep.d.ts +153 -0
- package/dist/types/ts4.7/util/object/mutableType.d.ts +87 -0
- package/dist/types/ts4.7/util/object/object.d.ts +55 -0
- package/dist/types/ts4.7/util/object/readonlyType.d.ts +100 -0
- package/dist/types/ts4.7/util/range/IntersectionRanges.d.ts +37 -0
- package/dist/types/ts4.7/util/range/Ranges.d.ts +126 -0
- package/dist/types/ts4.7/util/range/UnionRanges.d.ts +37 -0
- package/dist/types/ts4.7/util/range/timeRanges.d.ts +14 -0
- package/dist/types/ts4.7/util/serialization/ParseError.d.ts +48 -0
- package/dist/types/ts4.7/util/serialization/json.d.ts +30 -0
- package/dist/types/ts4.7/util/serialization/primitives.d.ts +24 -0
- package/dist/types/ts4.7/util/serialization/stringifyForPrint.d.ts +14 -0
- package/dist/types/ts4.7/util/set/set.d.ts +17 -0
- package/dist/types/ts4.7/util/string/StringReader.d.ts +149 -0
- package/dist/types/ts4.7/util/string/string.d.ts +130 -0
- package/dist/types/ts4.7/util/string/uid.d.ts +20 -0
- package/dist/types/ts4.7/util/type.d.ts +173 -0
- package/dist/types/ts4.7/util/url/resolveUrl.d.ts +23 -0
- package/docs/EVENTS.md +187 -0
- package/docs/GLOBALS.md +45 -0
- package/docs/NETWORKING.md +161 -0
- package/package.json +118 -0
|
@@ -0,0 +1,2641 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
var __objRest = (source, exclude) => {
|
|
18
|
+
var target = {};
|
|
19
|
+
for (var prop in source)
|
|
20
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
21
|
+
target[prop] = source[prop];
|
|
22
|
+
if (source != null && __getOwnPropSymbols)
|
|
23
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
24
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
25
|
+
target[prop] = source[prop];
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
};
|
|
29
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
30
|
+
|
|
31
|
+
// test/browserTestUtil/reporters/ConsoleReporter.ts
|
|
32
|
+
var ConsoleReporter = class {
|
|
33
|
+
constructor() {
|
|
34
|
+
__publicField(this, "errors", []);
|
|
35
|
+
}
|
|
36
|
+
jasmineStarted(suiteInfo) {
|
|
37
|
+
console.log(
|
|
38
|
+
`Running suite with ${suiteInfo.totalSpecsDefined} specs, seed ${suiteInfo.order.seed}`
|
|
39
|
+
);
|
|
40
|
+
console.log(
|
|
41
|
+
"Testing for UA:",
|
|
42
|
+
typeof navigator === "object" ? navigator.userAgent : "Node.js/<21"
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
specDone(result) {
|
|
46
|
+
if (result.failedExpectations.length > 0) {
|
|
47
|
+
console.warn(`Spec failed: ${result.fullName}`);
|
|
48
|
+
for (let i = 0; i < result.failedExpectations.length; i++) {
|
|
49
|
+
console.warn(`Failure: ${result.failedExpectations[i].message}`);
|
|
50
|
+
console.warn(result.failedExpectations[i].stack);
|
|
51
|
+
this.errors.push(result.failedExpectations[i]);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
jasmineDone() {
|
|
56
|
+
if (this.errors.length > 0) {
|
|
57
|
+
console.log(`There were ${this.errors.length} errors:`);
|
|
58
|
+
this.errors.forEach((error, index) => {
|
|
59
|
+
console.error(`Error ${index + 1}:`, error);
|
|
60
|
+
});
|
|
61
|
+
} else {
|
|
62
|
+
console.log("No errors were found.");
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
// test/browserTestUtil/mock/createSpyFactory.ts
|
|
68
|
+
var createSpy = jasmine.createSpy;
|
|
69
|
+
function createSpyFactory(createFake) {
|
|
70
|
+
return (key) => {
|
|
71
|
+
const spy = createSpy(String(key));
|
|
72
|
+
if (createFake) spy.and.callFake(createFake(key));
|
|
73
|
+
return spy;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function createSpy2(key) {
|
|
77
|
+
return createSpy(String(key));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// test/browserTestUtil/mock/dom/lib.dom.ts
|
|
81
|
+
var MockAbortController = class {
|
|
82
|
+
constructor() {
|
|
83
|
+
__publicField(this, "signal");
|
|
84
|
+
__publicField(this, "abort", createSpy2("abort"));
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
var MockAbortSignal = class {
|
|
88
|
+
constructor() {
|
|
89
|
+
__publicField(this, "aborted", false);
|
|
90
|
+
__publicField(this, "onabort", null);
|
|
91
|
+
__publicField(this, "reason");
|
|
92
|
+
__publicField(this, "throwIfAborted", createSpy2("throwIfAborted"));
|
|
93
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
94
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
95
|
+
"removeEventListener"
|
|
96
|
+
));
|
|
97
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
var MockAudioContext = class {
|
|
101
|
+
constructor() {
|
|
102
|
+
__publicField(this, "baseLatency", 0);
|
|
103
|
+
__publicField(this, "outputLatency", 0);
|
|
104
|
+
__publicField(this, "audioWorklet");
|
|
105
|
+
__publicField(this, "currentTime", 0);
|
|
106
|
+
__publicField(this, "destination");
|
|
107
|
+
__publicField(this, "listener");
|
|
108
|
+
__publicField(this, "onstatechange", null);
|
|
109
|
+
__publicField(this, "sampleRate", 0);
|
|
110
|
+
__publicField(this, "state", "closed");
|
|
111
|
+
__publicField(this, "close", createSpy2("close"));
|
|
112
|
+
__publicField(this, "createMediaElementSource", createSpy2("createMediaElementSource"));
|
|
113
|
+
__publicField(this, "createMediaStreamDestination", createSpy2("createMediaStreamDestination"));
|
|
114
|
+
__publicField(this, "createMediaStreamSource", createSpy2("createMediaStreamSource"));
|
|
115
|
+
__publicField(this, "getOutputTimestamp", createSpy2("getOutputTimestamp"));
|
|
116
|
+
__publicField(this, "resume", createSpy2("resume"));
|
|
117
|
+
__publicField(this, "suspend", createSpy2("suspend"));
|
|
118
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
119
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
120
|
+
"removeEventListener"
|
|
121
|
+
));
|
|
122
|
+
__publicField(this, "createAnalyser", createSpy2("createAnalyser"));
|
|
123
|
+
__publicField(this, "createBiquadFilter", createSpy2("createBiquadFilter"));
|
|
124
|
+
__publicField(this, "createBuffer", createSpy2("createBuffer"));
|
|
125
|
+
__publicField(this, "createBufferSource", createSpy2("createBufferSource"));
|
|
126
|
+
__publicField(this, "createChannelMerger", createSpy2(
|
|
127
|
+
"createChannelMerger"
|
|
128
|
+
));
|
|
129
|
+
__publicField(this, "createChannelSplitter", createSpy2(
|
|
130
|
+
"createChannelSplitter"
|
|
131
|
+
));
|
|
132
|
+
__publicField(this, "createConstantSource", createSpy2(
|
|
133
|
+
"createConstantSource"
|
|
134
|
+
));
|
|
135
|
+
__publicField(this, "createConvolver", createSpy2("createConvolver"));
|
|
136
|
+
__publicField(this, "createDelay", createSpy2("createDelay"));
|
|
137
|
+
__publicField(this, "createDynamicsCompressor", createSpy2("createDynamicsCompressor"));
|
|
138
|
+
__publicField(this, "createGain", createSpy2("createGain"));
|
|
139
|
+
__publicField(this, "createIIRFilter", createSpy2("createIIRFilter"));
|
|
140
|
+
__publicField(this, "createOscillator", createSpy2("createOscillator"));
|
|
141
|
+
__publicField(this, "createPanner", createSpy2("createPanner"));
|
|
142
|
+
__publicField(this, "createPeriodicWave", createSpy2("createPeriodicWave"));
|
|
143
|
+
__publicField(this, "createScriptProcessor", createSpy2(
|
|
144
|
+
"createScriptProcessor"
|
|
145
|
+
));
|
|
146
|
+
__publicField(this, "createStereoPanner", createSpy2("createStereoPanner"));
|
|
147
|
+
__publicField(this, "createWaveShaper", createSpy2("createWaveShaper"));
|
|
148
|
+
__publicField(this, "decodeAudioData", createSpy2("decodeAudioData"));
|
|
149
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
var MockCache = class {
|
|
153
|
+
constructor() {
|
|
154
|
+
__publicField(this, "add", createSpy2("add"));
|
|
155
|
+
__publicField(this, "addAll", createSpy2("addAll"));
|
|
156
|
+
__publicField(this, "delete", createSpy2("delete"));
|
|
157
|
+
__publicField(this, "keys", createSpy2("keys"));
|
|
158
|
+
__publicField(this, "match", createSpy2("match"));
|
|
159
|
+
__publicField(this, "matchAll", createSpy2("matchAll"));
|
|
160
|
+
__publicField(this, "put", createSpy2("put"));
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
var MockCacheStorage = class {
|
|
164
|
+
constructor() {
|
|
165
|
+
__publicField(this, "delete", createSpy2("delete"));
|
|
166
|
+
__publicField(this, "has", createSpy2("has"));
|
|
167
|
+
__publicField(this, "keys", createSpy2("keys"));
|
|
168
|
+
__publicField(this, "match", createSpy2("match"));
|
|
169
|
+
__publicField(this, "open", createSpy2("open"));
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
var MockCustomEvent = class {
|
|
173
|
+
constructor() {
|
|
174
|
+
__publicField(this, "detail");
|
|
175
|
+
__publicField(this, "bubbles", false);
|
|
176
|
+
__publicField(this, "cancelBubble", false);
|
|
177
|
+
__publicField(this, "cancelable", false);
|
|
178
|
+
__publicField(this, "composed", false);
|
|
179
|
+
__publicField(this, "currentTarget", null);
|
|
180
|
+
__publicField(this, "defaultPrevented", false);
|
|
181
|
+
__publicField(this, "eventPhase", 0);
|
|
182
|
+
__publicField(this, "isTrusted", false);
|
|
183
|
+
__publicField(this, "returnValue", false);
|
|
184
|
+
__publicField(this, "srcElement", null);
|
|
185
|
+
__publicField(this, "target", null);
|
|
186
|
+
__publicField(this, "timeStamp", 0);
|
|
187
|
+
__publicField(this, "type", "");
|
|
188
|
+
__publicField(this, "NONE", 0);
|
|
189
|
+
__publicField(this, "CAPTURING_PHASE", 1);
|
|
190
|
+
__publicField(this, "AT_TARGET", 2);
|
|
191
|
+
__publicField(this, "BUBBLING_PHASE", 3);
|
|
192
|
+
__publicField(this, "initCustomEvent", createSpy2("initCustomEvent"));
|
|
193
|
+
__publicField(this, "composedPath", createSpy2("composedPath"));
|
|
194
|
+
__publicField(this, "initEvent", createSpy2("initEvent"));
|
|
195
|
+
__publicField(this, "preventDefault", createSpy2("preventDefault"));
|
|
196
|
+
__publicField(this, "stopImmediatePropagation", createSpy2("stopImmediatePropagation"));
|
|
197
|
+
__publicField(this, "stopPropagation", createSpy2("stopPropagation"));
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
var MockDocument = class {
|
|
201
|
+
constructor() {
|
|
202
|
+
__publicField(this, "URL", "");
|
|
203
|
+
__publicField(this, "alinkColor", "");
|
|
204
|
+
__publicField(this, "all");
|
|
205
|
+
__publicField(this, "anchors");
|
|
206
|
+
__publicField(this, "applets");
|
|
207
|
+
__publicField(this, "bgColor", "");
|
|
208
|
+
__publicField(this, "body");
|
|
209
|
+
__publicField(this, "characterSet", "");
|
|
210
|
+
__publicField(this, "charset", "");
|
|
211
|
+
__publicField(this, "compatMode", "");
|
|
212
|
+
__publicField(this, "contentType", "");
|
|
213
|
+
__publicField(this, "cookie", "");
|
|
214
|
+
__publicField(this, "currentScript");
|
|
215
|
+
__publicField(this, "defaultView");
|
|
216
|
+
__publicField(this, "designMode", "");
|
|
217
|
+
__publicField(this, "dir", "");
|
|
218
|
+
__publicField(this, "doctype", null);
|
|
219
|
+
__publicField(this, "documentElement");
|
|
220
|
+
__publicField(this, "documentURI", "");
|
|
221
|
+
__publicField(this, "domain", "");
|
|
222
|
+
__publicField(this, "embeds");
|
|
223
|
+
__publicField(this, "fgColor", "");
|
|
224
|
+
__publicField(this, "forms");
|
|
225
|
+
__publicField(this, "fragmentDirective");
|
|
226
|
+
__publicField(this, "fullscreen", false);
|
|
227
|
+
__publicField(this, "fullscreenEnabled", false);
|
|
228
|
+
__publicField(this, "head");
|
|
229
|
+
__publicField(this, "hidden", false);
|
|
230
|
+
__publicField(this, "images");
|
|
231
|
+
__publicField(this, "implementation");
|
|
232
|
+
__publicField(this, "inputEncoding", "");
|
|
233
|
+
__publicField(this, "lastModified", "");
|
|
234
|
+
__publicField(this, "linkColor", "");
|
|
235
|
+
__publicField(this, "links");
|
|
236
|
+
__publicField(this, "onfullscreenchange", null);
|
|
237
|
+
__publicField(this, "onfullscreenerror", null);
|
|
238
|
+
__publicField(this, "onpointerlockchange", null);
|
|
239
|
+
__publicField(this, "onpointerlockerror", null);
|
|
240
|
+
__publicField(this, "onreadystatechange", null);
|
|
241
|
+
__publicField(this, "onvisibilitychange", null);
|
|
242
|
+
__publicField(this, "ownerDocument", null);
|
|
243
|
+
__publicField(this, "pictureInPictureEnabled", false);
|
|
244
|
+
__publicField(this, "plugins");
|
|
245
|
+
__publicField(this, "readyState", "complete");
|
|
246
|
+
__publicField(this, "referrer", "");
|
|
247
|
+
__publicField(this, "rootElement", null);
|
|
248
|
+
__publicField(this, "scripts");
|
|
249
|
+
__publicField(this, "scrollingElement", null);
|
|
250
|
+
__publicField(this, "timeline");
|
|
251
|
+
__publicField(this, "title", "");
|
|
252
|
+
__publicField(this, "visibilityState", "hidden");
|
|
253
|
+
__publicField(this, "vlinkColor", "");
|
|
254
|
+
__publicField(this, "location");
|
|
255
|
+
__publicField(this, "textContent", null);
|
|
256
|
+
__publicField(this, "baseURI", "");
|
|
257
|
+
__publicField(this, "childNodes");
|
|
258
|
+
__publicField(this, "firstChild", null);
|
|
259
|
+
__publicField(this, "isConnected", false);
|
|
260
|
+
__publicField(this, "lastChild", null);
|
|
261
|
+
__publicField(this, "nextSibling", null);
|
|
262
|
+
__publicField(this, "nodeName", "");
|
|
263
|
+
__publicField(this, "nodeType", 0);
|
|
264
|
+
__publicField(this, "nodeValue", "");
|
|
265
|
+
__publicField(this, "parentElement", null);
|
|
266
|
+
__publicField(this, "parentNode", null);
|
|
267
|
+
__publicField(this, "previousSibling", null);
|
|
268
|
+
__publicField(this, "ELEMENT_NODE", 1);
|
|
269
|
+
__publicField(this, "ATTRIBUTE_NODE", 2);
|
|
270
|
+
__publicField(this, "TEXT_NODE", 3);
|
|
271
|
+
__publicField(this, "CDATA_SECTION_NODE", 4);
|
|
272
|
+
__publicField(this, "ENTITY_REFERENCE_NODE", 5);
|
|
273
|
+
__publicField(this, "ENTITY_NODE", 6);
|
|
274
|
+
__publicField(this, "PROCESSING_INSTRUCTION_NODE", 7);
|
|
275
|
+
__publicField(this, "COMMENT_NODE", 8);
|
|
276
|
+
__publicField(this, "DOCUMENT_NODE", 9);
|
|
277
|
+
__publicField(this, "DOCUMENT_TYPE_NODE", 10);
|
|
278
|
+
__publicField(this, "DOCUMENT_FRAGMENT_NODE", 11);
|
|
279
|
+
__publicField(this, "NOTATION_NODE", 12);
|
|
280
|
+
__publicField(this, "DOCUMENT_POSITION_DISCONNECTED", 1);
|
|
281
|
+
__publicField(this, "DOCUMENT_POSITION_PRECEDING", 2);
|
|
282
|
+
__publicField(this, "DOCUMENT_POSITION_FOLLOWING", 4);
|
|
283
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINS", 8);
|
|
284
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINED_BY", 16);
|
|
285
|
+
__publicField(this, "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", 32);
|
|
286
|
+
__publicField(this, "activeElement", null);
|
|
287
|
+
__publicField(this, "adoptedStyleSheets", []);
|
|
288
|
+
__publicField(this, "fullscreenElement", null);
|
|
289
|
+
__publicField(this, "pictureInPictureElement", null);
|
|
290
|
+
__publicField(this, "pointerLockElement", null);
|
|
291
|
+
__publicField(this, "styleSheets");
|
|
292
|
+
__publicField(this, "fonts");
|
|
293
|
+
__publicField(this, "onabort", null);
|
|
294
|
+
__publicField(this, "onanimationcancel", null);
|
|
295
|
+
__publicField(this, "onanimationend", null);
|
|
296
|
+
__publicField(this, "onanimationiteration", null);
|
|
297
|
+
__publicField(this, "onanimationstart", null);
|
|
298
|
+
__publicField(this, "onauxclick", null);
|
|
299
|
+
__publicField(this, "onbeforeinput", null);
|
|
300
|
+
__publicField(this, "onbeforematch", null);
|
|
301
|
+
__publicField(this, "onbeforetoggle", null);
|
|
302
|
+
__publicField(this, "onblur", null);
|
|
303
|
+
__publicField(this, "oncancel", null);
|
|
304
|
+
__publicField(this, "oncanplay", null);
|
|
305
|
+
__publicField(this, "oncanplaythrough", null);
|
|
306
|
+
__publicField(this, "onchange", null);
|
|
307
|
+
__publicField(this, "onclick", null);
|
|
308
|
+
__publicField(this, "onclose", null);
|
|
309
|
+
__publicField(this, "oncontextlost", null);
|
|
310
|
+
__publicField(this, "oncontextmenu", null);
|
|
311
|
+
__publicField(this, "oncontextrestored", null);
|
|
312
|
+
__publicField(this, "oncopy", null);
|
|
313
|
+
__publicField(this, "oncuechange", null);
|
|
314
|
+
__publicField(this, "oncut", null);
|
|
315
|
+
__publicField(this, "ondblclick", null);
|
|
316
|
+
__publicField(this, "ondrag", null);
|
|
317
|
+
__publicField(this, "ondragend", null);
|
|
318
|
+
__publicField(this, "ondragenter", null);
|
|
319
|
+
__publicField(this, "ondragleave", null);
|
|
320
|
+
__publicField(this, "ondragover", null);
|
|
321
|
+
__publicField(this, "ondragstart", null);
|
|
322
|
+
__publicField(this, "ondrop", null);
|
|
323
|
+
__publicField(this, "ondurationchange", null);
|
|
324
|
+
__publicField(this, "onemptied", null);
|
|
325
|
+
__publicField(this, "onended", null);
|
|
326
|
+
__publicField(this, "onerror");
|
|
327
|
+
__publicField(this, "onfocus", null);
|
|
328
|
+
__publicField(this, "onformdata", null);
|
|
329
|
+
__publicField(this, "ongotpointercapture", null);
|
|
330
|
+
__publicField(this, "oninput", null);
|
|
331
|
+
__publicField(this, "oninvalid", null);
|
|
332
|
+
__publicField(this, "onkeydown", null);
|
|
333
|
+
__publicField(this, "onkeypress", null);
|
|
334
|
+
__publicField(this, "onkeyup", null);
|
|
335
|
+
__publicField(this, "onload", null);
|
|
336
|
+
__publicField(this, "onloadeddata", null);
|
|
337
|
+
__publicField(this, "onloadedmetadata", null);
|
|
338
|
+
__publicField(this, "onloadstart", null);
|
|
339
|
+
__publicField(this, "onlostpointercapture", null);
|
|
340
|
+
__publicField(this, "onmousedown", null);
|
|
341
|
+
__publicField(this, "onmouseenter", null);
|
|
342
|
+
__publicField(this, "onmouseleave", null);
|
|
343
|
+
__publicField(this, "onmousemove", null);
|
|
344
|
+
__publicField(this, "onmouseout", null);
|
|
345
|
+
__publicField(this, "onmouseover", null);
|
|
346
|
+
__publicField(this, "onmouseup", null);
|
|
347
|
+
__publicField(this, "onpaste", null);
|
|
348
|
+
__publicField(this, "onpause", null);
|
|
349
|
+
__publicField(this, "onplay", null);
|
|
350
|
+
__publicField(this, "onplaying", null);
|
|
351
|
+
__publicField(this, "onpointercancel", null);
|
|
352
|
+
__publicField(this, "onpointerdown", null);
|
|
353
|
+
__publicField(this, "onpointerenter", null);
|
|
354
|
+
__publicField(this, "onpointerleave", null);
|
|
355
|
+
__publicField(this, "onpointermove", null);
|
|
356
|
+
__publicField(this, "onpointerout", null);
|
|
357
|
+
__publicField(this, "onpointerover", null);
|
|
358
|
+
__publicField(this, "onpointerrawupdate", null);
|
|
359
|
+
__publicField(this, "onpointerup", null);
|
|
360
|
+
__publicField(this, "onprogress", null);
|
|
361
|
+
__publicField(this, "onratechange", null);
|
|
362
|
+
__publicField(this, "onreset", null);
|
|
363
|
+
__publicField(this, "onresize", null);
|
|
364
|
+
__publicField(this, "onscroll", null);
|
|
365
|
+
__publicField(this, "onscrollend", null);
|
|
366
|
+
__publicField(this, "onsecuritypolicyviolation", null);
|
|
367
|
+
__publicField(this, "onseeked", null);
|
|
368
|
+
__publicField(this, "onseeking", null);
|
|
369
|
+
__publicField(this, "onselect", null);
|
|
370
|
+
__publicField(this, "onselectionchange", null);
|
|
371
|
+
__publicField(this, "onselectstart", null);
|
|
372
|
+
__publicField(this, "onslotchange", null);
|
|
373
|
+
__publicField(this, "onstalled", null);
|
|
374
|
+
__publicField(this, "onsubmit", null);
|
|
375
|
+
__publicField(this, "onsuspend", null);
|
|
376
|
+
__publicField(this, "ontimeupdate", null);
|
|
377
|
+
__publicField(this, "ontoggle", null);
|
|
378
|
+
__publicField(this, "ontransitioncancel", null);
|
|
379
|
+
__publicField(this, "ontransitionend", null);
|
|
380
|
+
__publicField(this, "ontransitionrun", null);
|
|
381
|
+
__publicField(this, "ontransitionstart", null);
|
|
382
|
+
__publicField(this, "onvolumechange", null);
|
|
383
|
+
__publicField(this, "onwaiting", null);
|
|
384
|
+
__publicField(this, "onwebkitanimationend", null);
|
|
385
|
+
__publicField(this, "onwebkitanimationiteration", null);
|
|
386
|
+
__publicField(this, "onwebkitanimationstart", null);
|
|
387
|
+
__publicField(this, "onwebkittransitionend", null);
|
|
388
|
+
__publicField(this, "onwheel", null);
|
|
389
|
+
__publicField(this, "childElementCount", 0);
|
|
390
|
+
__publicField(this, "children");
|
|
391
|
+
__publicField(this, "firstElementChild", null);
|
|
392
|
+
__publicField(this, "lastElementChild", null);
|
|
393
|
+
__publicField(this, "adoptNode", createSpy2("adoptNode"));
|
|
394
|
+
__publicField(this, "captureEvents", createSpy2("captureEvents"));
|
|
395
|
+
__publicField(this, "caretPositionFromPoint", createSpy2(
|
|
396
|
+
"caretPositionFromPoint"
|
|
397
|
+
));
|
|
398
|
+
__publicField(this, "caretRangeFromPoint", createSpy2(
|
|
399
|
+
"caretRangeFromPoint"
|
|
400
|
+
));
|
|
401
|
+
__publicField(this, "clear", createSpy2("clear"));
|
|
402
|
+
__publicField(this, "close", createSpy2("close"));
|
|
403
|
+
__publicField(this, "createAttribute", createSpy2("createAttribute"));
|
|
404
|
+
__publicField(this, "createAttributeNS", createSpy2("createAttributeNS"));
|
|
405
|
+
__publicField(this, "createCDATASection", createSpy2("createCDATASection"));
|
|
406
|
+
__publicField(this, "createComment", createSpy2("createComment"));
|
|
407
|
+
__publicField(this, "createDocumentFragment", createSpy2(
|
|
408
|
+
"createDocumentFragment"
|
|
409
|
+
));
|
|
410
|
+
__publicField(this, "createElement", createSpy2("createElement"));
|
|
411
|
+
__publicField(this, "createElementNS", createSpy2("createElementNS"));
|
|
412
|
+
__publicField(this, "createEvent", createSpy2("createEvent"));
|
|
413
|
+
__publicField(this, "createNodeIterator", createSpy2("createNodeIterator"));
|
|
414
|
+
__publicField(this, "createProcessingInstruction", createSpy2("createProcessingInstruction"));
|
|
415
|
+
__publicField(this, "createRange", createSpy2("createRange"));
|
|
416
|
+
__publicField(this, "createTextNode", createSpy2("createTextNode"));
|
|
417
|
+
__publicField(this, "createTreeWalker", createSpy2("createTreeWalker"));
|
|
418
|
+
__publicField(this, "execCommand", createSpy2("execCommand"));
|
|
419
|
+
__publicField(this, "exitFullscreen", createSpy2("exitFullscreen"));
|
|
420
|
+
__publicField(this, "exitPictureInPicture", createSpy2(
|
|
421
|
+
"exitPictureInPicture"
|
|
422
|
+
));
|
|
423
|
+
__publicField(this, "exitPointerLock", createSpy2("exitPointerLock"));
|
|
424
|
+
__publicField(this, "getElementById", createSpy2("getElementById"));
|
|
425
|
+
__publicField(this, "getElementsByClassName", createSpy2(
|
|
426
|
+
"getElementsByClassName"
|
|
427
|
+
));
|
|
428
|
+
__publicField(this, "getElementsByName", createSpy2("getElementsByName"));
|
|
429
|
+
__publicField(this, "getElementsByTagName", createSpy2(
|
|
430
|
+
"getElementsByTagName"
|
|
431
|
+
));
|
|
432
|
+
__publicField(this, "getElementsByTagNameNS", createSpy2(
|
|
433
|
+
"getElementsByTagNameNS"
|
|
434
|
+
));
|
|
435
|
+
__publicField(this, "getSelection", createSpy2("getSelection"));
|
|
436
|
+
__publicField(this, "hasFocus", createSpy2("hasFocus"));
|
|
437
|
+
__publicField(this, "hasStorageAccess", createSpy2("hasStorageAccess"));
|
|
438
|
+
__publicField(this, "importNode", createSpy2("importNode"));
|
|
439
|
+
__publicField(this, "open", createSpy2("open"));
|
|
440
|
+
__publicField(this, "queryCommandEnabled", createSpy2(
|
|
441
|
+
"queryCommandEnabled"
|
|
442
|
+
));
|
|
443
|
+
__publicField(this, "queryCommandIndeterm", createSpy2(
|
|
444
|
+
"queryCommandIndeterm"
|
|
445
|
+
));
|
|
446
|
+
__publicField(this, "queryCommandState", createSpy2("queryCommandState"));
|
|
447
|
+
__publicField(this, "queryCommandSupported", createSpy2(
|
|
448
|
+
"queryCommandSupported"
|
|
449
|
+
));
|
|
450
|
+
__publicField(this, "queryCommandValue", createSpy2("queryCommandValue"));
|
|
451
|
+
__publicField(this, "releaseEvents", createSpy2("releaseEvents"));
|
|
452
|
+
__publicField(this, "requestStorageAccess", createSpy2(
|
|
453
|
+
"requestStorageAccess"
|
|
454
|
+
));
|
|
455
|
+
__publicField(this, "startViewTransition", createSpy2(
|
|
456
|
+
"startViewTransition"
|
|
457
|
+
));
|
|
458
|
+
__publicField(this, "write", createSpy2("write"));
|
|
459
|
+
__publicField(this, "writeln", createSpy2("writeln"));
|
|
460
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
461
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
462
|
+
"removeEventListener"
|
|
463
|
+
));
|
|
464
|
+
__publicField(this, "appendChild", createSpy2("appendChild"));
|
|
465
|
+
__publicField(this, "cloneNode", createSpy2("cloneNode"));
|
|
466
|
+
__publicField(this, "compareDocumentPosition", createSpy2(
|
|
467
|
+
"compareDocumentPosition"
|
|
468
|
+
));
|
|
469
|
+
__publicField(this, "contains", createSpy2("contains"));
|
|
470
|
+
__publicField(this, "getRootNode", createSpy2("getRootNode"));
|
|
471
|
+
__publicField(this, "hasChildNodes", createSpy2("hasChildNodes"));
|
|
472
|
+
__publicField(this, "insertBefore", createSpy2("insertBefore"));
|
|
473
|
+
__publicField(this, "isDefaultNamespace", createSpy2("isDefaultNamespace"));
|
|
474
|
+
__publicField(this, "isEqualNode", createSpy2("isEqualNode"));
|
|
475
|
+
__publicField(this, "isSameNode", createSpy2("isSameNode"));
|
|
476
|
+
__publicField(this, "lookupNamespaceURI", createSpy2("lookupNamespaceURI"));
|
|
477
|
+
__publicField(this, "lookupPrefix", createSpy2("lookupPrefix"));
|
|
478
|
+
__publicField(this, "normalize", createSpy2("normalize"));
|
|
479
|
+
__publicField(this, "removeChild", createSpy2("removeChild"));
|
|
480
|
+
__publicField(this, "replaceChild", createSpy2("replaceChild"));
|
|
481
|
+
__publicField(this, "elementFromPoint", createSpy2("elementFromPoint"));
|
|
482
|
+
__publicField(this, "elementsFromPoint", createSpy2("elementsFromPoint"));
|
|
483
|
+
__publicField(this, "getAnimations", createSpy2("getAnimations"));
|
|
484
|
+
__publicField(this, "append", createSpy2("append"));
|
|
485
|
+
__publicField(this, "prepend", createSpy2("prepend"));
|
|
486
|
+
__publicField(this, "querySelector", createSpy2("querySelector"));
|
|
487
|
+
__publicField(this, "querySelectorAll", createSpy2("querySelectorAll"));
|
|
488
|
+
__publicField(this, "replaceChildren", createSpy2("replaceChildren"));
|
|
489
|
+
__publicField(this, "createExpression", createSpy2("createExpression"));
|
|
490
|
+
__publicField(this, "createNSResolver", createSpy2("createNSResolver"));
|
|
491
|
+
__publicField(this, "evaluate", createSpy2("evaluate"));
|
|
492
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
493
|
+
}
|
|
494
|
+
};
|
|
495
|
+
var MockErrorEvent = class {
|
|
496
|
+
constructor() {
|
|
497
|
+
__publicField(this, "colno", 0);
|
|
498
|
+
__publicField(this, "error");
|
|
499
|
+
__publicField(this, "filename", "");
|
|
500
|
+
__publicField(this, "lineno", 0);
|
|
501
|
+
__publicField(this, "message", "");
|
|
502
|
+
__publicField(this, "bubbles", false);
|
|
503
|
+
__publicField(this, "cancelBubble", false);
|
|
504
|
+
__publicField(this, "cancelable", false);
|
|
505
|
+
__publicField(this, "composed", false);
|
|
506
|
+
__publicField(this, "currentTarget", null);
|
|
507
|
+
__publicField(this, "defaultPrevented", false);
|
|
508
|
+
__publicField(this, "eventPhase", 0);
|
|
509
|
+
__publicField(this, "isTrusted", false);
|
|
510
|
+
__publicField(this, "returnValue", false);
|
|
511
|
+
__publicField(this, "srcElement", null);
|
|
512
|
+
__publicField(this, "target", null);
|
|
513
|
+
__publicField(this, "timeStamp", 0);
|
|
514
|
+
__publicField(this, "type", "");
|
|
515
|
+
__publicField(this, "NONE", 0);
|
|
516
|
+
__publicField(this, "CAPTURING_PHASE", 1);
|
|
517
|
+
__publicField(this, "AT_TARGET", 2);
|
|
518
|
+
__publicField(this, "BUBBLING_PHASE", 3);
|
|
519
|
+
__publicField(this, "composedPath", createSpy2("composedPath"));
|
|
520
|
+
__publicField(this, "initEvent", createSpy2("initEvent"));
|
|
521
|
+
__publicField(this, "preventDefault", createSpy2("preventDefault"));
|
|
522
|
+
__publicField(this, "stopImmediatePropagation", createSpy2("stopImmediatePropagation"));
|
|
523
|
+
__publicField(this, "stopPropagation", createSpy2("stopPropagation"));
|
|
524
|
+
}
|
|
525
|
+
};
|
|
526
|
+
var MockEvent = class {
|
|
527
|
+
constructor() {
|
|
528
|
+
__publicField(this, "bubbles", false);
|
|
529
|
+
__publicField(this, "cancelBubble", false);
|
|
530
|
+
__publicField(this, "cancelable", false);
|
|
531
|
+
__publicField(this, "composed", false);
|
|
532
|
+
__publicField(this, "currentTarget", null);
|
|
533
|
+
__publicField(this, "defaultPrevented", false);
|
|
534
|
+
__publicField(this, "eventPhase", 0);
|
|
535
|
+
__publicField(this, "isTrusted", false);
|
|
536
|
+
__publicField(this, "returnValue", false);
|
|
537
|
+
__publicField(this, "srcElement", null);
|
|
538
|
+
__publicField(this, "target", null);
|
|
539
|
+
__publicField(this, "timeStamp", 0);
|
|
540
|
+
__publicField(this, "type", "");
|
|
541
|
+
__publicField(this, "NONE", 0);
|
|
542
|
+
__publicField(this, "CAPTURING_PHASE", 1);
|
|
543
|
+
__publicField(this, "AT_TARGET", 2);
|
|
544
|
+
__publicField(this, "BUBBLING_PHASE", 3);
|
|
545
|
+
__publicField(this, "composedPath", createSpy2("composedPath"));
|
|
546
|
+
__publicField(this, "initEvent", createSpy2("initEvent"));
|
|
547
|
+
__publicField(this, "preventDefault", createSpy2("preventDefault"));
|
|
548
|
+
__publicField(this, "stopImmediatePropagation", createSpy2(
|
|
549
|
+
"stopImmediatePropagation"
|
|
550
|
+
));
|
|
551
|
+
__publicField(this, "stopPropagation", createSpy2("stopPropagation"));
|
|
552
|
+
}
|
|
553
|
+
};
|
|
554
|
+
var MockEventTarget = class {
|
|
555
|
+
constructor() {
|
|
556
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
557
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
558
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
559
|
+
"removeEventListener"
|
|
560
|
+
));
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
var MockHTMLAudioElement = class {
|
|
564
|
+
constructor() {
|
|
565
|
+
__publicField(this, "autoplay", false);
|
|
566
|
+
__publicField(this, "buffered");
|
|
567
|
+
__publicField(this, "controls", false);
|
|
568
|
+
__publicField(this, "crossOrigin", "");
|
|
569
|
+
__publicField(this, "currentSrc", "");
|
|
570
|
+
__publicField(this, "currentTime", 0);
|
|
571
|
+
__publicField(this, "defaultMuted", false);
|
|
572
|
+
__publicField(this, "defaultPlaybackRate", 0);
|
|
573
|
+
__publicField(this, "disableRemotePlayback", false);
|
|
574
|
+
__publicField(this, "duration", 0);
|
|
575
|
+
__publicField(this, "ended", false);
|
|
576
|
+
__publicField(this, "error", null);
|
|
577
|
+
__publicField(this, "loop", false);
|
|
578
|
+
__publicField(this, "mediaKeys", null);
|
|
579
|
+
__publicField(this, "muted", false);
|
|
580
|
+
__publicField(this, "networkState", 0);
|
|
581
|
+
__publicField(this, "onencrypted", null);
|
|
582
|
+
__publicField(this, "onwaitingforkey", null);
|
|
583
|
+
__publicField(this, "paused", false);
|
|
584
|
+
__publicField(this, "playbackRate", 0);
|
|
585
|
+
__publicField(this, "played");
|
|
586
|
+
__publicField(this, "preload", "none");
|
|
587
|
+
__publicField(this, "preservesPitch", false);
|
|
588
|
+
__publicField(this, "readyState", 0);
|
|
589
|
+
__publicField(this, "remote");
|
|
590
|
+
__publicField(this, "seekable");
|
|
591
|
+
__publicField(this, "seeking", false);
|
|
592
|
+
__publicField(this, "sinkId", "");
|
|
593
|
+
__publicField(this, "src", "");
|
|
594
|
+
__publicField(this, "srcObject");
|
|
595
|
+
__publicField(this, "textTracks");
|
|
596
|
+
__publicField(this, "volume", 0);
|
|
597
|
+
__publicField(this, "NETWORK_EMPTY", 0);
|
|
598
|
+
__publicField(this, "NETWORK_IDLE", 1);
|
|
599
|
+
__publicField(this, "NETWORK_LOADING", 2);
|
|
600
|
+
__publicField(this, "NETWORK_NO_SOURCE", 3);
|
|
601
|
+
__publicField(this, "HAVE_NOTHING", 0);
|
|
602
|
+
__publicField(this, "HAVE_METADATA", 1);
|
|
603
|
+
__publicField(this, "HAVE_CURRENT_DATA", 2);
|
|
604
|
+
__publicField(this, "HAVE_FUTURE_DATA", 3);
|
|
605
|
+
__publicField(this, "HAVE_ENOUGH_DATA", 4);
|
|
606
|
+
__publicField(this, "accessKey", "");
|
|
607
|
+
__publicField(this, "accessKeyLabel", "");
|
|
608
|
+
__publicField(this, "autocapitalize", "");
|
|
609
|
+
__publicField(this, "autocorrect", false);
|
|
610
|
+
__publicField(this, "dir", "");
|
|
611
|
+
__publicField(this, "draggable", false);
|
|
612
|
+
__publicField(this, "hidden", false);
|
|
613
|
+
__publicField(this, "inert", false);
|
|
614
|
+
__publicField(this, "innerText", "");
|
|
615
|
+
__publicField(this, "lang", "");
|
|
616
|
+
__publicField(this, "offsetHeight", 0);
|
|
617
|
+
__publicField(this, "offsetLeft", 0);
|
|
618
|
+
__publicField(this, "offsetParent", null);
|
|
619
|
+
__publicField(this, "offsetTop", 0);
|
|
620
|
+
__publicField(this, "offsetWidth", 0);
|
|
621
|
+
__publicField(this, "outerText", "");
|
|
622
|
+
__publicField(this, "popover", "");
|
|
623
|
+
__publicField(this, "spellcheck", false);
|
|
624
|
+
__publicField(this, "title", "");
|
|
625
|
+
__publicField(this, "translate", false);
|
|
626
|
+
__publicField(this, "writingSuggestions", "");
|
|
627
|
+
__publicField(this, "attributes");
|
|
628
|
+
__publicField(this, "className", "");
|
|
629
|
+
__publicField(this, "clientHeight", 0);
|
|
630
|
+
__publicField(this, "clientLeft", 0);
|
|
631
|
+
__publicField(this, "clientTop", 0);
|
|
632
|
+
__publicField(this, "clientWidth", 0);
|
|
633
|
+
__publicField(this, "currentCSSZoom", 0);
|
|
634
|
+
__publicField(this, "id", "");
|
|
635
|
+
__publicField(this, "innerHTML", "");
|
|
636
|
+
__publicField(this, "localName", "");
|
|
637
|
+
__publicField(this, "namespaceURI", "");
|
|
638
|
+
__publicField(this, "onfullscreenchange", null);
|
|
639
|
+
__publicField(this, "onfullscreenerror", null);
|
|
640
|
+
__publicField(this, "outerHTML", "");
|
|
641
|
+
__publicField(this, "ownerDocument");
|
|
642
|
+
__publicField(this, "prefix", "");
|
|
643
|
+
__publicField(this, "scrollHeight", 0);
|
|
644
|
+
__publicField(this, "scrollLeft", 0);
|
|
645
|
+
__publicField(this, "scrollTop", 0);
|
|
646
|
+
__publicField(this, "scrollWidth", 0);
|
|
647
|
+
__publicField(this, "shadowRoot", null);
|
|
648
|
+
__publicField(this, "slot", "");
|
|
649
|
+
__publicField(this, "tagName", "");
|
|
650
|
+
__publicField(this, "classList");
|
|
651
|
+
__publicField(this, "part");
|
|
652
|
+
__publicField(this, "textContent");
|
|
653
|
+
__publicField(this, "attributeStyleMap");
|
|
654
|
+
__publicField(this, "style");
|
|
655
|
+
__publicField(this, "contentEditable", "");
|
|
656
|
+
__publicField(this, "enterKeyHint", "");
|
|
657
|
+
__publicField(this, "inputMode", "");
|
|
658
|
+
__publicField(this, "isContentEditable", false);
|
|
659
|
+
__publicField(this, "onabort", null);
|
|
660
|
+
__publicField(this, "onanimationcancel", null);
|
|
661
|
+
__publicField(this, "onanimationend", null);
|
|
662
|
+
__publicField(this, "onanimationiteration", null);
|
|
663
|
+
__publicField(this, "onanimationstart", null);
|
|
664
|
+
__publicField(this, "onauxclick", null);
|
|
665
|
+
__publicField(this, "onbeforeinput", null);
|
|
666
|
+
__publicField(this, "onbeforematch", null);
|
|
667
|
+
__publicField(this, "onbeforetoggle", null);
|
|
668
|
+
__publicField(this, "onblur", null);
|
|
669
|
+
__publicField(this, "oncancel", null);
|
|
670
|
+
__publicField(this, "oncanplay", null);
|
|
671
|
+
__publicField(this, "oncanplaythrough", null);
|
|
672
|
+
__publicField(this, "onchange", null);
|
|
673
|
+
__publicField(this, "onclick", null);
|
|
674
|
+
__publicField(this, "onclose", null);
|
|
675
|
+
__publicField(this, "oncontextlost", null);
|
|
676
|
+
__publicField(this, "oncontextmenu", null);
|
|
677
|
+
__publicField(this, "oncontextrestored", null);
|
|
678
|
+
__publicField(this, "oncopy", null);
|
|
679
|
+
__publicField(this, "oncuechange", null);
|
|
680
|
+
__publicField(this, "oncut", null);
|
|
681
|
+
__publicField(this, "ondblclick", null);
|
|
682
|
+
__publicField(this, "ondrag", null);
|
|
683
|
+
__publicField(this, "ondragend", null);
|
|
684
|
+
__publicField(this, "ondragenter", null);
|
|
685
|
+
__publicField(this, "ondragleave", null);
|
|
686
|
+
__publicField(this, "ondragover", null);
|
|
687
|
+
__publicField(this, "ondragstart", null);
|
|
688
|
+
__publicField(this, "ondrop", null);
|
|
689
|
+
__publicField(this, "ondurationchange", null);
|
|
690
|
+
__publicField(this, "onemptied", null);
|
|
691
|
+
__publicField(this, "onended", null);
|
|
692
|
+
__publicField(this, "onerror");
|
|
693
|
+
__publicField(this, "onfocus", null);
|
|
694
|
+
__publicField(this, "onformdata", null);
|
|
695
|
+
__publicField(this, "ongotpointercapture", null);
|
|
696
|
+
__publicField(this, "oninput", null);
|
|
697
|
+
__publicField(this, "oninvalid", null);
|
|
698
|
+
__publicField(this, "onkeydown", null);
|
|
699
|
+
__publicField(this, "onkeypress", null);
|
|
700
|
+
__publicField(this, "onkeyup", null);
|
|
701
|
+
__publicField(this, "onload", null);
|
|
702
|
+
__publicField(this, "onloadeddata", null);
|
|
703
|
+
__publicField(this, "onloadedmetadata", null);
|
|
704
|
+
__publicField(this, "onloadstart", null);
|
|
705
|
+
__publicField(this, "onlostpointercapture", null);
|
|
706
|
+
__publicField(this, "onmousedown", null);
|
|
707
|
+
__publicField(this, "onmouseenter", null);
|
|
708
|
+
__publicField(this, "onmouseleave", null);
|
|
709
|
+
__publicField(this, "onmousemove", null);
|
|
710
|
+
__publicField(this, "onmouseout", null);
|
|
711
|
+
__publicField(this, "onmouseover", null);
|
|
712
|
+
__publicField(this, "onmouseup", null);
|
|
713
|
+
__publicField(this, "onpaste", null);
|
|
714
|
+
__publicField(this, "onpause", null);
|
|
715
|
+
__publicField(this, "onplay", null);
|
|
716
|
+
__publicField(this, "onplaying", null);
|
|
717
|
+
__publicField(this, "onpointercancel", null);
|
|
718
|
+
__publicField(this, "onpointerdown", null);
|
|
719
|
+
__publicField(this, "onpointerenter", null);
|
|
720
|
+
__publicField(this, "onpointerleave", null);
|
|
721
|
+
__publicField(this, "onpointermove", null);
|
|
722
|
+
__publicField(this, "onpointerout", null);
|
|
723
|
+
__publicField(this, "onpointerover", null);
|
|
724
|
+
__publicField(this, "onpointerrawupdate", null);
|
|
725
|
+
__publicField(this, "onpointerup", null);
|
|
726
|
+
__publicField(this, "onprogress", null);
|
|
727
|
+
__publicField(this, "onratechange", null);
|
|
728
|
+
__publicField(this, "onreset", null);
|
|
729
|
+
__publicField(this, "onresize", null);
|
|
730
|
+
__publicField(this, "onscroll", null);
|
|
731
|
+
__publicField(this, "onscrollend", null);
|
|
732
|
+
__publicField(this, "onsecuritypolicyviolation", null);
|
|
733
|
+
__publicField(this, "onseeked", null);
|
|
734
|
+
__publicField(this, "onseeking", null);
|
|
735
|
+
__publicField(this, "onselect", null);
|
|
736
|
+
__publicField(this, "onselectionchange", null);
|
|
737
|
+
__publicField(this, "onselectstart", null);
|
|
738
|
+
__publicField(this, "onslotchange", null);
|
|
739
|
+
__publicField(this, "onstalled", null);
|
|
740
|
+
__publicField(this, "onsubmit", null);
|
|
741
|
+
__publicField(this, "onsuspend", null);
|
|
742
|
+
__publicField(this, "ontimeupdate", null);
|
|
743
|
+
__publicField(this, "ontoggle", null);
|
|
744
|
+
__publicField(this, "ontransitioncancel", null);
|
|
745
|
+
__publicField(this, "ontransitionend", null);
|
|
746
|
+
__publicField(this, "ontransitionrun", null);
|
|
747
|
+
__publicField(this, "ontransitionstart", null);
|
|
748
|
+
__publicField(this, "onvolumechange", null);
|
|
749
|
+
__publicField(this, "onwaiting", null);
|
|
750
|
+
__publicField(this, "onwebkitanimationend", null);
|
|
751
|
+
__publicField(this, "onwebkitanimationiteration", null);
|
|
752
|
+
__publicField(this, "onwebkitanimationstart", null);
|
|
753
|
+
__publicField(this, "onwebkittransitionend", null);
|
|
754
|
+
__publicField(this, "onwheel", null);
|
|
755
|
+
__publicField(this, "autofocus", false);
|
|
756
|
+
__publicField(this, "dataset");
|
|
757
|
+
__publicField(this, "tabIndex", 0);
|
|
758
|
+
__publicField(this, "baseURI", "");
|
|
759
|
+
__publicField(this, "childNodes");
|
|
760
|
+
__publicField(this, "firstChild", null);
|
|
761
|
+
__publicField(this, "isConnected", false);
|
|
762
|
+
__publicField(this, "lastChild", null);
|
|
763
|
+
__publicField(this, "nextSibling", null);
|
|
764
|
+
__publicField(this, "nodeName", "");
|
|
765
|
+
__publicField(this, "nodeType", 0);
|
|
766
|
+
__publicField(this, "nodeValue", "");
|
|
767
|
+
__publicField(this, "parentElement", null);
|
|
768
|
+
__publicField(this, "parentNode", null);
|
|
769
|
+
__publicField(this, "previousSibling", null);
|
|
770
|
+
__publicField(this, "ELEMENT_NODE", 1);
|
|
771
|
+
__publicField(this, "ATTRIBUTE_NODE", 2);
|
|
772
|
+
__publicField(this, "TEXT_NODE", 3);
|
|
773
|
+
__publicField(this, "CDATA_SECTION_NODE", 4);
|
|
774
|
+
__publicField(this, "ENTITY_REFERENCE_NODE", 5);
|
|
775
|
+
__publicField(this, "ENTITY_NODE", 6);
|
|
776
|
+
__publicField(this, "PROCESSING_INSTRUCTION_NODE", 7);
|
|
777
|
+
__publicField(this, "COMMENT_NODE", 8);
|
|
778
|
+
__publicField(this, "DOCUMENT_NODE", 9);
|
|
779
|
+
__publicField(this, "DOCUMENT_TYPE_NODE", 10);
|
|
780
|
+
__publicField(this, "DOCUMENT_FRAGMENT_NODE", 11);
|
|
781
|
+
__publicField(this, "NOTATION_NODE", 12);
|
|
782
|
+
__publicField(this, "DOCUMENT_POSITION_DISCONNECTED", 1);
|
|
783
|
+
__publicField(this, "DOCUMENT_POSITION_PRECEDING", 2);
|
|
784
|
+
__publicField(this, "DOCUMENT_POSITION_FOLLOWING", 4);
|
|
785
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINS", 8);
|
|
786
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINED_BY", 16);
|
|
787
|
+
__publicField(this, "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", 32);
|
|
788
|
+
__publicField(this, "ariaActiveDescendantElement", null);
|
|
789
|
+
__publicField(this, "ariaAtomic", "");
|
|
790
|
+
__publicField(this, "ariaAutoComplete", "");
|
|
791
|
+
__publicField(this, "ariaBrailleLabel", "");
|
|
792
|
+
__publicField(this, "ariaBrailleRoleDescription", "");
|
|
793
|
+
__publicField(this, "ariaBusy", "");
|
|
794
|
+
__publicField(this, "ariaChecked", "");
|
|
795
|
+
__publicField(this, "ariaColCount", "");
|
|
796
|
+
__publicField(this, "ariaColIndex", "");
|
|
797
|
+
__publicField(this, "ariaColIndexText", "");
|
|
798
|
+
__publicField(this, "ariaColSpan", "");
|
|
799
|
+
__publicField(this, "ariaControlsElements", null);
|
|
800
|
+
__publicField(this, "ariaCurrent", "");
|
|
801
|
+
__publicField(this, "ariaDescribedByElements", null);
|
|
802
|
+
__publicField(this, "ariaDescription", "");
|
|
803
|
+
__publicField(this, "ariaDetailsElements", null);
|
|
804
|
+
__publicField(this, "ariaDisabled", "");
|
|
805
|
+
__publicField(this, "ariaErrorMessageElements", null);
|
|
806
|
+
__publicField(this, "ariaExpanded", "");
|
|
807
|
+
__publicField(this, "ariaFlowToElements", null);
|
|
808
|
+
__publicField(this, "ariaHasPopup", "");
|
|
809
|
+
__publicField(this, "ariaHidden", "");
|
|
810
|
+
__publicField(this, "ariaInvalid", "");
|
|
811
|
+
__publicField(this, "ariaKeyShortcuts", "");
|
|
812
|
+
__publicField(this, "ariaLabel", "");
|
|
813
|
+
__publicField(this, "ariaLabelledByElements", null);
|
|
814
|
+
__publicField(this, "ariaLevel", "");
|
|
815
|
+
__publicField(this, "ariaLive", "");
|
|
816
|
+
__publicField(this, "ariaModal", "");
|
|
817
|
+
__publicField(this, "ariaMultiLine", "");
|
|
818
|
+
__publicField(this, "ariaMultiSelectable", "");
|
|
819
|
+
__publicField(this, "ariaOrientation", "");
|
|
820
|
+
__publicField(this, "ariaOwnsElements", null);
|
|
821
|
+
__publicField(this, "ariaPlaceholder", "");
|
|
822
|
+
__publicField(this, "ariaPosInSet", "");
|
|
823
|
+
__publicField(this, "ariaPressed", "");
|
|
824
|
+
__publicField(this, "ariaReadOnly", "");
|
|
825
|
+
__publicField(this, "ariaRelevant", "");
|
|
826
|
+
__publicField(this, "ariaRequired", "");
|
|
827
|
+
__publicField(this, "ariaRoleDescription", "");
|
|
828
|
+
__publicField(this, "ariaRowCount", "");
|
|
829
|
+
__publicField(this, "ariaRowIndex", "");
|
|
830
|
+
__publicField(this, "ariaRowIndexText", "");
|
|
831
|
+
__publicField(this, "ariaRowSpan", "");
|
|
832
|
+
__publicField(this, "ariaSelected", "");
|
|
833
|
+
__publicField(this, "ariaSetSize", "");
|
|
834
|
+
__publicField(this, "ariaSort", "");
|
|
835
|
+
__publicField(this, "ariaValueMax", "");
|
|
836
|
+
__publicField(this, "ariaValueMin", "");
|
|
837
|
+
__publicField(this, "ariaValueNow", "");
|
|
838
|
+
__publicField(this, "ariaValueText", "");
|
|
839
|
+
__publicField(this, "role", "");
|
|
840
|
+
__publicField(this, "nextElementSibling", null);
|
|
841
|
+
__publicField(this, "previousElementSibling", null);
|
|
842
|
+
__publicField(this, "childElementCount", 0);
|
|
843
|
+
__publicField(this, "children");
|
|
844
|
+
__publicField(this, "firstElementChild", null);
|
|
845
|
+
__publicField(this, "lastElementChild", null);
|
|
846
|
+
__publicField(this, "assignedSlot", null);
|
|
847
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
848
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
849
|
+
"removeEventListener"
|
|
850
|
+
));
|
|
851
|
+
__publicField(this, "addTextTrack", createSpy2("addTextTrack"));
|
|
852
|
+
__publicField(this, "canPlayType", createSpy2("canPlayType"));
|
|
853
|
+
__publicField(this, "fastSeek", createSpy2("fastSeek"));
|
|
854
|
+
__publicField(this, "load", createSpy2("load"));
|
|
855
|
+
__publicField(this, "pause", createSpy2("pause"));
|
|
856
|
+
__publicField(this, "play", createSpy2("play"));
|
|
857
|
+
__publicField(this, "setMediaKeys", createSpy2("setMediaKeys"));
|
|
858
|
+
__publicField(this, "setSinkId", createSpy2("setSinkId"));
|
|
859
|
+
__publicField(this, "attachInternals", createSpy2("attachInternals"));
|
|
860
|
+
__publicField(this, "click", createSpy2("click"));
|
|
861
|
+
__publicField(this, "hidePopover", createSpy2("hidePopover"));
|
|
862
|
+
__publicField(this, "showPopover", createSpy2("showPopover"));
|
|
863
|
+
__publicField(this, "togglePopover", createSpy2("togglePopover"));
|
|
864
|
+
__publicField(this, "attachShadow", createSpy2("attachShadow"));
|
|
865
|
+
__publicField(this, "checkVisibility", createSpy2("checkVisibility"));
|
|
866
|
+
__publicField(this, "closest", createSpy2("closest"));
|
|
867
|
+
__publicField(this, "computedStyleMap", createSpy2("computedStyleMap"));
|
|
868
|
+
__publicField(this, "getAttribute", createSpy2("getAttribute"));
|
|
869
|
+
__publicField(this, "getAttributeNS", createSpy2("getAttributeNS"));
|
|
870
|
+
__publicField(this, "getAttributeNames", createSpy2("getAttributeNames"));
|
|
871
|
+
__publicField(this, "getAttributeNode", createSpy2("getAttributeNode"));
|
|
872
|
+
__publicField(this, "getAttributeNodeNS", createSpy2("getAttributeNodeNS"));
|
|
873
|
+
__publicField(this, "getBoundingClientRect", createSpy2("getBoundingClientRect"));
|
|
874
|
+
__publicField(this, "getClientRects", createSpy2("getClientRects"));
|
|
875
|
+
__publicField(this, "getElementsByClassName", createSpy2("getElementsByClassName"));
|
|
876
|
+
__publicField(this, "getElementsByTagName", createSpy2(
|
|
877
|
+
"getElementsByTagName"
|
|
878
|
+
));
|
|
879
|
+
__publicField(this, "getElementsByTagNameNS", createSpy2("getElementsByTagNameNS"));
|
|
880
|
+
__publicField(this, "getHTML", createSpy2("getHTML"));
|
|
881
|
+
__publicField(this, "hasAttribute", createSpy2("hasAttribute"));
|
|
882
|
+
__publicField(this, "hasAttributeNS", createSpy2("hasAttributeNS"));
|
|
883
|
+
__publicField(this, "hasAttributes", createSpy2("hasAttributes"));
|
|
884
|
+
__publicField(this, "hasPointerCapture", createSpy2("hasPointerCapture"));
|
|
885
|
+
__publicField(this, "insertAdjacentElement", createSpy2("insertAdjacentElement"));
|
|
886
|
+
__publicField(this, "insertAdjacentHTML", createSpy2("insertAdjacentHTML"));
|
|
887
|
+
__publicField(this, "insertAdjacentText", createSpy2("insertAdjacentText"));
|
|
888
|
+
__publicField(this, "matches", createSpy2("matches"));
|
|
889
|
+
__publicField(this, "releasePointerCapture", createSpy2("releasePointerCapture"));
|
|
890
|
+
__publicField(this, "removeAttribute", createSpy2("removeAttribute"));
|
|
891
|
+
__publicField(this, "removeAttributeNS", createSpy2("removeAttributeNS"));
|
|
892
|
+
__publicField(this, "removeAttributeNode", createSpy2(
|
|
893
|
+
"removeAttributeNode"
|
|
894
|
+
));
|
|
895
|
+
__publicField(this, "requestFullscreen", createSpy2("requestFullscreen"));
|
|
896
|
+
__publicField(this, "requestPointerLock", createSpy2("requestPointerLock"));
|
|
897
|
+
__publicField(this, "scroll", createSpy2("scroll"));
|
|
898
|
+
__publicField(this, "scrollBy", createSpy2("scrollBy"));
|
|
899
|
+
__publicField(this, "scrollIntoView", createSpy2("scrollIntoView"));
|
|
900
|
+
__publicField(this, "scrollTo", createSpy2("scrollTo"));
|
|
901
|
+
__publicField(this, "setAttribute", createSpy2("setAttribute"));
|
|
902
|
+
__publicField(this, "setAttributeNS", createSpy2("setAttributeNS"));
|
|
903
|
+
__publicField(this, "setAttributeNode", createSpy2("setAttributeNode"));
|
|
904
|
+
__publicField(this, "setAttributeNodeNS", createSpy2("setAttributeNodeNS"));
|
|
905
|
+
__publicField(this, "setHTMLUnsafe", createSpy2("setHTMLUnsafe"));
|
|
906
|
+
__publicField(this, "setPointerCapture", createSpy2("setPointerCapture"));
|
|
907
|
+
__publicField(this, "toggleAttribute", createSpy2("toggleAttribute"));
|
|
908
|
+
__publicField(this, "webkitMatchesSelector", createSpy2("webkitMatchesSelector"));
|
|
909
|
+
__publicField(this, "blur", createSpy2("blur"));
|
|
910
|
+
__publicField(this, "focus", createSpy2("focus"));
|
|
911
|
+
__publicField(this, "appendChild", createSpy2("appendChild"));
|
|
912
|
+
__publicField(this, "cloneNode", createSpy2("cloneNode"));
|
|
913
|
+
__publicField(this, "compareDocumentPosition", createSpy2("compareDocumentPosition"));
|
|
914
|
+
__publicField(this, "contains", createSpy2("contains"));
|
|
915
|
+
__publicField(this, "getRootNode", createSpy2("getRootNode"));
|
|
916
|
+
__publicField(this, "hasChildNodes", createSpy2("hasChildNodes"));
|
|
917
|
+
__publicField(this, "insertBefore", createSpy2("insertBefore"));
|
|
918
|
+
__publicField(this, "isDefaultNamespace", createSpy2("isDefaultNamespace"));
|
|
919
|
+
__publicField(this, "isEqualNode", createSpy2("isEqualNode"));
|
|
920
|
+
__publicField(this, "isSameNode", createSpy2("isSameNode"));
|
|
921
|
+
__publicField(this, "lookupNamespaceURI", createSpy2("lookupNamespaceURI"));
|
|
922
|
+
__publicField(this, "lookupPrefix", createSpy2("lookupPrefix"));
|
|
923
|
+
__publicField(this, "normalize", createSpy2("normalize"));
|
|
924
|
+
__publicField(this, "removeChild", createSpy2("removeChild"));
|
|
925
|
+
__publicField(this, "replaceChild", createSpy2("replaceChild"));
|
|
926
|
+
__publicField(this, "animate", createSpy2("animate"));
|
|
927
|
+
__publicField(this, "getAnimations", createSpy2("getAnimations"));
|
|
928
|
+
__publicField(this, "after", createSpy2("after"));
|
|
929
|
+
__publicField(this, "before", createSpy2("before"));
|
|
930
|
+
__publicField(this, "remove", createSpy2("remove"));
|
|
931
|
+
__publicField(this, "replaceWith", createSpy2("replaceWith"));
|
|
932
|
+
__publicField(this, "append", createSpy2("append"));
|
|
933
|
+
__publicField(this, "prepend", createSpy2("prepend"));
|
|
934
|
+
__publicField(this, "querySelector", createSpy2("querySelector"));
|
|
935
|
+
__publicField(this, "querySelectorAll", createSpy2("querySelectorAll"));
|
|
936
|
+
__publicField(this, "replaceChildren", createSpy2("replaceChildren"));
|
|
937
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
938
|
+
}
|
|
939
|
+
};
|
|
940
|
+
var MockHTMLDivElement = class {
|
|
941
|
+
constructor() {
|
|
942
|
+
__publicField(this, "align", "");
|
|
943
|
+
__publicField(this, "accessKey", "");
|
|
944
|
+
__publicField(this, "accessKeyLabel", "");
|
|
945
|
+
__publicField(this, "autocapitalize", "");
|
|
946
|
+
__publicField(this, "autocorrect", false);
|
|
947
|
+
__publicField(this, "dir", "");
|
|
948
|
+
__publicField(this, "draggable", false);
|
|
949
|
+
__publicField(this, "hidden", false);
|
|
950
|
+
__publicField(this, "inert", false);
|
|
951
|
+
__publicField(this, "innerText", "");
|
|
952
|
+
__publicField(this, "lang", "");
|
|
953
|
+
__publicField(this, "offsetHeight", 0);
|
|
954
|
+
__publicField(this, "offsetLeft", 0);
|
|
955
|
+
__publicField(this, "offsetParent", null);
|
|
956
|
+
__publicField(this, "offsetTop", 0);
|
|
957
|
+
__publicField(this, "offsetWidth", 0);
|
|
958
|
+
__publicField(this, "outerText", "");
|
|
959
|
+
__publicField(this, "popover", "");
|
|
960
|
+
__publicField(this, "spellcheck", false);
|
|
961
|
+
__publicField(this, "title", "");
|
|
962
|
+
__publicField(this, "translate", false);
|
|
963
|
+
__publicField(this, "writingSuggestions", "");
|
|
964
|
+
__publicField(this, "attributes");
|
|
965
|
+
__publicField(this, "className", "");
|
|
966
|
+
__publicField(this, "clientHeight", 0);
|
|
967
|
+
__publicField(this, "clientLeft", 0);
|
|
968
|
+
__publicField(this, "clientTop", 0);
|
|
969
|
+
__publicField(this, "clientWidth", 0);
|
|
970
|
+
__publicField(this, "currentCSSZoom", 0);
|
|
971
|
+
__publicField(this, "id", "");
|
|
972
|
+
__publicField(this, "innerHTML", "");
|
|
973
|
+
__publicField(this, "localName", "");
|
|
974
|
+
__publicField(this, "namespaceURI", "");
|
|
975
|
+
__publicField(this, "onfullscreenchange", null);
|
|
976
|
+
__publicField(this, "onfullscreenerror", null);
|
|
977
|
+
__publicField(this, "outerHTML", "");
|
|
978
|
+
__publicField(this, "ownerDocument");
|
|
979
|
+
__publicField(this, "prefix", "");
|
|
980
|
+
__publicField(this, "scrollHeight", 0);
|
|
981
|
+
__publicField(this, "scrollLeft", 0);
|
|
982
|
+
__publicField(this, "scrollTop", 0);
|
|
983
|
+
__publicField(this, "scrollWidth", 0);
|
|
984
|
+
__publicField(this, "shadowRoot", null);
|
|
985
|
+
__publicField(this, "slot", "");
|
|
986
|
+
__publicField(this, "tagName", "");
|
|
987
|
+
__publicField(this, "classList");
|
|
988
|
+
__publicField(this, "part");
|
|
989
|
+
__publicField(this, "textContent");
|
|
990
|
+
__publicField(this, "attributeStyleMap");
|
|
991
|
+
__publicField(this, "style");
|
|
992
|
+
__publicField(this, "contentEditable", "");
|
|
993
|
+
__publicField(this, "enterKeyHint", "");
|
|
994
|
+
__publicField(this, "inputMode", "");
|
|
995
|
+
__publicField(this, "isContentEditable", false);
|
|
996
|
+
__publicField(this, "onabort", null);
|
|
997
|
+
__publicField(this, "onanimationcancel", null);
|
|
998
|
+
__publicField(this, "onanimationend", null);
|
|
999
|
+
__publicField(this, "onanimationiteration", null);
|
|
1000
|
+
__publicField(this, "onanimationstart", null);
|
|
1001
|
+
__publicField(this, "onauxclick", null);
|
|
1002
|
+
__publicField(this, "onbeforeinput", null);
|
|
1003
|
+
__publicField(this, "onbeforematch", null);
|
|
1004
|
+
__publicField(this, "onbeforetoggle", null);
|
|
1005
|
+
__publicField(this, "onblur", null);
|
|
1006
|
+
__publicField(this, "oncancel", null);
|
|
1007
|
+
__publicField(this, "oncanplay", null);
|
|
1008
|
+
__publicField(this, "oncanplaythrough", null);
|
|
1009
|
+
__publicField(this, "onchange", null);
|
|
1010
|
+
__publicField(this, "onclick", null);
|
|
1011
|
+
__publicField(this, "onclose", null);
|
|
1012
|
+
__publicField(this, "oncontextlost", null);
|
|
1013
|
+
__publicField(this, "oncontextmenu", null);
|
|
1014
|
+
__publicField(this, "oncontextrestored", null);
|
|
1015
|
+
__publicField(this, "oncopy", null);
|
|
1016
|
+
__publicField(this, "oncuechange", null);
|
|
1017
|
+
__publicField(this, "oncut", null);
|
|
1018
|
+
__publicField(this, "ondblclick", null);
|
|
1019
|
+
__publicField(this, "ondrag", null);
|
|
1020
|
+
__publicField(this, "ondragend", null);
|
|
1021
|
+
__publicField(this, "ondragenter", null);
|
|
1022
|
+
__publicField(this, "ondragleave", null);
|
|
1023
|
+
__publicField(this, "ondragover", null);
|
|
1024
|
+
__publicField(this, "ondragstart", null);
|
|
1025
|
+
__publicField(this, "ondrop", null);
|
|
1026
|
+
__publicField(this, "ondurationchange", null);
|
|
1027
|
+
__publicField(this, "onemptied", null);
|
|
1028
|
+
__publicField(this, "onended", null);
|
|
1029
|
+
__publicField(this, "onerror");
|
|
1030
|
+
__publicField(this, "onfocus", null);
|
|
1031
|
+
__publicField(this, "onformdata", null);
|
|
1032
|
+
__publicField(this, "ongotpointercapture", null);
|
|
1033
|
+
__publicField(this, "oninput", null);
|
|
1034
|
+
__publicField(this, "oninvalid", null);
|
|
1035
|
+
__publicField(this, "onkeydown", null);
|
|
1036
|
+
__publicField(this, "onkeypress", null);
|
|
1037
|
+
__publicField(this, "onkeyup", null);
|
|
1038
|
+
__publicField(this, "onload", null);
|
|
1039
|
+
__publicField(this, "onloadeddata", null);
|
|
1040
|
+
__publicField(this, "onloadedmetadata", null);
|
|
1041
|
+
__publicField(this, "onloadstart", null);
|
|
1042
|
+
__publicField(this, "onlostpointercapture", null);
|
|
1043
|
+
__publicField(this, "onmousedown", null);
|
|
1044
|
+
__publicField(this, "onmouseenter", null);
|
|
1045
|
+
__publicField(this, "onmouseleave", null);
|
|
1046
|
+
__publicField(this, "onmousemove", null);
|
|
1047
|
+
__publicField(this, "onmouseout", null);
|
|
1048
|
+
__publicField(this, "onmouseover", null);
|
|
1049
|
+
__publicField(this, "onmouseup", null);
|
|
1050
|
+
__publicField(this, "onpaste", null);
|
|
1051
|
+
__publicField(this, "onpause", null);
|
|
1052
|
+
__publicField(this, "onplay", null);
|
|
1053
|
+
__publicField(this, "onplaying", null);
|
|
1054
|
+
__publicField(this, "onpointercancel", null);
|
|
1055
|
+
__publicField(this, "onpointerdown", null);
|
|
1056
|
+
__publicField(this, "onpointerenter", null);
|
|
1057
|
+
__publicField(this, "onpointerleave", null);
|
|
1058
|
+
__publicField(this, "onpointermove", null);
|
|
1059
|
+
__publicField(this, "onpointerout", null);
|
|
1060
|
+
__publicField(this, "onpointerover", null);
|
|
1061
|
+
__publicField(this, "onpointerrawupdate", null);
|
|
1062
|
+
__publicField(this, "onpointerup", null);
|
|
1063
|
+
__publicField(this, "onprogress", null);
|
|
1064
|
+
__publicField(this, "onratechange", null);
|
|
1065
|
+
__publicField(this, "onreset", null);
|
|
1066
|
+
__publicField(this, "onresize", null);
|
|
1067
|
+
__publicField(this, "onscroll", null);
|
|
1068
|
+
__publicField(this, "onscrollend", null);
|
|
1069
|
+
__publicField(this, "onsecuritypolicyviolation", null);
|
|
1070
|
+
__publicField(this, "onseeked", null);
|
|
1071
|
+
__publicField(this, "onseeking", null);
|
|
1072
|
+
__publicField(this, "onselect", null);
|
|
1073
|
+
__publicField(this, "onselectionchange", null);
|
|
1074
|
+
__publicField(this, "onselectstart", null);
|
|
1075
|
+
__publicField(this, "onslotchange", null);
|
|
1076
|
+
__publicField(this, "onstalled", null);
|
|
1077
|
+
__publicField(this, "onsubmit", null);
|
|
1078
|
+
__publicField(this, "onsuspend", null);
|
|
1079
|
+
__publicField(this, "ontimeupdate", null);
|
|
1080
|
+
__publicField(this, "ontoggle", null);
|
|
1081
|
+
__publicField(this, "ontransitioncancel", null);
|
|
1082
|
+
__publicField(this, "ontransitionend", null);
|
|
1083
|
+
__publicField(this, "ontransitionrun", null);
|
|
1084
|
+
__publicField(this, "ontransitionstart", null);
|
|
1085
|
+
__publicField(this, "onvolumechange", null);
|
|
1086
|
+
__publicField(this, "onwaiting", null);
|
|
1087
|
+
__publicField(this, "onwebkitanimationend", null);
|
|
1088
|
+
__publicField(this, "onwebkitanimationiteration", null);
|
|
1089
|
+
__publicField(this, "onwebkitanimationstart", null);
|
|
1090
|
+
__publicField(this, "onwebkittransitionend", null);
|
|
1091
|
+
__publicField(this, "onwheel", null);
|
|
1092
|
+
__publicField(this, "autofocus", false);
|
|
1093
|
+
__publicField(this, "dataset");
|
|
1094
|
+
__publicField(this, "tabIndex", 0);
|
|
1095
|
+
__publicField(this, "baseURI", "");
|
|
1096
|
+
__publicField(this, "childNodes");
|
|
1097
|
+
__publicField(this, "firstChild", null);
|
|
1098
|
+
__publicField(this, "isConnected", false);
|
|
1099
|
+
__publicField(this, "lastChild", null);
|
|
1100
|
+
__publicField(this, "nextSibling", null);
|
|
1101
|
+
__publicField(this, "nodeName", "");
|
|
1102
|
+
__publicField(this, "nodeType", 0);
|
|
1103
|
+
__publicField(this, "nodeValue", "");
|
|
1104
|
+
__publicField(this, "parentElement", null);
|
|
1105
|
+
__publicField(this, "parentNode", null);
|
|
1106
|
+
__publicField(this, "previousSibling", null);
|
|
1107
|
+
__publicField(this, "ELEMENT_NODE", 1);
|
|
1108
|
+
__publicField(this, "ATTRIBUTE_NODE", 2);
|
|
1109
|
+
__publicField(this, "TEXT_NODE", 3);
|
|
1110
|
+
__publicField(this, "CDATA_SECTION_NODE", 4);
|
|
1111
|
+
__publicField(this, "ENTITY_REFERENCE_NODE", 5);
|
|
1112
|
+
__publicField(this, "ENTITY_NODE", 6);
|
|
1113
|
+
__publicField(this, "PROCESSING_INSTRUCTION_NODE", 7);
|
|
1114
|
+
__publicField(this, "COMMENT_NODE", 8);
|
|
1115
|
+
__publicField(this, "DOCUMENT_NODE", 9);
|
|
1116
|
+
__publicField(this, "DOCUMENT_TYPE_NODE", 10);
|
|
1117
|
+
__publicField(this, "DOCUMENT_FRAGMENT_NODE", 11);
|
|
1118
|
+
__publicField(this, "NOTATION_NODE", 12);
|
|
1119
|
+
__publicField(this, "DOCUMENT_POSITION_DISCONNECTED", 1);
|
|
1120
|
+
__publicField(this, "DOCUMENT_POSITION_PRECEDING", 2);
|
|
1121
|
+
__publicField(this, "DOCUMENT_POSITION_FOLLOWING", 4);
|
|
1122
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINS", 8);
|
|
1123
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINED_BY", 16);
|
|
1124
|
+
__publicField(this, "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", 32);
|
|
1125
|
+
__publicField(this, "ariaActiveDescendantElement", null);
|
|
1126
|
+
__publicField(this, "ariaAtomic", "");
|
|
1127
|
+
__publicField(this, "ariaAutoComplete", "");
|
|
1128
|
+
__publicField(this, "ariaBrailleLabel", "");
|
|
1129
|
+
__publicField(this, "ariaBrailleRoleDescription", "");
|
|
1130
|
+
__publicField(this, "ariaBusy", "");
|
|
1131
|
+
__publicField(this, "ariaChecked", "");
|
|
1132
|
+
__publicField(this, "ariaColCount", "");
|
|
1133
|
+
__publicField(this, "ariaColIndex", "");
|
|
1134
|
+
__publicField(this, "ariaColIndexText", "");
|
|
1135
|
+
__publicField(this, "ariaColSpan", "");
|
|
1136
|
+
__publicField(this, "ariaControlsElements", null);
|
|
1137
|
+
__publicField(this, "ariaCurrent", "");
|
|
1138
|
+
__publicField(this, "ariaDescribedByElements", null);
|
|
1139
|
+
__publicField(this, "ariaDescription", "");
|
|
1140
|
+
__publicField(this, "ariaDetailsElements", null);
|
|
1141
|
+
__publicField(this, "ariaDisabled", "");
|
|
1142
|
+
__publicField(this, "ariaErrorMessageElements", null);
|
|
1143
|
+
__publicField(this, "ariaExpanded", "");
|
|
1144
|
+
__publicField(this, "ariaFlowToElements", null);
|
|
1145
|
+
__publicField(this, "ariaHasPopup", "");
|
|
1146
|
+
__publicField(this, "ariaHidden", "");
|
|
1147
|
+
__publicField(this, "ariaInvalid", "");
|
|
1148
|
+
__publicField(this, "ariaKeyShortcuts", "");
|
|
1149
|
+
__publicField(this, "ariaLabel", "");
|
|
1150
|
+
__publicField(this, "ariaLabelledByElements", null);
|
|
1151
|
+
__publicField(this, "ariaLevel", "");
|
|
1152
|
+
__publicField(this, "ariaLive", "");
|
|
1153
|
+
__publicField(this, "ariaModal", "");
|
|
1154
|
+
__publicField(this, "ariaMultiLine", "");
|
|
1155
|
+
__publicField(this, "ariaMultiSelectable", "");
|
|
1156
|
+
__publicField(this, "ariaOrientation", "");
|
|
1157
|
+
__publicField(this, "ariaOwnsElements", null);
|
|
1158
|
+
__publicField(this, "ariaPlaceholder", "");
|
|
1159
|
+
__publicField(this, "ariaPosInSet", "");
|
|
1160
|
+
__publicField(this, "ariaPressed", "");
|
|
1161
|
+
__publicField(this, "ariaReadOnly", "");
|
|
1162
|
+
__publicField(this, "ariaRelevant", "");
|
|
1163
|
+
__publicField(this, "ariaRequired", "");
|
|
1164
|
+
__publicField(this, "ariaRoleDescription", "");
|
|
1165
|
+
__publicField(this, "ariaRowCount", "");
|
|
1166
|
+
__publicField(this, "ariaRowIndex", "");
|
|
1167
|
+
__publicField(this, "ariaRowIndexText", "");
|
|
1168
|
+
__publicField(this, "ariaRowSpan", "");
|
|
1169
|
+
__publicField(this, "ariaSelected", "");
|
|
1170
|
+
__publicField(this, "ariaSetSize", "");
|
|
1171
|
+
__publicField(this, "ariaSort", "");
|
|
1172
|
+
__publicField(this, "ariaValueMax", "");
|
|
1173
|
+
__publicField(this, "ariaValueMin", "");
|
|
1174
|
+
__publicField(this, "ariaValueNow", "");
|
|
1175
|
+
__publicField(this, "ariaValueText", "");
|
|
1176
|
+
__publicField(this, "role", "");
|
|
1177
|
+
__publicField(this, "nextElementSibling", null);
|
|
1178
|
+
__publicField(this, "previousElementSibling", null);
|
|
1179
|
+
__publicField(this, "childElementCount", 0);
|
|
1180
|
+
__publicField(this, "children");
|
|
1181
|
+
__publicField(this, "firstElementChild", null);
|
|
1182
|
+
__publicField(this, "lastElementChild", null);
|
|
1183
|
+
__publicField(this, "assignedSlot", null);
|
|
1184
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
1185
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
1186
|
+
"removeEventListener"
|
|
1187
|
+
));
|
|
1188
|
+
__publicField(this, "attachInternals", createSpy2("attachInternals"));
|
|
1189
|
+
__publicField(this, "click", createSpy2("click"));
|
|
1190
|
+
__publicField(this, "hidePopover", createSpy2("hidePopover"));
|
|
1191
|
+
__publicField(this, "showPopover", createSpy2("showPopover"));
|
|
1192
|
+
__publicField(this, "togglePopover", createSpy2("togglePopover"));
|
|
1193
|
+
__publicField(this, "attachShadow", createSpy2("attachShadow"));
|
|
1194
|
+
__publicField(this, "checkVisibility", createSpy2("checkVisibility"));
|
|
1195
|
+
__publicField(this, "closest", createSpy2("closest"));
|
|
1196
|
+
__publicField(this, "computedStyleMap", createSpy2("computedStyleMap"));
|
|
1197
|
+
__publicField(this, "getAttribute", createSpy2("getAttribute"));
|
|
1198
|
+
__publicField(this, "getAttributeNS", createSpy2("getAttributeNS"));
|
|
1199
|
+
__publicField(this, "getAttributeNames", createSpy2("getAttributeNames"));
|
|
1200
|
+
__publicField(this, "getAttributeNode", createSpy2("getAttributeNode"));
|
|
1201
|
+
__publicField(this, "getAttributeNodeNS", createSpy2("getAttributeNodeNS"));
|
|
1202
|
+
__publicField(this, "getBoundingClientRect", createSpy2(
|
|
1203
|
+
"getBoundingClientRect"
|
|
1204
|
+
));
|
|
1205
|
+
__publicField(this, "getClientRects", createSpy2("getClientRects"));
|
|
1206
|
+
__publicField(this, "getElementsByClassName", createSpy2("getElementsByClassName"));
|
|
1207
|
+
__publicField(this, "getElementsByTagName", createSpy2(
|
|
1208
|
+
"getElementsByTagName"
|
|
1209
|
+
));
|
|
1210
|
+
__publicField(this, "getElementsByTagNameNS", createSpy2("getElementsByTagNameNS"));
|
|
1211
|
+
__publicField(this, "getHTML", createSpy2("getHTML"));
|
|
1212
|
+
__publicField(this, "hasAttribute", createSpy2("hasAttribute"));
|
|
1213
|
+
__publicField(this, "hasAttributeNS", createSpy2("hasAttributeNS"));
|
|
1214
|
+
__publicField(this, "hasAttributes", createSpy2("hasAttributes"));
|
|
1215
|
+
__publicField(this, "hasPointerCapture", createSpy2("hasPointerCapture"));
|
|
1216
|
+
__publicField(this, "insertAdjacentElement", createSpy2(
|
|
1217
|
+
"insertAdjacentElement"
|
|
1218
|
+
));
|
|
1219
|
+
__publicField(this, "insertAdjacentHTML", createSpy2("insertAdjacentHTML"));
|
|
1220
|
+
__publicField(this, "insertAdjacentText", createSpy2("insertAdjacentText"));
|
|
1221
|
+
__publicField(this, "matches", createSpy2("matches"));
|
|
1222
|
+
__publicField(this, "releasePointerCapture", createSpy2(
|
|
1223
|
+
"releasePointerCapture"
|
|
1224
|
+
));
|
|
1225
|
+
__publicField(this, "removeAttribute", createSpy2("removeAttribute"));
|
|
1226
|
+
__publicField(this, "removeAttributeNS", createSpy2("removeAttributeNS"));
|
|
1227
|
+
__publicField(this, "removeAttributeNode", createSpy2(
|
|
1228
|
+
"removeAttributeNode"
|
|
1229
|
+
));
|
|
1230
|
+
__publicField(this, "requestFullscreen", createSpy2("requestFullscreen"));
|
|
1231
|
+
__publicField(this, "requestPointerLock", createSpy2("requestPointerLock"));
|
|
1232
|
+
__publicField(this, "scroll", createSpy2("scroll"));
|
|
1233
|
+
__publicField(this, "scrollBy", createSpy2("scrollBy"));
|
|
1234
|
+
__publicField(this, "scrollIntoView", createSpy2("scrollIntoView"));
|
|
1235
|
+
__publicField(this, "scrollTo", createSpy2("scrollTo"));
|
|
1236
|
+
__publicField(this, "setAttribute", createSpy2("setAttribute"));
|
|
1237
|
+
__publicField(this, "setAttributeNS", createSpy2("setAttributeNS"));
|
|
1238
|
+
__publicField(this, "setAttributeNode", createSpy2("setAttributeNode"));
|
|
1239
|
+
__publicField(this, "setAttributeNodeNS", createSpy2("setAttributeNodeNS"));
|
|
1240
|
+
__publicField(this, "setHTMLUnsafe", createSpy2("setHTMLUnsafe"));
|
|
1241
|
+
__publicField(this, "setPointerCapture", createSpy2("setPointerCapture"));
|
|
1242
|
+
__publicField(this, "toggleAttribute", createSpy2("toggleAttribute"));
|
|
1243
|
+
__publicField(this, "webkitMatchesSelector", createSpy2(
|
|
1244
|
+
"webkitMatchesSelector"
|
|
1245
|
+
));
|
|
1246
|
+
__publicField(this, "blur", createSpy2("blur"));
|
|
1247
|
+
__publicField(this, "focus", createSpy2("focus"));
|
|
1248
|
+
__publicField(this, "appendChild", createSpy2("appendChild"));
|
|
1249
|
+
__publicField(this, "cloneNode", createSpy2("cloneNode"));
|
|
1250
|
+
__publicField(this, "compareDocumentPosition", createSpy2("compareDocumentPosition"));
|
|
1251
|
+
__publicField(this, "contains", createSpy2("contains"));
|
|
1252
|
+
__publicField(this, "getRootNode", createSpy2("getRootNode"));
|
|
1253
|
+
__publicField(this, "hasChildNodes", createSpy2("hasChildNodes"));
|
|
1254
|
+
__publicField(this, "insertBefore", createSpy2("insertBefore"));
|
|
1255
|
+
__publicField(this, "isDefaultNamespace", createSpy2("isDefaultNamespace"));
|
|
1256
|
+
__publicField(this, "isEqualNode", createSpy2("isEqualNode"));
|
|
1257
|
+
__publicField(this, "isSameNode", createSpy2("isSameNode"));
|
|
1258
|
+
__publicField(this, "lookupNamespaceURI", createSpy2("lookupNamespaceURI"));
|
|
1259
|
+
__publicField(this, "lookupPrefix", createSpy2("lookupPrefix"));
|
|
1260
|
+
__publicField(this, "normalize", createSpy2("normalize"));
|
|
1261
|
+
__publicField(this, "removeChild", createSpy2("removeChild"));
|
|
1262
|
+
__publicField(this, "replaceChild", createSpy2("replaceChild"));
|
|
1263
|
+
__publicField(this, "animate", createSpy2("animate"));
|
|
1264
|
+
__publicField(this, "getAnimations", createSpy2("getAnimations"));
|
|
1265
|
+
__publicField(this, "after", createSpy2("after"));
|
|
1266
|
+
__publicField(this, "before", createSpy2("before"));
|
|
1267
|
+
__publicField(this, "remove", createSpy2("remove"));
|
|
1268
|
+
__publicField(this, "replaceWith", createSpy2("replaceWith"));
|
|
1269
|
+
__publicField(this, "append", createSpy2("append"));
|
|
1270
|
+
__publicField(this, "prepend", createSpy2("prepend"));
|
|
1271
|
+
__publicField(this, "querySelector", createSpy2("querySelector"));
|
|
1272
|
+
__publicField(this, "querySelectorAll", createSpy2("querySelectorAll"));
|
|
1273
|
+
__publicField(this, "replaceChildren", createSpy2("replaceChildren"));
|
|
1274
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
1275
|
+
}
|
|
1276
|
+
};
|
|
1277
|
+
var MockHTMLMediaElement = class {
|
|
1278
|
+
constructor() {
|
|
1279
|
+
__publicField(this, "autoplay", false);
|
|
1280
|
+
__publicField(this, "buffered");
|
|
1281
|
+
__publicField(this, "controls", false);
|
|
1282
|
+
__publicField(this, "crossOrigin", "");
|
|
1283
|
+
__publicField(this, "currentSrc", "");
|
|
1284
|
+
__publicField(this, "currentTime", 0);
|
|
1285
|
+
__publicField(this, "defaultMuted", false);
|
|
1286
|
+
__publicField(this, "defaultPlaybackRate", 0);
|
|
1287
|
+
__publicField(this, "disableRemotePlayback", false);
|
|
1288
|
+
__publicField(this, "duration", 0);
|
|
1289
|
+
__publicField(this, "ended", false);
|
|
1290
|
+
__publicField(this, "error", null);
|
|
1291
|
+
__publicField(this, "loop", false);
|
|
1292
|
+
__publicField(this, "mediaKeys", null);
|
|
1293
|
+
__publicField(this, "muted", false);
|
|
1294
|
+
__publicField(this, "networkState", 0);
|
|
1295
|
+
__publicField(this, "onencrypted", null);
|
|
1296
|
+
__publicField(this, "onwaitingforkey", null);
|
|
1297
|
+
__publicField(this, "paused", false);
|
|
1298
|
+
__publicField(this, "playbackRate", 0);
|
|
1299
|
+
__publicField(this, "played");
|
|
1300
|
+
__publicField(this, "preload", "none");
|
|
1301
|
+
__publicField(this, "preservesPitch", false);
|
|
1302
|
+
__publicField(this, "readyState", 0);
|
|
1303
|
+
__publicField(this, "remote");
|
|
1304
|
+
__publicField(this, "seekable");
|
|
1305
|
+
__publicField(this, "seeking", false);
|
|
1306
|
+
__publicField(this, "sinkId", "");
|
|
1307
|
+
__publicField(this, "src", "");
|
|
1308
|
+
__publicField(this, "srcObject");
|
|
1309
|
+
__publicField(this, "textTracks");
|
|
1310
|
+
__publicField(this, "volume", 0);
|
|
1311
|
+
__publicField(this, "NETWORK_EMPTY", 0);
|
|
1312
|
+
__publicField(this, "NETWORK_IDLE", 1);
|
|
1313
|
+
__publicField(this, "NETWORK_LOADING", 2);
|
|
1314
|
+
__publicField(this, "NETWORK_NO_SOURCE", 3);
|
|
1315
|
+
__publicField(this, "HAVE_NOTHING", 0);
|
|
1316
|
+
__publicField(this, "HAVE_METADATA", 1);
|
|
1317
|
+
__publicField(this, "HAVE_CURRENT_DATA", 2);
|
|
1318
|
+
__publicField(this, "HAVE_FUTURE_DATA", 3);
|
|
1319
|
+
__publicField(this, "HAVE_ENOUGH_DATA", 4);
|
|
1320
|
+
__publicField(this, "accessKey", "");
|
|
1321
|
+
__publicField(this, "accessKeyLabel", "");
|
|
1322
|
+
__publicField(this, "autocapitalize", "");
|
|
1323
|
+
__publicField(this, "autocorrect", false);
|
|
1324
|
+
__publicField(this, "dir", "");
|
|
1325
|
+
__publicField(this, "draggable", false);
|
|
1326
|
+
__publicField(this, "hidden", false);
|
|
1327
|
+
__publicField(this, "inert", false);
|
|
1328
|
+
__publicField(this, "innerText", "");
|
|
1329
|
+
__publicField(this, "lang", "");
|
|
1330
|
+
__publicField(this, "offsetHeight", 0);
|
|
1331
|
+
__publicField(this, "offsetLeft", 0);
|
|
1332
|
+
__publicField(this, "offsetParent", null);
|
|
1333
|
+
__publicField(this, "offsetTop", 0);
|
|
1334
|
+
__publicField(this, "offsetWidth", 0);
|
|
1335
|
+
__publicField(this, "outerText", "");
|
|
1336
|
+
__publicField(this, "popover", "");
|
|
1337
|
+
__publicField(this, "spellcheck", false);
|
|
1338
|
+
__publicField(this, "title", "");
|
|
1339
|
+
__publicField(this, "translate", false);
|
|
1340
|
+
__publicField(this, "writingSuggestions", "");
|
|
1341
|
+
__publicField(this, "attributes");
|
|
1342
|
+
__publicField(this, "className", "");
|
|
1343
|
+
__publicField(this, "clientHeight", 0);
|
|
1344
|
+
__publicField(this, "clientLeft", 0);
|
|
1345
|
+
__publicField(this, "clientTop", 0);
|
|
1346
|
+
__publicField(this, "clientWidth", 0);
|
|
1347
|
+
__publicField(this, "currentCSSZoom", 0);
|
|
1348
|
+
__publicField(this, "id", "");
|
|
1349
|
+
__publicField(this, "innerHTML", "");
|
|
1350
|
+
__publicField(this, "localName", "");
|
|
1351
|
+
__publicField(this, "namespaceURI", "");
|
|
1352
|
+
__publicField(this, "onfullscreenchange", null);
|
|
1353
|
+
__publicField(this, "onfullscreenerror", null);
|
|
1354
|
+
__publicField(this, "outerHTML", "");
|
|
1355
|
+
__publicField(this, "ownerDocument");
|
|
1356
|
+
__publicField(this, "prefix", "");
|
|
1357
|
+
__publicField(this, "scrollHeight", 0);
|
|
1358
|
+
__publicField(this, "scrollLeft", 0);
|
|
1359
|
+
__publicField(this, "scrollTop", 0);
|
|
1360
|
+
__publicField(this, "scrollWidth", 0);
|
|
1361
|
+
__publicField(this, "shadowRoot", null);
|
|
1362
|
+
__publicField(this, "slot", "");
|
|
1363
|
+
__publicField(this, "tagName", "");
|
|
1364
|
+
__publicField(this, "classList");
|
|
1365
|
+
__publicField(this, "part");
|
|
1366
|
+
__publicField(this, "textContent");
|
|
1367
|
+
__publicField(this, "attributeStyleMap");
|
|
1368
|
+
__publicField(this, "style");
|
|
1369
|
+
__publicField(this, "contentEditable", "");
|
|
1370
|
+
__publicField(this, "enterKeyHint", "");
|
|
1371
|
+
__publicField(this, "inputMode", "");
|
|
1372
|
+
__publicField(this, "isContentEditable", false);
|
|
1373
|
+
__publicField(this, "onabort", null);
|
|
1374
|
+
__publicField(this, "onanimationcancel", null);
|
|
1375
|
+
__publicField(this, "onanimationend", null);
|
|
1376
|
+
__publicField(this, "onanimationiteration", null);
|
|
1377
|
+
__publicField(this, "onanimationstart", null);
|
|
1378
|
+
__publicField(this, "onauxclick", null);
|
|
1379
|
+
__publicField(this, "onbeforeinput", null);
|
|
1380
|
+
__publicField(this, "onbeforematch", null);
|
|
1381
|
+
__publicField(this, "onbeforetoggle", null);
|
|
1382
|
+
__publicField(this, "onblur", null);
|
|
1383
|
+
__publicField(this, "oncancel", null);
|
|
1384
|
+
__publicField(this, "oncanplay", null);
|
|
1385
|
+
__publicField(this, "oncanplaythrough", null);
|
|
1386
|
+
__publicField(this, "onchange", null);
|
|
1387
|
+
__publicField(this, "onclick", null);
|
|
1388
|
+
__publicField(this, "onclose", null);
|
|
1389
|
+
__publicField(this, "oncontextlost", null);
|
|
1390
|
+
__publicField(this, "oncontextmenu", null);
|
|
1391
|
+
__publicField(this, "oncontextrestored", null);
|
|
1392
|
+
__publicField(this, "oncopy", null);
|
|
1393
|
+
__publicField(this, "oncuechange", null);
|
|
1394
|
+
__publicField(this, "oncut", null);
|
|
1395
|
+
__publicField(this, "ondblclick", null);
|
|
1396
|
+
__publicField(this, "ondrag", null);
|
|
1397
|
+
__publicField(this, "ondragend", null);
|
|
1398
|
+
__publicField(this, "ondragenter", null);
|
|
1399
|
+
__publicField(this, "ondragleave", null);
|
|
1400
|
+
__publicField(this, "ondragover", null);
|
|
1401
|
+
__publicField(this, "ondragstart", null);
|
|
1402
|
+
__publicField(this, "ondrop", null);
|
|
1403
|
+
__publicField(this, "ondurationchange", null);
|
|
1404
|
+
__publicField(this, "onemptied", null);
|
|
1405
|
+
__publicField(this, "onended", null);
|
|
1406
|
+
__publicField(this, "onerror");
|
|
1407
|
+
__publicField(this, "onfocus", null);
|
|
1408
|
+
__publicField(this, "onformdata", null);
|
|
1409
|
+
__publicField(this, "ongotpointercapture", null);
|
|
1410
|
+
__publicField(this, "oninput", null);
|
|
1411
|
+
__publicField(this, "oninvalid", null);
|
|
1412
|
+
__publicField(this, "onkeydown", null);
|
|
1413
|
+
__publicField(this, "onkeypress", null);
|
|
1414
|
+
__publicField(this, "onkeyup", null);
|
|
1415
|
+
__publicField(this, "onload", null);
|
|
1416
|
+
__publicField(this, "onloadeddata", null);
|
|
1417
|
+
__publicField(this, "onloadedmetadata", null);
|
|
1418
|
+
__publicField(this, "onloadstart", null);
|
|
1419
|
+
__publicField(this, "onlostpointercapture", null);
|
|
1420
|
+
__publicField(this, "onmousedown", null);
|
|
1421
|
+
__publicField(this, "onmouseenter", null);
|
|
1422
|
+
__publicField(this, "onmouseleave", null);
|
|
1423
|
+
__publicField(this, "onmousemove", null);
|
|
1424
|
+
__publicField(this, "onmouseout", null);
|
|
1425
|
+
__publicField(this, "onmouseover", null);
|
|
1426
|
+
__publicField(this, "onmouseup", null);
|
|
1427
|
+
__publicField(this, "onpaste", null);
|
|
1428
|
+
__publicField(this, "onpause", null);
|
|
1429
|
+
__publicField(this, "onplay", null);
|
|
1430
|
+
__publicField(this, "onplaying", null);
|
|
1431
|
+
__publicField(this, "onpointercancel", null);
|
|
1432
|
+
__publicField(this, "onpointerdown", null);
|
|
1433
|
+
__publicField(this, "onpointerenter", null);
|
|
1434
|
+
__publicField(this, "onpointerleave", null);
|
|
1435
|
+
__publicField(this, "onpointermove", null);
|
|
1436
|
+
__publicField(this, "onpointerout", null);
|
|
1437
|
+
__publicField(this, "onpointerover", null);
|
|
1438
|
+
__publicField(this, "onpointerrawupdate", null);
|
|
1439
|
+
__publicField(this, "onpointerup", null);
|
|
1440
|
+
__publicField(this, "onprogress", null);
|
|
1441
|
+
__publicField(this, "onratechange", null);
|
|
1442
|
+
__publicField(this, "onreset", null);
|
|
1443
|
+
__publicField(this, "onresize", null);
|
|
1444
|
+
__publicField(this, "onscroll", null);
|
|
1445
|
+
__publicField(this, "onscrollend", null);
|
|
1446
|
+
__publicField(this, "onsecuritypolicyviolation", null);
|
|
1447
|
+
__publicField(this, "onseeked", null);
|
|
1448
|
+
__publicField(this, "onseeking", null);
|
|
1449
|
+
__publicField(this, "onselect", null);
|
|
1450
|
+
__publicField(this, "onselectionchange", null);
|
|
1451
|
+
__publicField(this, "onselectstart", null);
|
|
1452
|
+
__publicField(this, "onslotchange", null);
|
|
1453
|
+
__publicField(this, "onstalled", null);
|
|
1454
|
+
__publicField(this, "onsubmit", null);
|
|
1455
|
+
__publicField(this, "onsuspend", null);
|
|
1456
|
+
__publicField(this, "ontimeupdate", null);
|
|
1457
|
+
__publicField(this, "ontoggle", null);
|
|
1458
|
+
__publicField(this, "ontransitioncancel", null);
|
|
1459
|
+
__publicField(this, "ontransitionend", null);
|
|
1460
|
+
__publicField(this, "ontransitionrun", null);
|
|
1461
|
+
__publicField(this, "ontransitionstart", null);
|
|
1462
|
+
__publicField(this, "onvolumechange", null);
|
|
1463
|
+
__publicField(this, "onwaiting", null);
|
|
1464
|
+
__publicField(this, "onwebkitanimationend", null);
|
|
1465
|
+
__publicField(this, "onwebkitanimationiteration", null);
|
|
1466
|
+
__publicField(this, "onwebkitanimationstart", null);
|
|
1467
|
+
__publicField(this, "onwebkittransitionend", null);
|
|
1468
|
+
__publicField(this, "onwheel", null);
|
|
1469
|
+
__publicField(this, "autofocus", false);
|
|
1470
|
+
__publicField(this, "dataset");
|
|
1471
|
+
__publicField(this, "tabIndex", 0);
|
|
1472
|
+
__publicField(this, "baseURI", "");
|
|
1473
|
+
__publicField(this, "childNodes");
|
|
1474
|
+
__publicField(this, "firstChild", null);
|
|
1475
|
+
__publicField(this, "isConnected", false);
|
|
1476
|
+
__publicField(this, "lastChild", null);
|
|
1477
|
+
__publicField(this, "nextSibling", null);
|
|
1478
|
+
__publicField(this, "nodeName", "");
|
|
1479
|
+
__publicField(this, "nodeType", 0);
|
|
1480
|
+
__publicField(this, "nodeValue", "");
|
|
1481
|
+
__publicField(this, "parentElement", null);
|
|
1482
|
+
__publicField(this, "parentNode", null);
|
|
1483
|
+
__publicField(this, "previousSibling", null);
|
|
1484
|
+
__publicField(this, "ELEMENT_NODE", 1);
|
|
1485
|
+
__publicField(this, "ATTRIBUTE_NODE", 2);
|
|
1486
|
+
__publicField(this, "TEXT_NODE", 3);
|
|
1487
|
+
__publicField(this, "CDATA_SECTION_NODE", 4);
|
|
1488
|
+
__publicField(this, "ENTITY_REFERENCE_NODE", 5);
|
|
1489
|
+
__publicField(this, "ENTITY_NODE", 6);
|
|
1490
|
+
__publicField(this, "PROCESSING_INSTRUCTION_NODE", 7);
|
|
1491
|
+
__publicField(this, "COMMENT_NODE", 8);
|
|
1492
|
+
__publicField(this, "DOCUMENT_NODE", 9);
|
|
1493
|
+
__publicField(this, "DOCUMENT_TYPE_NODE", 10);
|
|
1494
|
+
__publicField(this, "DOCUMENT_FRAGMENT_NODE", 11);
|
|
1495
|
+
__publicField(this, "NOTATION_NODE", 12);
|
|
1496
|
+
__publicField(this, "DOCUMENT_POSITION_DISCONNECTED", 1);
|
|
1497
|
+
__publicField(this, "DOCUMENT_POSITION_PRECEDING", 2);
|
|
1498
|
+
__publicField(this, "DOCUMENT_POSITION_FOLLOWING", 4);
|
|
1499
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINS", 8);
|
|
1500
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINED_BY", 16);
|
|
1501
|
+
__publicField(this, "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", 32);
|
|
1502
|
+
__publicField(this, "ariaActiveDescendantElement", null);
|
|
1503
|
+
__publicField(this, "ariaAtomic", "");
|
|
1504
|
+
__publicField(this, "ariaAutoComplete", "");
|
|
1505
|
+
__publicField(this, "ariaBrailleLabel", "");
|
|
1506
|
+
__publicField(this, "ariaBrailleRoleDescription", "");
|
|
1507
|
+
__publicField(this, "ariaBusy", "");
|
|
1508
|
+
__publicField(this, "ariaChecked", "");
|
|
1509
|
+
__publicField(this, "ariaColCount", "");
|
|
1510
|
+
__publicField(this, "ariaColIndex", "");
|
|
1511
|
+
__publicField(this, "ariaColIndexText", "");
|
|
1512
|
+
__publicField(this, "ariaColSpan", "");
|
|
1513
|
+
__publicField(this, "ariaControlsElements", null);
|
|
1514
|
+
__publicField(this, "ariaCurrent", "");
|
|
1515
|
+
__publicField(this, "ariaDescribedByElements", null);
|
|
1516
|
+
__publicField(this, "ariaDescription", "");
|
|
1517
|
+
__publicField(this, "ariaDetailsElements", null);
|
|
1518
|
+
__publicField(this, "ariaDisabled", "");
|
|
1519
|
+
__publicField(this, "ariaErrorMessageElements", null);
|
|
1520
|
+
__publicField(this, "ariaExpanded", "");
|
|
1521
|
+
__publicField(this, "ariaFlowToElements", null);
|
|
1522
|
+
__publicField(this, "ariaHasPopup", "");
|
|
1523
|
+
__publicField(this, "ariaHidden", "");
|
|
1524
|
+
__publicField(this, "ariaInvalid", "");
|
|
1525
|
+
__publicField(this, "ariaKeyShortcuts", "");
|
|
1526
|
+
__publicField(this, "ariaLabel", "");
|
|
1527
|
+
__publicField(this, "ariaLabelledByElements", null);
|
|
1528
|
+
__publicField(this, "ariaLevel", "");
|
|
1529
|
+
__publicField(this, "ariaLive", "");
|
|
1530
|
+
__publicField(this, "ariaModal", "");
|
|
1531
|
+
__publicField(this, "ariaMultiLine", "");
|
|
1532
|
+
__publicField(this, "ariaMultiSelectable", "");
|
|
1533
|
+
__publicField(this, "ariaOrientation", "");
|
|
1534
|
+
__publicField(this, "ariaOwnsElements", null);
|
|
1535
|
+
__publicField(this, "ariaPlaceholder", "");
|
|
1536
|
+
__publicField(this, "ariaPosInSet", "");
|
|
1537
|
+
__publicField(this, "ariaPressed", "");
|
|
1538
|
+
__publicField(this, "ariaReadOnly", "");
|
|
1539
|
+
__publicField(this, "ariaRelevant", "");
|
|
1540
|
+
__publicField(this, "ariaRequired", "");
|
|
1541
|
+
__publicField(this, "ariaRoleDescription", "");
|
|
1542
|
+
__publicField(this, "ariaRowCount", "");
|
|
1543
|
+
__publicField(this, "ariaRowIndex", "");
|
|
1544
|
+
__publicField(this, "ariaRowIndexText", "");
|
|
1545
|
+
__publicField(this, "ariaRowSpan", "");
|
|
1546
|
+
__publicField(this, "ariaSelected", "");
|
|
1547
|
+
__publicField(this, "ariaSetSize", "");
|
|
1548
|
+
__publicField(this, "ariaSort", "");
|
|
1549
|
+
__publicField(this, "ariaValueMax", "");
|
|
1550
|
+
__publicField(this, "ariaValueMin", "");
|
|
1551
|
+
__publicField(this, "ariaValueNow", "");
|
|
1552
|
+
__publicField(this, "ariaValueText", "");
|
|
1553
|
+
__publicField(this, "role", "");
|
|
1554
|
+
__publicField(this, "nextElementSibling", null);
|
|
1555
|
+
__publicField(this, "previousElementSibling", null);
|
|
1556
|
+
__publicField(this, "childElementCount", 0);
|
|
1557
|
+
__publicField(this, "children");
|
|
1558
|
+
__publicField(this, "firstElementChild", null);
|
|
1559
|
+
__publicField(this, "lastElementChild", null);
|
|
1560
|
+
__publicField(this, "assignedSlot", null);
|
|
1561
|
+
__publicField(this, "addTextTrack", createSpy2("addTextTrack"));
|
|
1562
|
+
__publicField(this, "canPlayType", createSpy2("canPlayType"));
|
|
1563
|
+
__publicField(this, "fastSeek", createSpy2("fastSeek"));
|
|
1564
|
+
__publicField(this, "load", createSpy2("load"));
|
|
1565
|
+
__publicField(this, "pause", createSpy2("pause"));
|
|
1566
|
+
__publicField(this, "play", createSpy2("play"));
|
|
1567
|
+
__publicField(this, "setMediaKeys", createSpy2("setMediaKeys"));
|
|
1568
|
+
__publicField(this, "setSinkId", createSpy2("setSinkId"));
|
|
1569
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
1570
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
1571
|
+
"removeEventListener"
|
|
1572
|
+
));
|
|
1573
|
+
__publicField(this, "attachInternals", createSpy2("attachInternals"));
|
|
1574
|
+
__publicField(this, "click", createSpy2("click"));
|
|
1575
|
+
__publicField(this, "hidePopover", createSpy2("hidePopover"));
|
|
1576
|
+
__publicField(this, "showPopover", createSpy2("showPopover"));
|
|
1577
|
+
__publicField(this, "togglePopover", createSpy2("togglePopover"));
|
|
1578
|
+
__publicField(this, "attachShadow", createSpy2("attachShadow"));
|
|
1579
|
+
__publicField(this, "checkVisibility", createSpy2("checkVisibility"));
|
|
1580
|
+
__publicField(this, "closest", createSpy2("closest"));
|
|
1581
|
+
__publicField(this, "computedStyleMap", createSpy2("computedStyleMap"));
|
|
1582
|
+
__publicField(this, "getAttribute", createSpy2("getAttribute"));
|
|
1583
|
+
__publicField(this, "getAttributeNS", createSpy2("getAttributeNS"));
|
|
1584
|
+
__publicField(this, "getAttributeNames", createSpy2("getAttributeNames"));
|
|
1585
|
+
__publicField(this, "getAttributeNode", createSpy2("getAttributeNode"));
|
|
1586
|
+
__publicField(this, "getAttributeNodeNS", createSpy2("getAttributeNodeNS"));
|
|
1587
|
+
__publicField(this, "getBoundingClientRect", createSpy2("getBoundingClientRect"));
|
|
1588
|
+
__publicField(this, "getClientRects", createSpy2("getClientRects"));
|
|
1589
|
+
__publicField(this, "getElementsByClassName", createSpy2("getElementsByClassName"));
|
|
1590
|
+
__publicField(this, "getElementsByTagName", createSpy2(
|
|
1591
|
+
"getElementsByTagName"
|
|
1592
|
+
));
|
|
1593
|
+
__publicField(this, "getElementsByTagNameNS", createSpy2("getElementsByTagNameNS"));
|
|
1594
|
+
__publicField(this, "getHTML", createSpy2("getHTML"));
|
|
1595
|
+
__publicField(this, "hasAttribute", createSpy2("hasAttribute"));
|
|
1596
|
+
__publicField(this, "hasAttributeNS", createSpy2("hasAttributeNS"));
|
|
1597
|
+
__publicField(this, "hasAttributes", createSpy2("hasAttributes"));
|
|
1598
|
+
__publicField(this, "hasPointerCapture", createSpy2("hasPointerCapture"));
|
|
1599
|
+
__publicField(this, "insertAdjacentElement", createSpy2("insertAdjacentElement"));
|
|
1600
|
+
__publicField(this, "insertAdjacentHTML", createSpy2("insertAdjacentHTML"));
|
|
1601
|
+
__publicField(this, "insertAdjacentText", createSpy2("insertAdjacentText"));
|
|
1602
|
+
__publicField(this, "matches", createSpy2("matches"));
|
|
1603
|
+
__publicField(this, "releasePointerCapture", createSpy2("releasePointerCapture"));
|
|
1604
|
+
__publicField(this, "removeAttribute", createSpy2("removeAttribute"));
|
|
1605
|
+
__publicField(this, "removeAttributeNS", createSpy2("removeAttributeNS"));
|
|
1606
|
+
__publicField(this, "removeAttributeNode", createSpy2(
|
|
1607
|
+
"removeAttributeNode"
|
|
1608
|
+
));
|
|
1609
|
+
__publicField(this, "requestFullscreen", createSpy2("requestFullscreen"));
|
|
1610
|
+
__publicField(this, "requestPointerLock", createSpy2("requestPointerLock"));
|
|
1611
|
+
__publicField(this, "scroll", createSpy2("scroll"));
|
|
1612
|
+
__publicField(this, "scrollBy", createSpy2("scrollBy"));
|
|
1613
|
+
__publicField(this, "scrollIntoView", createSpy2("scrollIntoView"));
|
|
1614
|
+
__publicField(this, "scrollTo", createSpy2("scrollTo"));
|
|
1615
|
+
__publicField(this, "setAttribute", createSpy2("setAttribute"));
|
|
1616
|
+
__publicField(this, "setAttributeNS", createSpy2("setAttributeNS"));
|
|
1617
|
+
__publicField(this, "setAttributeNode", createSpy2("setAttributeNode"));
|
|
1618
|
+
__publicField(this, "setAttributeNodeNS", createSpy2("setAttributeNodeNS"));
|
|
1619
|
+
__publicField(this, "setHTMLUnsafe", createSpy2("setHTMLUnsafe"));
|
|
1620
|
+
__publicField(this, "setPointerCapture", createSpy2("setPointerCapture"));
|
|
1621
|
+
__publicField(this, "toggleAttribute", createSpy2("toggleAttribute"));
|
|
1622
|
+
__publicField(this, "webkitMatchesSelector", createSpy2("webkitMatchesSelector"));
|
|
1623
|
+
__publicField(this, "blur", createSpy2("blur"));
|
|
1624
|
+
__publicField(this, "focus", createSpy2("focus"));
|
|
1625
|
+
__publicField(this, "appendChild", createSpy2("appendChild"));
|
|
1626
|
+
__publicField(this, "cloneNode", createSpy2("cloneNode"));
|
|
1627
|
+
__publicField(this, "compareDocumentPosition", createSpy2("compareDocumentPosition"));
|
|
1628
|
+
__publicField(this, "contains", createSpy2("contains"));
|
|
1629
|
+
__publicField(this, "getRootNode", createSpy2("getRootNode"));
|
|
1630
|
+
__publicField(this, "hasChildNodes", createSpy2("hasChildNodes"));
|
|
1631
|
+
__publicField(this, "insertBefore", createSpy2("insertBefore"));
|
|
1632
|
+
__publicField(this, "isDefaultNamespace", createSpy2("isDefaultNamespace"));
|
|
1633
|
+
__publicField(this, "isEqualNode", createSpy2("isEqualNode"));
|
|
1634
|
+
__publicField(this, "isSameNode", createSpy2("isSameNode"));
|
|
1635
|
+
__publicField(this, "lookupNamespaceURI", createSpy2("lookupNamespaceURI"));
|
|
1636
|
+
__publicField(this, "lookupPrefix", createSpy2("lookupPrefix"));
|
|
1637
|
+
__publicField(this, "normalize", createSpy2("normalize"));
|
|
1638
|
+
__publicField(this, "removeChild", createSpy2("removeChild"));
|
|
1639
|
+
__publicField(this, "replaceChild", createSpy2("replaceChild"));
|
|
1640
|
+
__publicField(this, "animate", createSpy2("animate"));
|
|
1641
|
+
__publicField(this, "getAnimations", createSpy2("getAnimations"));
|
|
1642
|
+
__publicField(this, "after", createSpy2("after"));
|
|
1643
|
+
__publicField(this, "before", createSpy2("before"));
|
|
1644
|
+
__publicField(this, "remove", createSpy2("remove"));
|
|
1645
|
+
__publicField(this, "replaceWith", createSpy2("replaceWith"));
|
|
1646
|
+
__publicField(this, "append", createSpy2("append"));
|
|
1647
|
+
__publicField(this, "prepend", createSpy2("prepend"));
|
|
1648
|
+
__publicField(this, "querySelector", createSpy2("querySelector"));
|
|
1649
|
+
__publicField(this, "querySelectorAll", createSpy2("querySelectorAll"));
|
|
1650
|
+
__publicField(this, "replaceChildren", createSpy2("replaceChildren"));
|
|
1651
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
1652
|
+
}
|
|
1653
|
+
};
|
|
1654
|
+
var MockMediaError = class {
|
|
1655
|
+
constructor() {
|
|
1656
|
+
__publicField(this, "code", 0);
|
|
1657
|
+
__publicField(this, "message", "");
|
|
1658
|
+
__publicField(this, "MEDIA_ERR_ABORTED", 1);
|
|
1659
|
+
__publicField(this, "MEDIA_ERR_NETWORK", 2);
|
|
1660
|
+
__publicField(this, "MEDIA_ERR_DECODE", 3);
|
|
1661
|
+
__publicField(this, "MEDIA_ERR_SRC_NOT_SUPPORTED", 4);
|
|
1662
|
+
}
|
|
1663
|
+
};
|
|
1664
|
+
var MockMediaKeyMessageEvent = class {
|
|
1665
|
+
constructor() {
|
|
1666
|
+
__publicField(this, "message", new ArrayBuffer(0));
|
|
1667
|
+
__publicField(this, "messageType", "individualization-request");
|
|
1668
|
+
__publicField(this, "bubbles", false);
|
|
1669
|
+
__publicField(this, "cancelBubble", false);
|
|
1670
|
+
__publicField(this, "cancelable", false);
|
|
1671
|
+
__publicField(this, "composed", false);
|
|
1672
|
+
__publicField(this, "currentTarget", null);
|
|
1673
|
+
__publicField(this, "defaultPrevented", false);
|
|
1674
|
+
__publicField(this, "eventPhase", 0);
|
|
1675
|
+
__publicField(this, "isTrusted", false);
|
|
1676
|
+
__publicField(this, "returnValue", false);
|
|
1677
|
+
__publicField(this, "srcElement", null);
|
|
1678
|
+
__publicField(this, "target", null);
|
|
1679
|
+
__publicField(this, "timeStamp", 0);
|
|
1680
|
+
__publicField(this, "type", "");
|
|
1681
|
+
__publicField(this, "NONE", 0);
|
|
1682
|
+
__publicField(this, "CAPTURING_PHASE", 1);
|
|
1683
|
+
__publicField(this, "AT_TARGET", 2);
|
|
1684
|
+
__publicField(this, "BUBBLING_PHASE", 3);
|
|
1685
|
+
__publicField(this, "composedPath", createSpy2("composedPath"));
|
|
1686
|
+
__publicField(this, "initEvent", createSpy2("initEvent"));
|
|
1687
|
+
__publicField(this, "preventDefault", createSpy2("preventDefault"));
|
|
1688
|
+
__publicField(this, "stopImmediatePropagation", createSpy2("stopImmediatePropagation"));
|
|
1689
|
+
__publicField(this, "stopPropagation", createSpy2("stopPropagation"));
|
|
1690
|
+
}
|
|
1691
|
+
};
|
|
1692
|
+
var MockMediaKeySession = class {
|
|
1693
|
+
constructor() {
|
|
1694
|
+
__publicField(this, "closed");
|
|
1695
|
+
__publicField(this, "expiration", 0);
|
|
1696
|
+
__publicField(this, "keyStatuses");
|
|
1697
|
+
__publicField(this, "onkeystatuseschange", null);
|
|
1698
|
+
__publicField(this, "onmessage", null);
|
|
1699
|
+
__publicField(this, "sessionId", "");
|
|
1700
|
+
__publicField(this, "close", createSpy2("close"));
|
|
1701
|
+
__publicField(this, "generateRequest", createSpy2("generateRequest"));
|
|
1702
|
+
__publicField(this, "load", createSpy2("load"));
|
|
1703
|
+
__publicField(this, "remove", createSpy2("remove"));
|
|
1704
|
+
__publicField(this, "update", createSpy2("update"));
|
|
1705
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
1706
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
1707
|
+
"removeEventListener"
|
|
1708
|
+
));
|
|
1709
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
1710
|
+
}
|
|
1711
|
+
};
|
|
1712
|
+
var MockMediaKeySystemAccess = class {
|
|
1713
|
+
constructor() {
|
|
1714
|
+
__publicField(this, "keySystem", "");
|
|
1715
|
+
__publicField(this, "createMediaKeys", createSpy2("createMediaKeys"));
|
|
1716
|
+
__publicField(this, "getConfiguration", createSpy2("getConfiguration"));
|
|
1717
|
+
}
|
|
1718
|
+
};
|
|
1719
|
+
var MockMediaKeys = class {
|
|
1720
|
+
constructor() {
|
|
1721
|
+
__publicField(this, "createSession", createSpy2("createSession"));
|
|
1722
|
+
__publicField(this, "getStatusForPolicy", createSpy2("getStatusForPolicy"));
|
|
1723
|
+
__publicField(this, "setServerCertificate", createSpy2(
|
|
1724
|
+
"setServerCertificate"
|
|
1725
|
+
));
|
|
1726
|
+
}
|
|
1727
|
+
};
|
|
1728
|
+
var MockMediaSource = class {
|
|
1729
|
+
constructor() {
|
|
1730
|
+
__publicField(this, "activeSourceBuffers");
|
|
1731
|
+
__publicField(this, "duration", 0);
|
|
1732
|
+
__publicField(this, "onsourceclose", null);
|
|
1733
|
+
__publicField(this, "onsourceended", null);
|
|
1734
|
+
__publicField(this, "onsourceopen", null);
|
|
1735
|
+
__publicField(this, "readyState", "closed");
|
|
1736
|
+
__publicField(this, "sourceBuffers");
|
|
1737
|
+
__publicField(this, "addSourceBuffer", createSpy2("addSourceBuffer"));
|
|
1738
|
+
__publicField(this, "clearLiveSeekableRange", createSpy2(
|
|
1739
|
+
"clearLiveSeekableRange"
|
|
1740
|
+
));
|
|
1741
|
+
__publicField(this, "endOfStream", createSpy2("endOfStream"));
|
|
1742
|
+
__publicField(this, "removeSourceBuffer", createSpy2("removeSourceBuffer"));
|
|
1743
|
+
__publicField(this, "setLiveSeekableRange", createSpy2(
|
|
1744
|
+
"setLiveSeekableRange"
|
|
1745
|
+
));
|
|
1746
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
1747
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
1748
|
+
"removeEventListener"
|
|
1749
|
+
));
|
|
1750
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
1751
|
+
}
|
|
1752
|
+
};
|
|
1753
|
+
var MockMediaStream = class {
|
|
1754
|
+
constructor() {
|
|
1755
|
+
__publicField(this, "active", false);
|
|
1756
|
+
__publicField(this, "id", "");
|
|
1757
|
+
__publicField(this, "onaddtrack", null);
|
|
1758
|
+
__publicField(this, "onremovetrack", null);
|
|
1759
|
+
__publicField(this, "addTrack", createSpy2("addTrack"));
|
|
1760
|
+
__publicField(this, "clone", createSpy2("clone"));
|
|
1761
|
+
__publicField(this, "getAudioTracks", createSpy2("getAudioTracks"));
|
|
1762
|
+
__publicField(this, "getTrackById", createSpy2("getTrackById"));
|
|
1763
|
+
__publicField(this, "getTracks", createSpy2("getTracks"));
|
|
1764
|
+
__publicField(this, "getVideoTracks", createSpy2("getVideoTracks"));
|
|
1765
|
+
__publicField(this, "removeTrack", createSpy2("removeTrack"));
|
|
1766
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
1767
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
1768
|
+
"removeEventListener"
|
|
1769
|
+
));
|
|
1770
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
1771
|
+
}
|
|
1772
|
+
};
|
|
1773
|
+
var MockNavigator = class {
|
|
1774
|
+
constructor() {
|
|
1775
|
+
__publicField(this, "clipboard");
|
|
1776
|
+
__publicField(this, "credentials");
|
|
1777
|
+
__publicField(this, "doNotTrack", "");
|
|
1778
|
+
__publicField(this, "geolocation");
|
|
1779
|
+
__publicField(this, "login");
|
|
1780
|
+
__publicField(this, "maxTouchPoints", 0);
|
|
1781
|
+
__publicField(this, "mediaCapabilities");
|
|
1782
|
+
__publicField(this, "mediaDevices");
|
|
1783
|
+
__publicField(this, "mediaSession");
|
|
1784
|
+
__publicField(this, "permissions");
|
|
1785
|
+
__publicField(this, "serviceWorker");
|
|
1786
|
+
__publicField(this, "userActivation");
|
|
1787
|
+
__publicField(this, "wakeLock");
|
|
1788
|
+
__publicField(this, "webdriver", false);
|
|
1789
|
+
__publicField(this, "hardwareConcurrency", 0);
|
|
1790
|
+
__publicField(this, "cookieEnabled", false);
|
|
1791
|
+
__publicField(this, "appCodeName", "");
|
|
1792
|
+
__publicField(this, "appName", "");
|
|
1793
|
+
__publicField(this, "appVersion", "");
|
|
1794
|
+
__publicField(this, "platform", "");
|
|
1795
|
+
__publicField(this, "product", "");
|
|
1796
|
+
__publicField(this, "productSub", "");
|
|
1797
|
+
__publicField(this, "userAgent", "");
|
|
1798
|
+
__publicField(this, "vendor", "");
|
|
1799
|
+
__publicField(this, "vendorSub", "");
|
|
1800
|
+
__publicField(this, "language", "");
|
|
1801
|
+
__publicField(this, "languages", []);
|
|
1802
|
+
__publicField(this, "locks");
|
|
1803
|
+
__publicField(this, "onLine", false);
|
|
1804
|
+
__publicField(this, "mimeTypes");
|
|
1805
|
+
__publicField(this, "pdfViewerEnabled", false);
|
|
1806
|
+
__publicField(this, "plugins");
|
|
1807
|
+
__publicField(this, "storage");
|
|
1808
|
+
__publicField(this, "canShare", createSpy2("canShare"));
|
|
1809
|
+
__publicField(this, "getGamepads", createSpy2("getGamepads"));
|
|
1810
|
+
__publicField(this, "requestMIDIAccess", createSpy2("requestMIDIAccess"));
|
|
1811
|
+
__publicField(this, "requestMediaKeySystemAccess", createSpy2("requestMediaKeySystemAccess"));
|
|
1812
|
+
__publicField(this, "sendBeacon", createSpy2("sendBeacon"));
|
|
1813
|
+
__publicField(this, "share", createSpy2("share"));
|
|
1814
|
+
__publicField(this, "vibrate", createSpy2("vibrate"));
|
|
1815
|
+
__publicField(this, "clearAppBadge", createSpy2("clearAppBadge"));
|
|
1816
|
+
__publicField(this, "setAppBadge", createSpy2("setAppBadge"));
|
|
1817
|
+
__publicField(this, "registerProtocolHandler", createSpy2(
|
|
1818
|
+
"registerProtocolHandler"
|
|
1819
|
+
));
|
|
1820
|
+
__publicField(this, "javaEnabled", createSpy2("javaEnabled"));
|
|
1821
|
+
}
|
|
1822
|
+
};
|
|
1823
|
+
var MockNode = class {
|
|
1824
|
+
constructor() {
|
|
1825
|
+
__publicField(this, "baseURI", "");
|
|
1826
|
+
__publicField(this, "childNodes");
|
|
1827
|
+
__publicField(this, "firstChild", null);
|
|
1828
|
+
__publicField(this, "isConnected", false);
|
|
1829
|
+
__publicField(this, "lastChild", null);
|
|
1830
|
+
__publicField(this, "nextSibling", null);
|
|
1831
|
+
__publicField(this, "nodeName", "");
|
|
1832
|
+
__publicField(this, "nodeType", 0);
|
|
1833
|
+
__publicField(this, "nodeValue", "");
|
|
1834
|
+
__publicField(this, "ownerDocument", null);
|
|
1835
|
+
__publicField(this, "parentElement", null);
|
|
1836
|
+
__publicField(this, "parentNode", null);
|
|
1837
|
+
__publicField(this, "previousSibling", null);
|
|
1838
|
+
__publicField(this, "textContent", "");
|
|
1839
|
+
__publicField(this, "ELEMENT_NODE", 1);
|
|
1840
|
+
__publicField(this, "ATTRIBUTE_NODE", 2);
|
|
1841
|
+
__publicField(this, "TEXT_NODE", 3);
|
|
1842
|
+
__publicField(this, "CDATA_SECTION_NODE", 4);
|
|
1843
|
+
__publicField(this, "ENTITY_REFERENCE_NODE", 5);
|
|
1844
|
+
__publicField(this, "ENTITY_NODE", 6);
|
|
1845
|
+
__publicField(this, "PROCESSING_INSTRUCTION_NODE", 7);
|
|
1846
|
+
__publicField(this, "COMMENT_NODE", 8);
|
|
1847
|
+
__publicField(this, "DOCUMENT_NODE", 9);
|
|
1848
|
+
__publicField(this, "DOCUMENT_TYPE_NODE", 10);
|
|
1849
|
+
__publicField(this, "DOCUMENT_FRAGMENT_NODE", 11);
|
|
1850
|
+
__publicField(this, "NOTATION_NODE", 12);
|
|
1851
|
+
__publicField(this, "DOCUMENT_POSITION_DISCONNECTED", 1);
|
|
1852
|
+
__publicField(this, "DOCUMENT_POSITION_PRECEDING", 2);
|
|
1853
|
+
__publicField(this, "DOCUMENT_POSITION_FOLLOWING", 4);
|
|
1854
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINS", 8);
|
|
1855
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINED_BY", 16);
|
|
1856
|
+
__publicField(this, "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", 32);
|
|
1857
|
+
__publicField(this, "appendChild", createSpy2("appendChild"));
|
|
1858
|
+
__publicField(this, "cloneNode", createSpy2("cloneNode"));
|
|
1859
|
+
__publicField(this, "compareDocumentPosition", createSpy2(
|
|
1860
|
+
"compareDocumentPosition"
|
|
1861
|
+
));
|
|
1862
|
+
__publicField(this, "contains", createSpy2("contains"));
|
|
1863
|
+
__publicField(this, "getRootNode", createSpy2("getRootNode"));
|
|
1864
|
+
__publicField(this, "hasChildNodes", createSpy2("hasChildNodes"));
|
|
1865
|
+
__publicField(this, "insertBefore", createSpy2("insertBefore"));
|
|
1866
|
+
__publicField(this, "isDefaultNamespace", createSpy2("isDefaultNamespace"));
|
|
1867
|
+
__publicField(this, "isEqualNode", createSpy2("isEqualNode"));
|
|
1868
|
+
__publicField(this, "isSameNode", createSpy2("isSameNode"));
|
|
1869
|
+
__publicField(this, "lookupNamespaceURI", createSpy2("lookupNamespaceURI"));
|
|
1870
|
+
__publicField(this, "lookupPrefix", createSpy2("lookupPrefix"));
|
|
1871
|
+
__publicField(this, "normalize", createSpy2("normalize"));
|
|
1872
|
+
__publicField(this, "removeChild", createSpy2("removeChild"));
|
|
1873
|
+
__publicField(this, "replaceChild", createSpy2("replaceChild"));
|
|
1874
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
1875
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
1876
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
1877
|
+
"removeEventListener"
|
|
1878
|
+
));
|
|
1879
|
+
}
|
|
1880
|
+
};
|
|
1881
|
+
var MockProgressEvent = class {
|
|
1882
|
+
constructor() {
|
|
1883
|
+
__publicField(this, "lengthComputable", false);
|
|
1884
|
+
__publicField(this, "loaded", 0);
|
|
1885
|
+
__publicField(this, "target");
|
|
1886
|
+
__publicField(this, "total", 0);
|
|
1887
|
+
__publicField(this, "bubbles", false);
|
|
1888
|
+
__publicField(this, "cancelBubble", false);
|
|
1889
|
+
__publicField(this, "cancelable", false);
|
|
1890
|
+
__publicField(this, "composed", false);
|
|
1891
|
+
__publicField(this, "currentTarget", null);
|
|
1892
|
+
__publicField(this, "defaultPrevented", false);
|
|
1893
|
+
__publicField(this, "eventPhase", 0);
|
|
1894
|
+
__publicField(this, "isTrusted", false);
|
|
1895
|
+
__publicField(this, "returnValue", false);
|
|
1896
|
+
__publicField(this, "srcElement", null);
|
|
1897
|
+
__publicField(this, "timeStamp", 0);
|
|
1898
|
+
__publicField(this, "type", "");
|
|
1899
|
+
__publicField(this, "NONE", 0);
|
|
1900
|
+
__publicField(this, "CAPTURING_PHASE", 1);
|
|
1901
|
+
__publicField(this, "AT_TARGET", 2);
|
|
1902
|
+
__publicField(this, "BUBBLING_PHASE", 3);
|
|
1903
|
+
__publicField(this, "composedPath", createSpy2("composedPath"));
|
|
1904
|
+
__publicField(this, "initEvent", createSpy2("initEvent"));
|
|
1905
|
+
__publicField(this, "preventDefault", createSpy2("preventDefault"));
|
|
1906
|
+
__publicField(this, "stopImmediatePropagation", createSpy2("stopImmediatePropagation"));
|
|
1907
|
+
__publicField(this, "stopPropagation", createSpy2("stopPropagation"));
|
|
1908
|
+
}
|
|
1909
|
+
};
|
|
1910
|
+
var MockPromiseRejectionEvent = class {
|
|
1911
|
+
constructor() {
|
|
1912
|
+
__publicField(this, "promise");
|
|
1913
|
+
__publicField(this, "reason");
|
|
1914
|
+
__publicField(this, "bubbles", false);
|
|
1915
|
+
__publicField(this, "cancelBubble", false);
|
|
1916
|
+
__publicField(this, "cancelable", false);
|
|
1917
|
+
__publicField(this, "composed", false);
|
|
1918
|
+
__publicField(this, "currentTarget", null);
|
|
1919
|
+
__publicField(this, "defaultPrevented", false);
|
|
1920
|
+
__publicField(this, "eventPhase", 0);
|
|
1921
|
+
__publicField(this, "isTrusted", false);
|
|
1922
|
+
__publicField(this, "returnValue", false);
|
|
1923
|
+
__publicField(this, "srcElement", null);
|
|
1924
|
+
__publicField(this, "target", null);
|
|
1925
|
+
__publicField(this, "timeStamp", 0);
|
|
1926
|
+
__publicField(this, "type", "");
|
|
1927
|
+
__publicField(this, "NONE", 0);
|
|
1928
|
+
__publicField(this, "CAPTURING_PHASE", 1);
|
|
1929
|
+
__publicField(this, "AT_TARGET", 2);
|
|
1930
|
+
__publicField(this, "BUBBLING_PHASE", 3);
|
|
1931
|
+
__publicField(this, "composedPath", createSpy2("composedPath"));
|
|
1932
|
+
__publicField(this, "initEvent", createSpy2("initEvent"));
|
|
1933
|
+
__publicField(this, "preventDefault", createSpy2("preventDefault"));
|
|
1934
|
+
__publicField(this, "stopImmediatePropagation", createSpy2("stopImmediatePropagation"));
|
|
1935
|
+
__publicField(this, "stopPropagation", createSpy2("stopPropagation"));
|
|
1936
|
+
}
|
|
1937
|
+
};
|
|
1938
|
+
var MockSourceBuffer = class {
|
|
1939
|
+
constructor() {
|
|
1940
|
+
__publicField(this, "appendWindowEnd", 0);
|
|
1941
|
+
__publicField(this, "appendWindowStart", 0);
|
|
1942
|
+
__publicField(this, "buffered");
|
|
1943
|
+
__publicField(this, "mode", "segments");
|
|
1944
|
+
__publicField(this, "onabort", null);
|
|
1945
|
+
__publicField(this, "onerror", null);
|
|
1946
|
+
__publicField(this, "onupdate", null);
|
|
1947
|
+
__publicField(this, "onupdateend", null);
|
|
1948
|
+
__publicField(this, "onupdatestart", null);
|
|
1949
|
+
__publicField(this, "timestampOffset", 0);
|
|
1950
|
+
__publicField(this, "updating", false);
|
|
1951
|
+
__publicField(this, "abort", createSpy2("abort"));
|
|
1952
|
+
__publicField(this, "appendBuffer", createSpy2("appendBuffer"));
|
|
1953
|
+
__publicField(this, "changeType", createSpy2("changeType"));
|
|
1954
|
+
__publicField(this, "remove", createSpy2("remove"));
|
|
1955
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
1956
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
1957
|
+
"removeEventListener"
|
|
1958
|
+
));
|
|
1959
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
1960
|
+
}
|
|
1961
|
+
};
|
|
1962
|
+
var MockStorage = class {
|
|
1963
|
+
constructor() {
|
|
1964
|
+
__publicField(this, "length", 0);
|
|
1965
|
+
__publicField(this, "clear", createSpy2("clear"));
|
|
1966
|
+
__publicField(this, "getItem", createSpy2("getItem"));
|
|
1967
|
+
__publicField(this, "key", createSpy2("key"));
|
|
1968
|
+
__publicField(this, "removeItem", createSpy2("removeItem"));
|
|
1969
|
+
__publicField(this, "setItem", createSpy2("setItem"));
|
|
1970
|
+
}
|
|
1971
|
+
};
|
|
1972
|
+
var MockText = class {
|
|
1973
|
+
constructor() {
|
|
1974
|
+
__publicField(this, "wholeText", "");
|
|
1975
|
+
__publicField(this, "data", "");
|
|
1976
|
+
__publicField(this, "length", 0);
|
|
1977
|
+
__publicField(this, "ownerDocument");
|
|
1978
|
+
__publicField(this, "textContent");
|
|
1979
|
+
__publicField(this, "assignedSlot", null);
|
|
1980
|
+
__publicField(this, "baseURI", "");
|
|
1981
|
+
__publicField(this, "childNodes");
|
|
1982
|
+
__publicField(this, "firstChild", null);
|
|
1983
|
+
__publicField(this, "isConnected", false);
|
|
1984
|
+
__publicField(this, "lastChild", null);
|
|
1985
|
+
__publicField(this, "nextSibling", null);
|
|
1986
|
+
__publicField(this, "nodeName", "");
|
|
1987
|
+
__publicField(this, "nodeType", 0);
|
|
1988
|
+
__publicField(this, "nodeValue", "");
|
|
1989
|
+
__publicField(this, "parentElement", null);
|
|
1990
|
+
__publicField(this, "parentNode", null);
|
|
1991
|
+
__publicField(this, "previousSibling", null);
|
|
1992
|
+
__publicField(this, "ELEMENT_NODE", 1);
|
|
1993
|
+
__publicField(this, "ATTRIBUTE_NODE", 2);
|
|
1994
|
+
__publicField(this, "TEXT_NODE", 3);
|
|
1995
|
+
__publicField(this, "CDATA_SECTION_NODE", 4);
|
|
1996
|
+
__publicField(this, "ENTITY_REFERENCE_NODE", 5);
|
|
1997
|
+
__publicField(this, "ENTITY_NODE", 6);
|
|
1998
|
+
__publicField(this, "PROCESSING_INSTRUCTION_NODE", 7);
|
|
1999
|
+
__publicField(this, "COMMENT_NODE", 8);
|
|
2000
|
+
__publicField(this, "DOCUMENT_NODE", 9);
|
|
2001
|
+
__publicField(this, "DOCUMENT_TYPE_NODE", 10);
|
|
2002
|
+
__publicField(this, "DOCUMENT_FRAGMENT_NODE", 11);
|
|
2003
|
+
__publicField(this, "NOTATION_NODE", 12);
|
|
2004
|
+
__publicField(this, "DOCUMENT_POSITION_DISCONNECTED", 1);
|
|
2005
|
+
__publicField(this, "DOCUMENT_POSITION_PRECEDING", 2);
|
|
2006
|
+
__publicField(this, "DOCUMENT_POSITION_FOLLOWING", 4);
|
|
2007
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINS", 8);
|
|
2008
|
+
__publicField(this, "DOCUMENT_POSITION_CONTAINED_BY", 16);
|
|
2009
|
+
__publicField(this, "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", 32);
|
|
2010
|
+
__publicField(this, "nextElementSibling", null);
|
|
2011
|
+
__publicField(this, "previousElementSibling", null);
|
|
2012
|
+
__publicField(this, "splitText", createSpy2("splitText"));
|
|
2013
|
+
__publicField(this, "appendData", createSpy2("appendData"));
|
|
2014
|
+
__publicField(this, "deleteData", createSpy2("deleteData"));
|
|
2015
|
+
__publicField(this, "insertData", createSpy2("insertData"));
|
|
2016
|
+
__publicField(this, "replaceData", createSpy2("replaceData"));
|
|
2017
|
+
__publicField(this, "substringData", createSpy2("substringData"));
|
|
2018
|
+
__publicField(this, "appendChild", createSpy2("appendChild"));
|
|
2019
|
+
__publicField(this, "cloneNode", createSpy2("cloneNode"));
|
|
2020
|
+
__publicField(this, "compareDocumentPosition", createSpy2(
|
|
2021
|
+
"compareDocumentPosition"
|
|
2022
|
+
));
|
|
2023
|
+
__publicField(this, "contains", createSpy2("contains"));
|
|
2024
|
+
__publicField(this, "getRootNode", createSpy2("getRootNode"));
|
|
2025
|
+
__publicField(this, "hasChildNodes", createSpy2("hasChildNodes"));
|
|
2026
|
+
__publicField(this, "insertBefore", createSpy2("insertBefore"));
|
|
2027
|
+
__publicField(this, "isDefaultNamespace", createSpy2("isDefaultNamespace"));
|
|
2028
|
+
__publicField(this, "isEqualNode", createSpy2("isEqualNode"));
|
|
2029
|
+
__publicField(this, "isSameNode", createSpy2("isSameNode"));
|
|
2030
|
+
__publicField(this, "lookupNamespaceURI", createSpy2("lookupNamespaceURI"));
|
|
2031
|
+
__publicField(this, "lookupPrefix", createSpy2("lookupPrefix"));
|
|
2032
|
+
__publicField(this, "normalize", createSpy2("normalize"));
|
|
2033
|
+
__publicField(this, "removeChild", createSpy2("removeChild"));
|
|
2034
|
+
__publicField(this, "replaceChild", createSpy2("replaceChild"));
|
|
2035
|
+
__publicField(this, "after", createSpy2("after"));
|
|
2036
|
+
__publicField(this, "before", createSpy2("before"));
|
|
2037
|
+
__publicField(this, "remove", createSpy2("remove"));
|
|
2038
|
+
__publicField(this, "replaceWith", createSpy2("replaceWith"));
|
|
2039
|
+
__publicField(this, "addEventListener", createSpy2("addEventListener"));
|
|
2040
|
+
__publicField(this, "dispatchEvent", createSpy2("dispatchEvent"));
|
|
2041
|
+
__publicField(this, "removeEventListener", createSpy2(
|
|
2042
|
+
"removeEventListener"
|
|
2043
|
+
));
|
|
2044
|
+
}
|
|
2045
|
+
};
|
|
2046
|
+
|
|
2047
|
+
// test/browserTestUtil/mock/polyfillCustomEvent.ts
|
|
2048
|
+
var FakeCustomEvent = class extends MockEvent {
|
|
2049
|
+
constructor(type, eventInitDict) {
|
|
2050
|
+
var _a, _b;
|
|
2051
|
+
super();
|
|
2052
|
+
__publicField(this, "detail");
|
|
2053
|
+
this.type = type;
|
|
2054
|
+
this.detail = eventInitDict == null ? void 0 : eventInitDict.detail;
|
|
2055
|
+
this.bubbles = (_a = eventInitDict == null ? void 0 : eventInitDict.bubbles) != null ? _a : false;
|
|
2056
|
+
this.cancelable = (_b = eventInitDict == null ? void 0 : eventInitDict.cancelable) != null ? _b : false;
|
|
2057
|
+
}
|
|
2058
|
+
initCustomEvent() {
|
|
2059
|
+
}
|
|
2060
|
+
};
|
|
2061
|
+
function polyfillCustomEvent() {
|
|
2062
|
+
beforeEach(() => {
|
|
2063
|
+
if (typeof window === "undefined")
|
|
2064
|
+
globalThis.CustomEvent = FakeCustomEvent;
|
|
2065
|
+
});
|
|
2066
|
+
afterEach(() => {
|
|
2067
|
+
if (typeof window === "undefined") delete globalThis.CustomEvent;
|
|
2068
|
+
});
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
// test/browserTestUtil/mock/asSpy.ts
|
|
2072
|
+
function asSpy(object, method) {
|
|
2073
|
+
if (object == null || object[method] == null) {
|
|
2074
|
+
throw new Error("method not implemented");
|
|
2075
|
+
}
|
|
2076
|
+
const fun = object[method];
|
|
2077
|
+
if ("calls" in fun) {
|
|
2078
|
+
return fun;
|
|
2079
|
+
} else {
|
|
2080
|
+
return spyOn(object, method);
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
// test/browserTestUtil/mock/implementEventFakes.ts
|
|
2085
|
+
function implementEventFakes(target) {
|
|
2086
|
+
const callbacks = /* @__PURE__ */ new Map();
|
|
2087
|
+
asSpy(target, "addEventListener").and.callFake(
|
|
2088
|
+
(type, callback, addOptions) => {
|
|
2089
|
+
var _a, _b;
|
|
2090
|
+
if (!callbacks.has(type)) callbacks.set(type, /* @__PURE__ */ new Map());
|
|
2091
|
+
const captureMap = callbacks.get(type);
|
|
2092
|
+
let newOptions;
|
|
2093
|
+
let capture;
|
|
2094
|
+
if (addOptions == null) {
|
|
2095
|
+
newOptions = { once: false };
|
|
2096
|
+
capture = false;
|
|
2097
|
+
} else if (typeof addOptions === "boolean") {
|
|
2098
|
+
newOptions = { once: false };
|
|
2099
|
+
capture = addOptions;
|
|
2100
|
+
} else {
|
|
2101
|
+
newOptions = { once: (_a = addOptions.once) != null ? _a : false };
|
|
2102
|
+
capture = (_b = addOptions.capture) != null ? _b : false;
|
|
2103
|
+
}
|
|
2104
|
+
if (!captureMap.has(capture)) captureMap.set(capture, /* @__PURE__ */ new Map());
|
|
2105
|
+
const callbacksMap = captureMap.get(capture);
|
|
2106
|
+
if (!callbacksMap.has(callback)) {
|
|
2107
|
+
callbacksMap.set(callback, newOptions);
|
|
2108
|
+
}
|
|
2109
|
+
}
|
|
2110
|
+
);
|
|
2111
|
+
asSpy(target, "removeEventListener").and.callFake(
|
|
2112
|
+
(type, callback, options) => {
|
|
2113
|
+
var _a;
|
|
2114
|
+
if (!callbacks.has(type)) return;
|
|
2115
|
+
const captureMap = callbacks.get(type);
|
|
2116
|
+
const capture = typeof options === "boolean" ? options : (_a = options == null ? void 0 : options.capture) != null ? _a : false;
|
|
2117
|
+
if (!captureMap.has(capture)) return;
|
|
2118
|
+
const callbacksMap = captureMap.get(capture);
|
|
2119
|
+
callbacksMap.delete(callback);
|
|
2120
|
+
}
|
|
2121
|
+
);
|
|
2122
|
+
asSpy(target, "dispatchEvent").and.callFake((event) => {
|
|
2123
|
+
if (!callbacks.has(event.type)) return true;
|
|
2124
|
+
const captureMap = callbacks.get(event.type);
|
|
2125
|
+
event.eventPhase = event.AT_TARGET;
|
|
2126
|
+
event.currentTarget = target;
|
|
2127
|
+
event.target = target;
|
|
2128
|
+
if (captureMap.has(true)) {
|
|
2129
|
+
const captureCallbacks = captureMap.get(true);
|
|
2130
|
+
for (const [callback, options] of captureCallbacks.entries()) {
|
|
2131
|
+
if (event.stopImmediatePropagation.calls.any()) break;
|
|
2132
|
+
if (event.eventPhase === event.AT_TARGET || event.eventPhase === event.CAPTURING_PHASE) {
|
|
2133
|
+
if (options.once) {
|
|
2134
|
+
target.removeEventListener(event.type, callback, true);
|
|
2135
|
+
}
|
|
2136
|
+
callback(event);
|
|
2137
|
+
}
|
|
2138
|
+
}
|
|
2139
|
+
}
|
|
2140
|
+
if (captureMap.has(false)) {
|
|
2141
|
+
const bubbleCallbacks = captureMap.get(false);
|
|
2142
|
+
for (const [callback, options] of bubbleCallbacks.entries()) {
|
|
2143
|
+
if (event.stopImmediatePropagation.calls.any()) break;
|
|
2144
|
+
if (event.eventPhase === event.AT_TARGET || event.eventPhase === event.BUBBLING_PHASE) {
|
|
2145
|
+
if (options.once) {
|
|
2146
|
+
target.removeEventListener(event.type, callback, false);
|
|
2147
|
+
}
|
|
2148
|
+
callback(event);
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
return !event.cancelable || !event.preventDefault.calls.any();
|
|
2153
|
+
});
|
|
2154
|
+
return {
|
|
2155
|
+
hasAnyListeners() {
|
|
2156
|
+
for (const typeMap of callbacks.values()) {
|
|
2157
|
+
for (const captureMap of typeMap.values()) {
|
|
2158
|
+
if (captureMap.size > 0) return true;
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
return false;
|
|
2162
|
+
}
|
|
2163
|
+
};
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
// test/browserTestUtil/mock/dom/mockEvent.ts
|
|
2167
|
+
function mockEvent(type) {
|
|
2168
|
+
const e = new MockEvent();
|
|
2169
|
+
e.type = type;
|
|
2170
|
+
return e;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
// test/browserTestUtil/mock/dom/globals.ts
|
|
2174
|
+
var MockMediaSourceGlobal = class extends MockMediaSource {
|
|
2175
|
+
};
|
|
2176
|
+
__publicField(MockMediaSourceGlobal, "canConstructInDedicatedWorker", false);
|
|
2177
|
+
__publicField(MockMediaSourceGlobal, "isTypeSupported", createSpy2(
|
|
2178
|
+
"isTypeSupported"
|
|
2179
|
+
));
|
|
2180
|
+
var MockAbortSignalGlobal = class extends MockAbortSignal {
|
|
2181
|
+
};
|
|
2182
|
+
__publicField(MockAbortSignalGlobal, "abort", createSpy2("abort"));
|
|
2183
|
+
__publicField(MockAbortSignalGlobal, "any", createSpy2("any"));
|
|
2184
|
+
__publicField(MockAbortSignalGlobal, "timeout", createSpy2("timeout"));
|
|
2185
|
+
|
|
2186
|
+
// test/browserTestUtil/mock/dom/MockTimeRanges.ts
|
|
2187
|
+
var MockTimeRanges = class {
|
|
2188
|
+
constructor(ranges = []) {
|
|
2189
|
+
this.ranges = ranges;
|
|
2190
|
+
for (let i = 1; i < ranges.length; i++) {
|
|
2191
|
+
const prev = ranges[i - 1];
|
|
2192
|
+
const range = ranges[i];
|
|
2193
|
+
if (range[0] >= range[1] || range[0] <= prev[1])
|
|
2194
|
+
throw new Error("invalid ranges");
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
get length() {
|
|
2198
|
+
return this.ranges.length;
|
|
2199
|
+
}
|
|
2200
|
+
start(index) {
|
|
2201
|
+
return this.ranges[index][0];
|
|
2202
|
+
}
|
|
2203
|
+
end(index) {
|
|
2204
|
+
return this.ranges[index][1];
|
|
2205
|
+
}
|
|
2206
|
+
};
|
|
2207
|
+
|
|
2208
|
+
// test/browserTestUtil/matchers/toBeCloseToWithin.ts
|
|
2209
|
+
function addToBeCloseToWithin() {
|
|
2210
|
+
beforeEach(function() {
|
|
2211
|
+
jasmine.addMatchers({
|
|
2212
|
+
toBeCloseToWithin: function() {
|
|
2213
|
+
return {
|
|
2214
|
+
compare: function(actual, expected, tolerance = Number.EPSILON) {
|
|
2215
|
+
if (tolerance == null) {
|
|
2216
|
+
throw new Error("You must supply a tolerance value");
|
|
2217
|
+
}
|
|
2218
|
+
const pass = Math.abs(expected - actual) <= tolerance;
|
|
2219
|
+
const message = pass ? `Expected ${actual} to be close to ${expected} with tolerance ${tolerance}` : `Expected ${actual} to be close to ${expected} with tolerance ${tolerance}, but it was not`;
|
|
2220
|
+
return { pass, message };
|
|
2221
|
+
}
|
|
2222
|
+
};
|
|
2223
|
+
}
|
|
2224
|
+
});
|
|
2225
|
+
});
|
|
2226
|
+
}
|
|
2227
|
+
|
|
2228
|
+
// test/browserTestUtil/matchers/customMatchers.ts
|
|
2229
|
+
function addCustomMatchers() {
|
|
2230
|
+
addToBeCloseToWithin();
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
// test/browserTestUtil/expect/typesafety.ts
|
|
2234
|
+
function expectTypeStrictlyEquals(_matches) {
|
|
2235
|
+
expect(true).toBeTrue();
|
|
2236
|
+
}
|
|
2237
|
+
function expectTypeEquals(_matches) {
|
|
2238
|
+
expect(true).toBeTrue();
|
|
2239
|
+
}
|
|
2240
|
+
function expectTypeExtends(_matches) {
|
|
2241
|
+
expect(true).toBeTrue();
|
|
2242
|
+
}
|
|
2243
|
+
function expectTypeTrue() {
|
|
2244
|
+
expect(true).toBeTrue();
|
|
2245
|
+
}
|
|
2246
|
+
function expectTypeFalse() {
|
|
2247
|
+
expect(true).toBeTrue();
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
// test/browserTestUtil/expect/prototype.ts
|
|
2251
|
+
function expectPrototype(factory, ...classes) {
|
|
2252
|
+
const e = factory();
|
|
2253
|
+
classes.forEach((clazz) => expect(e).toBeInstanceOf(clazz));
|
|
2254
|
+
const spy = spyOn(classes[classes.length - 1], "call");
|
|
2255
|
+
spy.and.returnValue(null);
|
|
2256
|
+
const e2 = factory();
|
|
2257
|
+
classes.forEach((clazz) => expect(e2).toBeInstanceOf(clazz));
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
// test/browserTestUtil/expect/expectNothing.ts
|
|
2261
|
+
function expectNothing() {
|
|
2262
|
+
expect(true).toBeTruthy();
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
// test/browserTestUtil/expect/expectIterableEquals.ts
|
|
2266
|
+
function expectIterableEquals(arr1, arr2) {
|
|
2267
|
+
expect(Array.from(arr1)).toEqual(Array.from(arr2));
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
// test/browserTestUtil/env/jasmineEnv.ts
|
|
2271
|
+
var nextTestTimeoutOverridden = false;
|
|
2272
|
+
function setTestTimeout(timeout) {
|
|
2273
|
+
let originalTimeout = null;
|
|
2274
|
+
beforeEach(() => {
|
|
2275
|
+
originalTimeout = jasmine.DEFAULT_TIMEOUT_INTERVAL;
|
|
2276
|
+
if (!nextTestTimeoutOverridden)
|
|
2277
|
+
jasmine.DEFAULT_TIMEOUT_INTERVAL = timeout * 1e3;
|
|
2278
|
+
});
|
|
2279
|
+
afterEach(() => {
|
|
2280
|
+
if (originalTimeout) jasmine.DEFAULT_TIMEOUT_INTERVAL = originalTimeout;
|
|
2281
|
+
if (nextTestTimeoutOverridden) nextTestTimeoutOverridden = false;
|
|
2282
|
+
});
|
|
2283
|
+
}
|
|
2284
|
+
function setNextTestTimeout(timeout) {
|
|
2285
|
+
nextTestTimeoutOverridden = true;
|
|
2286
|
+
jasmine.DEFAULT_TIMEOUT_INTERVAL = timeout * 1e3;
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
// test/browserTestUtil/benchmark/Benchmark.ts
|
|
2290
|
+
var now;
|
|
2291
|
+
if (typeof window !== "undefined" && typeof window.performance !== "undefined" && typeof window.performance.now !== "undefined") {
|
|
2292
|
+
now = () => window.performance.now();
|
|
2293
|
+
} else if (typeof self !== "undefined" && typeof self.performance !== "undefined" && typeof self.performance.now !== "undefined") {
|
|
2294
|
+
now = () => self.performance.now();
|
|
2295
|
+
} else {
|
|
2296
|
+
now = () => Date.now();
|
|
2297
|
+
}
|
|
2298
|
+
var BenchmarkRunResults = class {
|
|
2299
|
+
constructor(name) {
|
|
2300
|
+
this.name = name;
|
|
2301
|
+
__publicField(this, "cycleResults", []);
|
|
2302
|
+
__publicField(this, "_totalSamples", 0);
|
|
2303
|
+
}
|
|
2304
|
+
get totalSamples() {
|
|
2305
|
+
return this._totalSamples;
|
|
2306
|
+
}
|
|
2307
|
+
get cycleResultsNoOutliers() {
|
|
2308
|
+
const sD = this.standardDeviation;
|
|
2309
|
+
const avg = average(this.cycleResults);
|
|
2310
|
+
return this.cycleResults.filter((e) => {
|
|
2311
|
+
const zScore = (avg - e) / sD;
|
|
2312
|
+
return Math.abs(zScore) < 3;
|
|
2313
|
+
});
|
|
2314
|
+
}
|
|
2315
|
+
/**
|
|
2316
|
+
* Returns the mean ops per second minus outliers of greater than 3 standard deviations.
|
|
2317
|
+
*/
|
|
2318
|
+
get meanOpsPerSec() {
|
|
2319
|
+
return average(this.cycleResultsNoOutliers);
|
|
2320
|
+
}
|
|
2321
|
+
get standardDeviation() {
|
|
2322
|
+
return standardDeviation(this.cycleResults);
|
|
2323
|
+
}
|
|
2324
|
+
get variance() {
|
|
2325
|
+
return this.standardDeviation / this.meanOpsPerSec;
|
|
2326
|
+
}
|
|
2327
|
+
/**
|
|
2328
|
+
* Returns the mean ops / s ± variance % as a string.
|
|
2329
|
+
*/
|
|
2330
|
+
get meanOpsStr() {
|
|
2331
|
+
const mean = this.meanOpsPerSec.toLocaleString(void 0, {
|
|
2332
|
+
maximumSignificantDigits: 4
|
|
2333
|
+
});
|
|
2334
|
+
const variance = this.variance.toLocaleString(void 0, {
|
|
2335
|
+
style: "percent"
|
|
2336
|
+
});
|
|
2337
|
+
return `${mean} \xB1${variance}`;
|
|
2338
|
+
}
|
|
2339
|
+
add(cycle) {
|
|
2340
|
+
const opsPerSecond = cycle.ops / cycle.duration;
|
|
2341
|
+
let index = this.cycleResults.findIndex((value) => opsPerSecond < value);
|
|
2342
|
+
if (index < 0) index = this.cycleResults.length;
|
|
2343
|
+
this.cycleResults.splice(index, 0, opsPerSecond);
|
|
2344
|
+
this._totalSamples += cycle.ops;
|
|
2345
|
+
}
|
|
2346
|
+
toString() {
|
|
2347
|
+
if (!this.cycleResults.length) return "No results";
|
|
2348
|
+
return `${this.name}: ${this.meanOpsStr} ops/sec`;
|
|
2349
|
+
}
|
|
2350
|
+
};
|
|
2351
|
+
var RunResultsComparison = class {
|
|
2352
|
+
constructor(name, results) {
|
|
2353
|
+
this.name = name;
|
|
2354
|
+
/**
|
|
2355
|
+
* Sorted by median ops/s from slowest to fastest.
|
|
2356
|
+
*/
|
|
2357
|
+
__publicField(this, "results");
|
|
2358
|
+
this.results = results.sort((a, b) => {
|
|
2359
|
+
return a.meanOpsPerSec - b.meanOpsPerSec;
|
|
2360
|
+
});
|
|
2361
|
+
}
|
|
2362
|
+
logToTable() {
|
|
2363
|
+
const r = this.results.map((run) => {
|
|
2364
|
+
const variance = run.variance.toLocaleString(void 0, {
|
|
2365
|
+
style: "percent"
|
|
2366
|
+
});
|
|
2367
|
+
const mean = run.meanOpsPerSec.toLocaleString(void 0, {
|
|
2368
|
+
maximumSignificantDigits: 4
|
|
2369
|
+
});
|
|
2370
|
+
return {
|
|
2371
|
+
Name: run.name,
|
|
2372
|
+
Mean: `${mean} \xB1${variance}`,
|
|
2373
|
+
Samples: run.totalSamples,
|
|
2374
|
+
Compare: this.runComparisonToString(run)
|
|
2375
|
+
};
|
|
2376
|
+
});
|
|
2377
|
+
const table = r.reduce((acc, _a) => {
|
|
2378
|
+
var _b = _a, { Name } = _b, x = __objRest(_b, ["Name"]);
|
|
2379
|
+
acc[Name] = x;
|
|
2380
|
+
return acc;
|
|
2381
|
+
}, {});
|
|
2382
|
+
console.log("\n" + this.name);
|
|
2383
|
+
console.table(table);
|
|
2384
|
+
}
|
|
2385
|
+
runComparisonToString(run) {
|
|
2386
|
+
var _a, _b;
|
|
2387
|
+
const baseline = (_b = (_a = this.results[0]) == null ? void 0 : _a.meanOpsPerSec) != null ? _b : 0;
|
|
2388
|
+
const fasterPercent = run.meanOpsPerSec / baseline - 1;
|
|
2389
|
+
return fasterPercent < 0.01 ? "-" : fasterPercent.toLocaleString(void 0, {
|
|
2390
|
+
style: "percent"
|
|
2391
|
+
}) + " faster";
|
|
2392
|
+
}
|
|
2393
|
+
};
|
|
2394
|
+
function compareResults(name, ...results) {
|
|
2395
|
+
return new RunResultsComparison(name, results);
|
|
2396
|
+
}
|
|
2397
|
+
var defaultBenchmarkOptions = {
|
|
2398
|
+
warmupTime: 0.5,
|
|
2399
|
+
maxCycleDuration: 0.5,
|
|
2400
|
+
cycles: 9
|
|
2401
|
+
};
|
|
2402
|
+
var _Benchmark = class _Benchmark {
|
|
2403
|
+
/**
|
|
2404
|
+
* Constructs a new Benchmark.
|
|
2405
|
+
*
|
|
2406
|
+
* @param name The name of the benchmark, to be used when logging.
|
|
2407
|
+
* @param executor The method to execute and measure. If this method returns a promise, the
|
|
2408
|
+
* promise will be awaited. The executor should either always return a promise, or never.
|
|
2409
|
+
* @param options Optional configuration for the benchmark.
|
|
2410
|
+
*/
|
|
2411
|
+
constructor(name, executor, options) {
|
|
2412
|
+
this.name = name;
|
|
2413
|
+
this.executor = executor;
|
|
2414
|
+
__publicField(this, "options");
|
|
2415
|
+
this.options = __spreadValues(__spreadValues({}, defaultBenchmarkOptions), options);
|
|
2416
|
+
}
|
|
2417
|
+
async run() {
|
|
2418
|
+
const opts = this.options;
|
|
2419
|
+
await _Benchmark.semaphore;
|
|
2420
|
+
const warmupTimeMs = opts.warmupTime * 1e3;
|
|
2421
|
+
const cycleStart = now();
|
|
2422
|
+
let isAsync = false;
|
|
2423
|
+
do {
|
|
2424
|
+
const result = this.executor();
|
|
2425
|
+
isAsync = isAsync || result && typeof result.then === "function";
|
|
2426
|
+
if (isAsync) await result;
|
|
2427
|
+
} while (now() - cycleStart < warmupTimeMs);
|
|
2428
|
+
const resultsPromise = (async () => {
|
|
2429
|
+
const results = new BenchmarkRunResults(this.name);
|
|
2430
|
+
for (let i = 0; i < opts.cycles; i++) {
|
|
2431
|
+
const cycleResults = await this.runCycle(isAsync);
|
|
2432
|
+
results.add(cycleResults);
|
|
2433
|
+
await nextFrame();
|
|
2434
|
+
}
|
|
2435
|
+
return results;
|
|
2436
|
+
})();
|
|
2437
|
+
_Benchmark.semaphore = resultsPromise;
|
|
2438
|
+
return await resultsPromise;
|
|
2439
|
+
}
|
|
2440
|
+
/**
|
|
2441
|
+
* Runs one cycle. A cycle will repeat the executor approximately `options.maxCycleDuration`
|
|
2442
|
+
* seconds.
|
|
2443
|
+
*
|
|
2444
|
+
* @param isAsync
|
|
2445
|
+
* @return Returns the duration (in seconds) and number of operations the cycle repeated.
|
|
2446
|
+
*/
|
|
2447
|
+
async runCycle(isAsync) {
|
|
2448
|
+
const cycleMs = this.options.maxCycleDuration * 1e3;
|
|
2449
|
+
let ops = 0;
|
|
2450
|
+
const cycleStart = now();
|
|
2451
|
+
do {
|
|
2452
|
+
const result = this.executor();
|
|
2453
|
+
if (isAsync) await result;
|
|
2454
|
+
ops++;
|
|
2455
|
+
} while (now() - cycleStart < cycleMs);
|
|
2456
|
+
const duration = (now() - cycleStart) / 1e3;
|
|
2457
|
+
return {
|
|
2458
|
+
duration,
|
|
2459
|
+
ops
|
|
2460
|
+
};
|
|
2461
|
+
}
|
|
2462
|
+
};
|
|
2463
|
+
__publicField(_Benchmark, "semaphore", nextFrame());
|
|
2464
|
+
var Benchmark = _Benchmark;
|
|
2465
|
+
function benchmark(name, executor, options) {
|
|
2466
|
+
const benchmark2 = new Benchmark(name, executor, options);
|
|
2467
|
+
return benchmark2.run().then((results) => {
|
|
2468
|
+
console.log(results.toString());
|
|
2469
|
+
return results;
|
|
2470
|
+
});
|
|
2471
|
+
}
|
|
2472
|
+
function nextFrame() {
|
|
2473
|
+
return new Promise((resolve) => {
|
|
2474
|
+
setTimeout(resolve);
|
|
2475
|
+
});
|
|
2476
|
+
}
|
|
2477
|
+
function standardDeviation(values) {
|
|
2478
|
+
const avg = average(values);
|
|
2479
|
+
const squareDiffs = values.map((value) => {
|
|
2480
|
+
const diff = value - avg;
|
|
2481
|
+
return diff * diff;
|
|
2482
|
+
});
|
|
2483
|
+
const avgSquareDiff = average(squareDiffs);
|
|
2484
|
+
return Math.sqrt(avgSquareDiff);
|
|
2485
|
+
}
|
|
2486
|
+
function average(values) {
|
|
2487
|
+
const sum = values.reduce((acc, value) => acc + value, 0);
|
|
2488
|
+
return sum / values.length;
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
// test/browserTestUtil/async/marble.ts
|
|
2492
|
+
function marbleTest(init, legend, output) {
|
|
2493
|
+
return async (input) => {
|
|
2494
|
+
const test = await init();
|
|
2495
|
+
for (let i = 0; i < input.length; i++) {
|
|
2496
|
+
const char = input[i];
|
|
2497
|
+
const action = legend[char];
|
|
2498
|
+
if (!action) throw new Error(`Unknown marble: '${char}'`);
|
|
2499
|
+
await action(test);
|
|
2500
|
+
}
|
|
2501
|
+
return output(test);
|
|
2502
|
+
};
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
// test/browserTestUtil/async/createCallbackTimingTest.ts
|
|
2506
|
+
var createSpy3 = jasmine.createSpy;
|
|
2507
|
+
function createCallbackTimingTest(clock, wrapCallback) {
|
|
2508
|
+
return marbleTest(
|
|
2509
|
+
() => {
|
|
2510
|
+
clock.mockDate(/* @__PURE__ */ new Date(0));
|
|
2511
|
+
let _out = "";
|
|
2512
|
+
let lastTimeMs = 0;
|
|
2513
|
+
const writeTime = () => {
|
|
2514
|
+
const nowMs = Date.now();
|
|
2515
|
+
_out += "-".repeat((nowMs - lastTimeMs) / 1e3);
|
|
2516
|
+
lastTimeMs = nowMs;
|
|
2517
|
+
};
|
|
2518
|
+
const spy = createSpy3("inner").and.callFake(() => {
|
|
2519
|
+
writeTime();
|
|
2520
|
+
_out += "x";
|
|
2521
|
+
});
|
|
2522
|
+
const throttled = wrapCallback(spy);
|
|
2523
|
+
return {
|
|
2524
|
+
spy,
|
|
2525
|
+
throttled,
|
|
2526
|
+
get out() {
|
|
2527
|
+
return _out;
|
|
2528
|
+
}
|
|
2529
|
+
};
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
"-": () => {
|
|
2533
|
+
return clock.tick(1);
|
|
2534
|
+
},
|
|
2535
|
+
x: (test) => {
|
|
2536
|
+
test.throttled();
|
|
2537
|
+
}
|
|
2538
|
+
},
|
|
2539
|
+
async (o) => {
|
|
2540
|
+
for (let i = 0; i < 10; i++) {
|
|
2541
|
+
await clock.tick(1);
|
|
2542
|
+
}
|
|
2543
|
+
return o.out;
|
|
2544
|
+
}
|
|
2545
|
+
);
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
// test/browserTestUtil/async/async.ts
|
|
2549
|
+
var scheduler = setTimeout;
|
|
2550
|
+
function flushPromises() {
|
|
2551
|
+
return new Promise((resolve) => {
|
|
2552
|
+
scheduler(() => resolve(void 0));
|
|
2553
|
+
});
|
|
2554
|
+
}
|
|
2555
|
+
function useMockTime() {
|
|
2556
|
+
const clock = jasmine.clock();
|
|
2557
|
+
beforeEach(() => {
|
|
2558
|
+
clock.install();
|
|
2559
|
+
clock.mockDate(/* @__PURE__ */ new Date(0));
|
|
2560
|
+
});
|
|
2561
|
+
afterEach(() => {
|
|
2562
|
+
clock.uninstall();
|
|
2563
|
+
});
|
|
2564
|
+
const mockTime = {
|
|
2565
|
+
async tick(...time) {
|
|
2566
|
+
if (!time.length) {
|
|
2567
|
+
clock.tick(0);
|
|
2568
|
+
await flushPromises();
|
|
2569
|
+
}
|
|
2570
|
+
for (const s of time) {
|
|
2571
|
+
clock.tick(s * 1e3);
|
|
2572
|
+
await flushPromises();
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2575
|
+
mockDate(date) {
|
|
2576
|
+
clock.mockDate(date);
|
|
2577
|
+
}
|
|
2578
|
+
};
|
|
2579
|
+
return mockTime;
|
|
2580
|
+
}
|
|
2581
|
+
export {
|
|
2582
|
+
Benchmark,
|
|
2583
|
+
BenchmarkRunResults,
|
|
2584
|
+
ConsoleReporter,
|
|
2585
|
+
MockAbortController,
|
|
2586
|
+
MockAbortSignal,
|
|
2587
|
+
MockAbortSignalGlobal,
|
|
2588
|
+
MockAudioContext,
|
|
2589
|
+
MockCache,
|
|
2590
|
+
MockCacheStorage,
|
|
2591
|
+
MockCustomEvent,
|
|
2592
|
+
MockDocument,
|
|
2593
|
+
MockErrorEvent,
|
|
2594
|
+
MockEvent,
|
|
2595
|
+
MockEventTarget,
|
|
2596
|
+
MockHTMLAudioElement,
|
|
2597
|
+
MockHTMLDivElement,
|
|
2598
|
+
MockHTMLMediaElement,
|
|
2599
|
+
MockMediaError,
|
|
2600
|
+
MockMediaKeyMessageEvent,
|
|
2601
|
+
MockMediaKeySession,
|
|
2602
|
+
MockMediaKeySystemAccess,
|
|
2603
|
+
MockMediaKeys,
|
|
2604
|
+
MockMediaSource,
|
|
2605
|
+
MockMediaSourceGlobal,
|
|
2606
|
+
MockMediaStream,
|
|
2607
|
+
MockNavigator,
|
|
2608
|
+
MockNode,
|
|
2609
|
+
MockProgressEvent,
|
|
2610
|
+
MockPromiseRejectionEvent,
|
|
2611
|
+
MockSourceBuffer,
|
|
2612
|
+
MockStorage,
|
|
2613
|
+
MockText,
|
|
2614
|
+
MockTimeRanges,
|
|
2615
|
+
RunResultsComparison,
|
|
2616
|
+
addCustomMatchers,
|
|
2617
|
+
addToBeCloseToWithin,
|
|
2618
|
+
asSpy,
|
|
2619
|
+
benchmark,
|
|
2620
|
+
compareResults,
|
|
2621
|
+
createCallbackTimingTest,
|
|
2622
|
+
createSpy2,
|
|
2623
|
+
createSpyFactory,
|
|
2624
|
+
expectIterableEquals,
|
|
2625
|
+
expectNothing,
|
|
2626
|
+
expectPrototype,
|
|
2627
|
+
expectTypeEquals,
|
|
2628
|
+
expectTypeExtends,
|
|
2629
|
+
expectTypeFalse,
|
|
2630
|
+
expectTypeStrictlyEquals,
|
|
2631
|
+
expectTypeTrue,
|
|
2632
|
+
flushPromises,
|
|
2633
|
+
implementEventFakes,
|
|
2634
|
+
marbleTest,
|
|
2635
|
+
mockEvent,
|
|
2636
|
+
polyfillCustomEvent,
|
|
2637
|
+
setNextTestTimeout,
|
|
2638
|
+
setTestTimeout,
|
|
2639
|
+
useMockTime
|
|
2640
|
+
};
|
|
2641
|
+
//# sourceMappingURL=index.js.map
|