Open
Bug 1241543
Opened 10 years ago
Updated 3 years ago
Remove deprecated `Notification.requestPermission` callback
Categories
(Core :: DOM: Core & HTML, task, P3)
Core
DOM: Core & HTML
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox46 | --- | affected |
People
(Reporter: lina, Unassigned)
References
Details
(Keywords: dev-doc-needed, site-compat)
https://notifications.spec.whatwg.org/#dom-notification-permission deprecates the callback argument to `Notification.requestPermission` in favor of the promise return value.
When/if the spec removes the callback, we should do the same.
Comment 1•10 years ago
|
||
Both removal from the spec and from implementations depend on us and other browser vendors to know that the deprecated feature isn't used too often. So some telemetry will be needed here.
Updated•9 years ago
|
Keywords: dev-doc-needed,
site-compat
Comment 2•8 years ago
|
||
I don't think we should actually remove it, unless it would be a significant code complexity win. The use of "deprecated" is mostly meant as an indication to web developers that there's a better alternative.
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
Updated•6 years ago
|
Type: defect → task
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•