Closed Bug 1892705 Opened 1 year ago Closed 1 year ago

swr.getNotifications()[0].icon does not give the resolved URL

Categories

(Core :: DOM: Notifications, defect)

defect

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Summary: swr.getNotifications() does not give the resolved URL → swr.getNotifications()[0].icon does not give the resolved URL
Assignee: nobody → krosylight
Severity: -- → S3
Attachment #9397845 - Attachment description: WIP: Bug 1892705 → WIP: Bug 1892705 - Persist fully resolved icon URL r=asuth,hsingh
Attachment #9397845 - Attachment description: WIP: Bug 1892705 - Persist fully resolved icon URL r=asuth,hsingh → WIP: Bug 1892705 - Part 1: Persist fully resolved icon URL r=asuth,hsingh

Removing testGet() as that's now covered in WPT in D209008 and D208132, and adjusted dedicated worker tests as WPT doesn't cover non-service workers yet.

(The tests should ideally become .any.js tests but we have no testdriver support in workers 😞. I wonder we can somehow work it around by having something like // META: permission=notification;granted.)

Attachment #9402212 - Attachment is obsolete: true
Attachment #9397845 - Attachment description: WIP: Bug 1892705 - Part 1: Persist fully resolved icon URL r=asuth,hsingh → Bug 1892705 - Persist fully resolved icon URL r=asuth,hsingh
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46668 for changes under testing/web-platform/tests

Backed out for causing multiple failures.



  • Push with failures - wpt failures
  • Failure Log
  • Failure line: PROCESS-CRASH | MOZ_ASSERT(NS_IsMainThread()) (Wrong thread!) [@ mozilla::AssertIsOnMainThread] | /notifications/getnotifications-across-processes.https.window.html

Flags: needinfo?(krosylight)
Upstream PR was closed without merging

Oops!

Flags: needinfo?(krosylight)
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b98e368f9ae3 Persist fully resolved icon URL r=asuth,hsingh
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 129 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

Created:
Updated:
Size: