Closed
Bug 1266821
Opened 7 years ago
Closed 7 years ago
Remove PushPermissionDescriptor from the Permissions API
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla49
People
(Reporter: lina, Assigned: lina)
References
Details
(Keywords: dev-doc-complete, site-compat, Whiteboard: btpp-active)
Attachments
(1 file)
6.11 KB,
patch
|
baku
:
review+
lizzard
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
We currently throw "NS_ERROR_NOT_IMPLEMENTED" for PushPermissionDescriptors with `userVisibleOnly: true`. This is incompatible with Chrome, which requires that option. Since we use a quota instead of userVisibleOnly, I think we should just remove PushPermissionDescriptor entirely, and treat it like any other permission request.
Attachment #8744430 -
Flags: review?(amarchesini)
Assignee | ||
Updated•7 years ago
|
Status: NEW → ASSIGNED
Whiteboard: btpp-active
Updated•7 years ago
|
Attachment #8744430 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 1•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d681274533f1
Comment 3•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d600bbea44ca
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Updated•7 years ago
|
Target Milestone: mozilla48 → mozilla49
Assignee | ||
Comment 4•7 years ago
|
||
Comment on attachment 8744430 [details] [diff] [review] noPushDescriptor.patch Approval Request Comment [Feature/regressing bug #]: Bug 1261405. [User impact if declined]: Potential web compat issue. Chrome's implementation of the Permissions API requires an extra field when requesting the push permission, but Firefox throws if that field is specified. [Describe test coverage new/current, TreeHerder]: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d681274533f1, https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=d600bbea44ca [Risks and why]: Low risk. The bulk of this patch deletes existing code, and the Permissions API is still experimental. [String/UUID change made/needed]: None.
Attachment #8744430 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•7 years ago
|
Keywords: site-compat
Comment on attachment 8744430 [details] [diff] [review] noPushDescriptor.patch Fix web compatibility for push notification API.
Attachment #8744430 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Tracking to make sure this lands for 48.
Comment 7•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/f5c86d60a789
Comment 8•7 years ago
|
||
Updated the site compatibility doc: https://www.fxsitecompat.com/en-CA/docs/2016/permissions-query-s-uservisible-option-has-been-renamed-to-uservisibleonly/
Keywords: dev-doc-needed
Comment 9•7 years ago
|
||
I've updated the documentation on MDN to cover this: The revoke and query pages: https://developer.mozilla.org/en-US/docs/Web/API/Permissions/revoke https://developer.mozilla.org/en-US/docs/Web/API/Permissions/query The Fx 49 release notes: https://developer.mozilla.org/en-US/Firefox/Releases/49#Service_Workers_and_related Let me know if they're ok. Thanks!
Keywords: dev-doc-needed → dev-doc-complete
Updated•4 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•