Replace CancelToken
to AbortSignal
(#19352)
This commit is contained in:
parent
f01310dadb
commit
219c38b921
7 changed files with 93 additions and 38 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue