Replace CancelToken
to AbortSignal
(#19352)
This commit is contained in:
committed by
GitHub
parent
f01310dadb
commit
219c38b921
@@ -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 &&
|
||||
|
Reference in New Issue
Block a user