Closed Bug 1591718 Opened 5 years ago Closed 4 years ago

Cannot enable Push Notifications on twitter.com

Categories

(Core :: DOM: Push Subscriptions, defect, P2)

x86_64
Windows 10
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr68 --- unaffected
firefox67 --- unaffected
firefox68 --- disabled
firefox69 --- disabled
firefox70 --- disabled
firefox71 --- disabled
firefox72 --- disabled
firefox73 --- fixed
firefox74 --- verified

People

(Reporter: alice0775, Assigned: johannh)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: nightly-community, regression, reproducible, Whiteboard: [fixed by bug 1606839])

Reproducible:
Nightly72.0a1(20191026094546)
Firefox71.0b4
This problem seems to appear on EARLY_BETA_OR_EARLIER build(early Beta and Nightly).

Steps to reproduce:

  1. login to twitter.com
  2. Click "Notifications" label in the left sidebar
  3. Click Gear icon in the top of middle pane
  4. Click "Push notofications" in Preferences pane
  5. Click [Turn on] button or toggle "Push notofications" widget

Actual results:
twitter said as follows.

Unsupported browser
It looks like your browser doesn’t support push notifications.

No allow notification-popup appears at AddressBar. (see https://support.mozilla.org/en-US/kb/push-notifications-firefox?as=u&utm_source=inproduct)

Expected results:
An allow notification-popup should appear at AddressBar. (see https://support.mozilla.org/en-US/kb/push-notifications-firefox?as=u&utm_source=inproduct)

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=4338bf79beb22e84559426cfd1421d6e6acda03f&tochange=6bad31e6ca426e6094d109ff3bf311f325829913

Regressed by: 6bad31e6ca426e6094d109ff3bf311f325829913 Johann Hofmann — Bug 1540088 - Require user interaction for push notification permission prompts in Nightly. r=Ehsan

How I can enable push notification?

Thanks for filing this! I was under the impression that this had worked before. They have user interaction when requesting but they seem to lose it at some point. So, this is definitely a case that should work under the new model, but that it doesn't seems like more of a bug on Twitter's side.

Peter, do you think you can reach out to Twitter and check if they can fix this on their side?

How I can enable push notification?

You will see a small icon wiggle on the left of the URL bar when you try to enable notifications on Twitter. Just click on it and accept the notification request. Then reload the page and things should work fine. Otherwise just use the permissions tab in Page Info.

Flags: needinfo?(stpeter)

(In reply to Johann Hofmann [:johannh] from comment #3)

How I can enable push notification?

You will see a small icon wiggle on the left of the URL bar when you try to enable notifications on Twitter. Just click on it and accept the notification request. Then reload the page and things should work fine. Otherwise just use the permissions tab in Page Info.

Thanks.
It works after set "Send Notification" to "allow" from the permissions tab in Page Info & reload.

Flags: needinfo?(stpeter) → needinfo?(astevenson)

I'll try contacting folks at twitter as well.

Is this broken only in nightly/early beta?

Flags: needinfo?(astevenson)

The priority flag is not set for this bug.
:edenchuang, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(echuang)

Set it as p2. According to Johann's comment, might need Twitter's support.
I will take some time to look deeply later.

Flags: needinfo?(echuang)
Priority: -- → P2

We are in RC week and this is a P2, setting 71 as fix-optional in case we have a dot release in December and a safe fix could be uplifted as a ride along.

Edgar, now that bug 1129227 is fixed and stuck, how much work would it be to use the same logic for the notification permission dialog? Johann and I expect that it would fix this issue as we'd no longer rely on not losing the user interaction bit across a series of callbacks.

Perhaps we should track implementing that separately, but would be good to at least have some kind of estimate depending on how severe we consider this issue to be.

Flags: needinfo?(echen)

(In reply to Anne (:annevk) from comment #10)

Edgar, now that bug 1129227 is fixed and stuck, how much work would it be to use the same logic for the notification permission dialog?

I expect that replacing the UserActivation::IsHandlingUserInput() call in ContentPermissionRequestBase with new API in the document should just work.

Flags: needinfo?(echen)
Depends on: 1606839

Seems like this bug is a bigger issue now with bug 1593644 enabling the Push permission prompts by default for Release 72?

Flags: needinfo?(jhofmann)

This will be fully fixed with bug 1606839 to the point where we might just dupe it...

Flags: needinfo?(jhofmann)

This should have been fixed by bug 1606839, but it would be nice to get independent verification on this.

Assignee: nobody → jhofmann
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 1606839]

Hi Alice, can you please confirm that this is working for you now? Thanks!

Flags: needinfo?(alice0775)

Yes, this is fixed. I cannot reproduce the issue on Nightly74.0a1(20200116120508) Windows10.

Status: RESOLVED → VERIFIED
Flags: needinfo?(alice0775)

This should be fixed in 73.0b7 as well.

I'm facing this same issue on firefox 74.0.1 (windows 10). Twitter is reporting that my browser does not support push notifications.

Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.