Remove some legacy firefox permissions handling

Repository details (talkie)
Project page
talkie
Project log category
(708 entries)
Repository
@joelpurra/talkie
Owner
@joelpurra
Contributors
Contributors on Github
Project status
⏲️ This project has had recent commits.
📂 This project is open.
🌠 This project is popular.
Repository activity period
🗓
Commits
751 commits
Stars
71 stars
Commit details (13bacf24)
Author
Authored at
Committer
Joel Purra
Committed at

Commit message

Remove some legacy firefox permissions handling

  • Firefox now supports promises for the Permissions API.
  • Previous callback, which are still in use, variants now throw an error.
  • The effect coult not be seen in Firefox, as reading from the clipboard is not enabled.
  • The broken callback workaround instead affected Talkie Premium on Google Chrome.
  • This commit removes some of the Firefox workarounds.

Fixes #15.

Raw text
Remove some legacy firefox permissions handling

- Firefox now supports promises for the Permissions API.
- Previous callback, which are still in use, variants now throw an error.
- The effect coult not be seen in Firefox, as reading from the clipboard is not enabled.
- The broken callback workaround instead affected Talkie Premium on Google Chrome.
- This commit removes some of the Firefox workarounds.

Fixes #15.

Changed files (1)

Path Additions Deletions
src/background/permissions-manager.js +16 -84

Commit categories (3)