hyperspacedev / hyperspace

The new beautiful, fluffy client for Mastodon in React + TypeScript

Home Page:https://hyperspace.marquiskurt.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] "Notification" is not defined

bleonard252 opened this issue · comments

Describe the bug
Upon clicking Settings, the page blanks and the browser console reports ReferenceError: "Notification is not defined". Clicking the first link in the trace shows me transpiled code that indicates that it has something to do with push notifications (which is on, and my browser supports).

To Reproduce
Steps to reproduce the behavior:

  1. Sign in (Pleroma?)
  2. Click "Settings" in the drawer
  3. Open browser console
  4. See error

Expected behavior
The settings screen should show.

Screenshots
N/A (white page)

App Information (please complete the following information):

  • OS: Debian amd64
  • Browser: Firefox Beta
  • Version: 77

Additional context
It still occurs with privacy.resistFingerprinting off (which I thought would make it work). I don't know what's trying to get Notification (permission check/request?).

Notes from Riot conversation:

  • "Notification" in window returned false
  • Possible context: edge case where notifications that aren't supported are being treated as supported