0
0
Fork 0

Replace CancelToken to AbortSignal (#19352)

This commit is contained in:
Yamagishi Kazutoshi 2022-10-14 10:16:37 +09:00 committed by GitHub
parent f01310dadb
commit 219c38b921
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 93 additions and 38 deletions

View file

@ -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 &&