Closed Bug 1689565 Opened 4 years ago Closed 2 years ago

Remove Notification.get()

Categories

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

defect

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: foolip, Assigned: gzyfqh)

References

(Blocks 2 open bugs)

Details

(Keywords: good-first-bug)

Attachments

(3 files, 2 obsolete files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36

Steps to reproduce:

Have a look at https://github.com/mozilla/gecko-dev/blob/06dbf167c94b89fb06f74a2d1b1c5d3ccabceb92/dom/webidl/Notification.webidl#L27

Actual results:

Gecko still has a Notification.get() static method.

Expected results:

This should be removed. It was removed from the spec way back in https://github.com/whatwg/notifications/commit/11f25cccb909adc7e8b5569f8e5e20c482234860.

Component: Untriaged → DOM: Push Notifications
Product: Firefox → Core
Severity: -- → S4
Priority: -- → P5

Can I help to fix this bug?

Yup, please do!

Refer to https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html if you are not familiar with the things yet. Submitting a patch via moz-phab will automatically assign this to you.

Remove Notification.get() in the code

Assignee: nobody → gzyfqh
Attachment #9312810 - Attachment description: WIP: Bug 1689565 - Notification.get() → WIP: Bug 1689565 - Remove Notification.get()
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9312810 - Attachment description: WIP: Bug 1689565 - Remove Notification.get() → Bug 1689565 - Remove Notification.get()

I have submitted a patch for this issue, please review

https://phabricator.services.mozilla.com/D167145

Attachment #9312810 - Attachment is obsolete: true
Attachment #9312810 - Attachment is obsolete: false
Attachment #9312810 - Attachment description: Bug 1689565 - Remove Notification.get() → WIP: Bug 1689565 - Remove Notification.get()

Remove Notification.get() in the code

Depends on D167145

Attachment #9312993 - Attachment is obsolete: true

Make sure you get everything in a single commit 😉

(Multiple commits are fine, but only when it's intended, not just some changes to the first commit)

Attachment #9312810 - Attachment is obsolete: true

Remove Notification.get() in the code

Due to issues with the previous commit, a new commit has now been initiated, please review

https://phabricator.services.mozilla.com/D167236

No longer blocks: 1781588
See Also: → 1781588
Attachment #9312996 - Attachment description: Bug 1689565 - Remove Notification.get() r=saschanaz → Bug 1689565 - Part 1: Remove Notification.get() r=saschanaz
Attachment #9314260 - Attachment description: Bug 1689565 - Part 2: Migrate removed tests r=#dom-worker-reviewers → Bug 1689565 - Part 3: Migrate removed tests r=#dom-worker-reviewers
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c51d687162d5 Part 1: Remove Notification.get() r=saschanaz https://hg.mozilla.org/integration/autoland/rev/66af1d60952f Part 2: Tweak marionette hack to allow `notifications` r=jgraham,webdriver-reviewers https://hg.mozilla.org/integration/autoland/rev/58172efe03db Part 3: Migrate removed tests r=dom-worker-reviewers,smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/38256 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: