CloseEvent
Read More at MDN DocsView SpecSafe to Use
CloseEvent
is considered safe to use.
It’s supported by 96% of global browsers.
Browsers
ChromeAug 2, 2011v13.0.0
25%╱100%
100% of Chrome users are running a supported version.
SafariJul 25, 2012v6.0.03%╱100%
There are no users of Safari running a supported version.
EdgeJul 28, 2015v12.0.04%╱100%
100% of Edge users are running a supported version.
FirefoxNov 8, 2011v8.0.03%╱99%
There are no users of Firefox running a supported version.
Version Breakdown
Support
Adoption
Chrome
Aug 2, 2011 v13.0.0
25%╱100%
100% of Chrome users are running a supported version.
Aug 2, 2011 – Latest
v13.0.0+
25%╱100%
Full Support
Chrome Android
Jun 27, 2012 v18.0.0
39%╱100%
100% of Chrome Android users are running a supported version.
Jun 27, 2012 – Latest
v18.0.0+
39%╱100%
Full Support
Deno
Sep 13, 2020 v1.4.0
Deno supports this feature.
Sep 13, 2020 – Latest
v1.4.0+
Full Support
Edge
Jul 28, 2015 v12.0.0
4%╱100%
100% of Edge users are running a supported version.
Jul 28, 2015 – Latest
v12.0.0+
4%╱100%
Full Support
Firefox
Nov 8, 2011 v8.0.0
3%╱99%
There are no users of Firefox running a supported version.
Nov 8, 2011 – Latest
v8.0.0+
3%╱99%
Full Support
Before Firefox 12, the close code CLOSE_NORMAL
was used when the channel was closed due to an unexpected error or unspecified error condition.
Before Firefox 8, the WebSocket
close event was sent to the listener as a simple event.
Firefox for Android
Nov 8, 2011 v8.0.0
Firefox for Android supports this feature.
Nov 8, 2011 – Latest
v8.0.0+
Full Support
Internet Explorer
Oct 26, 2012 v10.0.0
0%╱79%
There are no users of Internet Explorer running a supported version.
Oct 26, 2012 – Latest
v10.0.0+
0%╱79%
Full Support
Unknown v5.0.0
Quest Browser supports this feature.
Unknown
v5.0.0+
Full Support
Opera
Nov 20, 2012 v12.1.0
2%╱100%
100% of Opera users are running a supported version.
Nov 20, 2012 – Latest
v12.1.0+
2%╱100%
Full Support
Opera Android
Oct 9, 2012 v12.1.0
Opera Android supports this feature.
Oct 9, 2012 – Latest
v12.1.0+
Full Support
Safari
Jul 25, 2012 v6.0.0
3%╱100%
There are no users of Safari running a supported version.
Jul 25, 2012 – Latest
v6.0.0+
3%╱100%
Full Support
Safari on iOS
Sep 10, 2012 v6.0.0
17%╱100%
There are no users of Safari on iOS running a supported version.
Sep 10, 2012 – Latest
v6.0.0+
17%╱100%
Full Support
Samsung Internet
Apr 27, 2013 v1.0.0
3%╱100%
100% of Samsung Internet users are running a supported version.
Apr 27, 2013 – Latest
v1.0.0+
3%╱100%
Full Support
WebView Android
Dec 9, 2013 v4.4.0
WebView Android supports this feature.
Dec 9, 2013 – Latest
v4.4.0+
Full Support