runtime.lastError
Read More at MDN DocsSafe to Use
runtime.lastError
is not safe to use.
It’s supported by 51% of global browsers.
Browsers
ChromeDec 11, 2008v1.0.0
25%╱100%
100% of Chrome users are running a supported version.
SafariSep 16, 2020v14.0.03%╱89%
There are no users of Safari running a supported version.
EdgeAug 2, 2016v14.0.04%╱100%
100% of Edge users are running a supported version.
FirefoxJun 7, 2016v47.0.03%╱99%
There are no users of Firefox running a supported version.
Version Breakdown
Support
Adoption
Chrome
Dec 11, 2008 v1.0.0
25%╱100%
100% of Chrome users are running a supported version.
Dec 11, 2008 – Latest
v1.0.0+
25%╱100%
Full Support
lastError is not an Error object. Instead, it is a plain Object with the error text as the string value of the 'message' property.
Edge
Aug 2, 2016 v14.0.0
4%╱100%
100% of Edge users are running a supported version.
Aug 2, 2016 – Latest
v14.0.0+
4%╱100%
Full Support
Firefox
Jun 7, 2016 v47.0.0
3%╱99%
There are no users of Firefox running a supported version.
Jun 7, 2016 – Latest
v47.0.0+
3%╱99%
Full Support
Firefox for Android
Aug 2, 2016 v48.0.0
Firefox for Android supports this feature.
Aug 2, 2016 – Latest
v48.0.0+
Full Support
Opera
Unknown v1.0.0
2%╱100%
100% of Opera users are running a supported version.
Unknown
v1.0.0+
2%╱100%
Full Support
lastError is not an Error object. Instead, it is a plain Object with the error text as the string value of the 'message' property.
Safari
Sep 16, 2020 v14.0.0
3%╱89%
There are no users of Safari running a supported version.
Sep 16, 2020 – Latest
v14.0.0+
3%╱89%
Full Support
lastError
is only set if a callback is used. Promise
results that fail will be rejected with an Error
object.
Safari on iOS
Sep 20, 2021 v15.0.0
15%╱85%
There are no users of Safari on iOS running a supported version.
Sep 20, 2021 – Latest
v15.0.0+
15%╱85%
Full Support
lastError
is only set if a callback is used. Promise
results that fail will be rejected with an Error
object.