Replace CancelToken to AbortSignal (#19352)

This commit is contained in:
Yamagishi Kazutoshi authored and GitHub committed 2022-10-14 03:16:37 +02:00
1 parent f01310dadb
commit 219c38b921
7 files changed
+93 -38

No files matched your search

@@ -26,6 +26,7 @@ function loadPolyfills() {
// Edge does not have requestIdleCallback and object-fit CSS property.
// This avoids shipping them all the polyfills.
const needsExtraPolyfills = !(
window.AbortController &&
window.IntersectionObserver &&
window.IntersectionObserverEntry &&
'isIntersecting' in IntersectionObserverEntry.prototype &&