--- title: window.cancelIdleCallback() slug: Web/API/Window/cancelIdleCallback translation_of: Web/API/Window/cancelIdleCallback ---
La méthode window.cancelIdleCallback()
annule une fonction précedemment planifiée via {{domxref("window.requestIdleCallback()")}}.
window.cancelIdleCallback(idleCallbackId);
Spécification | Status | Commentaire |
---|---|---|
{{SpecName('Background Tasks')}} | {{Spec2('Background Tasks')}} | Définition initiale. |
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{CompatChrome(47)}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} |
Feature | Android | Android Webview | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatChrome(47)}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatUnknown}} | {{CompatChrome(47)}} |