File tree 3 files changed +9
-4
lines changed
packages/messaging/src/api 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @firebase/performance ' : patch
3
+ ' @firebase/performance-compat ' : patch
4
+ ---
5
+
6
+ Performance could encounter runtime errors when initialized in certain environments
Original file line number Diff line number Diff line change 1
1
---
2
2
' @firebase/messaging ' : patch
3
- ' @firebase/performance ' : patch
4
3
' @firebase/analytics ' : patch
5
4
' @firebase/messaging-compat ' : patch
6
- ' @firebase/performance-compat ' : patch
7
5
' @firebase/analytics-compat ' : patch
8
6
---
9
7
10
- checking isSupported led to runtime failures in certain environments
8
+ checking isSupported led to runtime errors in certain environments
Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import {
19
+ areCookiesEnabled ,
19
20
isIndexedDBAvailable ,
20
21
validateIndexedDBOpenable
21
22
} from '@firebase/util' ;
@@ -34,7 +35,7 @@ export async function isWindowSupported(): Promise<boolean> {
34
35
typeof window !== 'undefined' &&
35
36
isIndexedDBAvailable ( ) &&
36
37
( await validateIndexedDBOpenable ( ) ) &&
37
- navigator . cookieEnabled &&
38
+ areCookiesEnabled ( ) &&
38
39
'serviceWorker' in navigator &&
39
40
'PushManager' in window &&
40
41
'Notification' in window &&
You can’t perform that action at this time.
0 commit comments