Closed
Bug 1092832
Opened 10 years ago
Closed 9 years ago
crash when calling unregister() within a succeeded promise while registering a ServiceWorker.
Categories
(Core :: DOM: Workers, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1113957
People
(Reporter: jefry.reyes, Unassigned)
References
Details
Crash report: bp-de65db0a-a772-48fe-a7b0-91bce2141102 =============================================== This crash occurs when unregister() is called within a succeded promise while registering a serviceWorker. For example: >navigator.serviceWorker.register('sw.js', { >scope: './' >}).then(function(reg) { >// registration worked >console.log('Registration succeeded.'); >reg.unregister(); >}).catch(function(error) { >// registration failed >console.log('Registration failed with ' + error); >});
Have you tried the same on maple?
Flags: needinfo?(jefry.reyes)
Reporter | ||
Comment 2•10 years ago
|
||
I just tried it on maple and the crash does not occur. It works on maple.
Flags: needinfo?(jefry.reyes)
Blocks: ServiceWorkers-v1
Depends on: 1113957
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•