Closed Bug 1219272 Opened 10 years ago Closed 10 years ago

Push notifications service worker registration is not performed correctly

Categories

(Core :: DOM: Push Subscriptions, defect)

44 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox44 --- affected

People

(Reporter: poiegas, Unassigned)

References

Details

Attachments

(1 file)

Reproducible with: 44.0a1 (2015-10-27) Affected platform: Mac OS X (10.6 to 10.11) Windows (XP to 10) Ubuntu (12 to 14) Steps to reproduce: 1. Navigate to "https://pdehaan.github.io/push-notification-test/" page. 2. Click on "register Service Worker" button. 3. After the service worker is registered to "scope: https://pdehaan.github.io/push-notification-test/", click the "Check Service Worker" button. 4. Observe the info provided about registration. Expected results: The service worker registration is checked and status displayed is "active". Actual results: The service worker registration is checked and status displayed is "undefined" Notes: - The service worker appears in "about:serviceworkers" page, but it can't be unregistered from Push API "Unregister Service Worker" button. Unregistration can be performed only from "about:serviceworkers" page. - This issue also blocks the testing of the message sending functionality to the service worker. "Registration failed: TypeError: registration is undefined" message is displayed.
peter's test could be out of date. The check status could return undefined based on timing. For unregister it should work, try this: https://people.mozilla.org/~ewong2/push-notification-test/
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: