这是indexloc提供的服务,不要输入任何密码
Skip to content

Unhandled Rejection (SecurityError): IDBFactory.open() called in an invalid security context in Analytics #2393

@tomsun

Description

@tomsun

Application crashes when firebase.analytics(); is called from within an iframe in macOS Safari.

Regression of or otherwise related to #631 ?

import * as firebase from 'firebase/app';
import 'firebase/analytics';
const app = firebase.initializeApp({...);
const analytics = firebase.analytics();

  • Operating System version: macOS Mojave
  • Browser version: Safari 13.0.3
  • Firebase SDK version: firebase@7.5.0
  • Firebase Product: @firebase/analytics@0.2.7

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions