Closed Bug 1494087 Opened 6 years ago Closed 6 years ago

The "watch" button for a push silently fails if browser notifications have been globally disabled

Categories

(Tree Management :: Treeherder: Frontend, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: KWierso, Assigned: KWierso)

References

Details

Attachments

(1 file)

On https://treeherder.mozilla.org/#/jobs?repo=try&revision=7011899d08b7054340bb2791968f180bc1301cbf&group_state=expanded if I click the "watch" button in the push header, nothing seems to happen. If I look in the web console, I see the following error:
TypeError: this.thNotify is undefined Push.jsx:124:8

Line 124 is: this.thNotify.send('Notification permission denied', 'danger');

I have notification requests disabled globally in Firefox's settings. If I stop blocking them, the notification request rightfully goes through, since line 124 is never hit.

Is this something from the switch to React?
Assignee: nobody → wkocher
Blocks: 1123814
Status: NEW → ASSIGNED
Priority: -- → P1
Attachment #9012486 - Flags: review?(emorley) → review+
Many thanks :-)
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: