Skip to content

This site has been updated in the background issue #1306

@akilmakda

Description

@akilmakda

[REQUIRED] Describe your environment

  • Operating System version: Ubuntu 16.04
  • Browser version: Google chrome 69
  • Firebase SDK version: 5.5.1
  • Firebase Product: messaging

[REQUIRED] Describe the problem

Two indexed table is created in the same domain. See Below screenshot;
1

2

In the same domain only one object store work.

Steps to reproduce:

Add scope in service worker. After data store in indexeddb change the scope and run the application again. The second object also creates.

Relevant Code:

e.g : navigator.serviceWorker.register('/firebase-messaging-sw.js' + this.ver, { scope: "/firebase" })
change scope
navigator.serviceWorker.register('/firebase-messaging-sw.js' + this.ver, { scope: "/firebase1" })

https://stackblitz.com/fork/firebase-issue-sandbox

// TODO(you): code here to reproduce the problem

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions