Skip to content

Commit c1b2815

Browse files
committed
Fix typo in error messages with word "browser"
1 parent 7d655a8 commit c1b2815

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages-exp/performance-exp/src/services/api_service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class Api {
125125
}
126126

127127
if (!isIndexedDBAvailable()) {
128-
consoleLogger.info('IndexedDB is not supported by current browswer');
128+
consoleLogger.info('IndexedDB is not supported by current browser');
129129
return false;
130130
}
131131
return true;

packages/analytics/src/errors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const ERRORS: ErrorMap<AnalyticsError> = {
4343
[AnalyticsError.INTEROP_COMPONENT_REG_FAILED]:
4444
'Firebase Analytics Interop Component failed to instantiate: {$reason}',
4545
[AnalyticsError.INDEXED_DB_UNSUPPORTED]:
46-
'IndexedDB is not supported by current browswer',
46+
'IndexedDB is not supported by current browser',
4747
[AnalyticsError.INVALID_INDEXED_DB_CONTEXT]:
4848
"Environment doesn't support IndexedDB: {$errorInfo}. " +
4949
'Wrap initialization of analytics in analytics.isSupported() ' +
@@ -64,7 +64,7 @@ const ERRORS: ErrorMap<AnalyticsError> = {
6464
'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field to' +
6565
'contain a valid app ID.',
6666
[AnalyticsError.INDEXED_DB_UNSUPPORTED]:
67-
'IndexedDB is not supported by current browswer',
67+
'IndexedDB is not supported by current browser',
6868
[AnalyticsError.INVALID_INDEXED_DB_CONTEXT]:
6969
"Environment doesn't support IndexedDB: {$errorInfo}. " +
7070
'Wrap initialization of analytics in analytics.isSupported() ' +

packages/performance/src/services/api_service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export class Api {
126126
}
127127

128128
if (!isIndexedDBAvailable()) {
129-
consoleLogger.info('IndexedDB is not supported by current browswer');
129+
consoleLogger.info('IndexedDB is not supported by current browser');
130130
return false;
131131
}
132132
return true;

0 commit comments

Comments
 (0)