This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Note: This feature is available in Web Workers.
The result read-only property of the BackgroundFetchRegistration interface returns a string indicating whether the background fetch was successful or failed.
If the value of this property changes, the progress event is fired at the associated BackgroundFetchRegistration object.
One of the following strings:
""The fetch is active so there is no result.
"success"The background fetch was successful.
"failure"The background fetch failed. This only appears when there is no ability for the browser to retry.
Logging this property to the console returns a string indicating the status, or an empty string if the fetch is still active.
console.log(bgFetch.result);
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
result |
74 | 79 | No | 62 | No | 74 | No | 53 | No | 11.0 | No | No |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/BackgroundFetchRegistration/result