Closed Bug 1224738 Opened 9 years ago Closed 9 years ago

Notification Settings does not work in MAC

Categories

(Core :: DOM: Push Subscriptions, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla45
Tracking Status
firefox43 --- unaffected
firefox44 --- fixed
firefox45 --- fixed

People

(Reporter: Abe_LV, Assigned: lina)

References

Details

Attachments

(1 file)

User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0 
Nightly 45.0a1   Build ID:20151113030238


1. Access https://pdehaan.github.io/push-notification-test/
2. Click the lock icon and set the Permission option to Always Ask
3. Click the pop Notification button
4. Verify the door hanger displays
5. Set the option to Always Receive Notifications
6. Verify the pop-up dialog for the notification is displayed
7. Click the Settings icon on the pop-up
8. Select the option Notification Settings
9. Verify the current window opens a new tab for Options (about:preferences#content) 

Actual Result:
Nothing happens

Expected Result:

New tab should display options (about:preferences#content)
Depends on: 1220337
Bug 1224738 - Fix alternate action index getter name on OS X. r?MattN
Attachment #8688077 - Flags: review?(MattN+bmo)
Argh, I introduced this regression in bug 1220337. Sorry!
Assignee: nobody → kcambridge
Status: NEW → ASSIGNED
Comment on attachment 8688077 [details]
MozReview Request: Bug 1224738 - Fix alternate action index getter name on OS X. r?MattN

https://reviewboard.mozilla.org/r/25285/#review22767
Attachment #8688077 - Flags: review?(MattN+bmo) → review+
https://hg.mozilla.org/integration/fx-team/rev/996fabe1edaa17ae416baf84089baa2c50076707
Bug 1224738 - Fix alternate action index getter name on OS X. r=MattN
https://hg.mozilla.org/mozilla-central/rev/996fabe1edaa
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Comment on attachment 8688077 [details]
MozReview Request: Bug 1224738 - Fix alternate action index getter name on OS X. r?MattN

Approval Request Comment
[Feature/regressing bug #]: Bug 1220337.
[User impact if declined]: Bug 1220337 broke the "disable notifications" and "notification settings" actions on OS X.
[Describe test coverage new/current, TreeHerder]: Manually tested using the steps to reproduce on OS X 10.8, 10.9, and 10.10, with e10s disabled and enabled.
[Risks and why]: Clicking on the notification actions in OS X 10.9 and later currently does nothing on Aurora. This restores the broken functionality.
[String/UUID change made/needed]: None.
Attachment #8688077 - Flags: approval-mozilla-aurora?
Abi, could you please verify that this issue is fixed as expected in the latest Nightly build? Thanks!
Flags: needinfo?(amasresha)
Comment on attachment 8688077 [details]
MozReview Request: Bug 1224738 - Fix alternate action index getter name on OS X. r?MattN

Fixes a recent regression, we need to take it. Aurora44+
Attachment #8688077 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Kit, is it really hard to add automated tests for this? It would be much easier for us to catch regressions like this if we had some automated tests running regularly. What do you think?
Flags: needinfo?(kcambridge)
(In reply to Ritu Kothari (:ritu) from comment #9)
> Kit, is it really hard to add automated tests for this?

I'm not sure how much of this we can automate. :MattN and I found a way to control notifications with AppleScript (http://macosxautomation.com/mavericks/notifications/01A.html), but that requires changing Accessibility prefs on the test machine. It's definitely hard, but it does look possible.

> It would be much easier for us to catch regressions like this if we had some
> automated tests running regularly.

I agree. :-)
Flags: needinfo?(kcambridge)
User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0 
Nightly 45.0a1 Build ID:20151124030553

The issue is resolved. It is working fine.
Flags: needinfo?(amasresha)
It is verified and the issue is resolved.
Changing the status from Resolved fixed to Verified: Fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: