Closed Bug 1065109 Opened 10 years ago Closed 10 years ago

Remove the MOZ_ASSERT(IsControllingDocuments()) in ServiceWorkerManager

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: baku, Assigned: baku)

Details

Attachments

(1 file)

Attached patch manager.patchSplinter Review
The reason why we are removing this is because any API that leaks the document would make the ServiceWorkerRegistrationInfo crash.
That assert is not related to ServiceWorker API and it's better to replace the assert with a warning.
Attachment #8486748 - Flags: review?(nsm.nikhil)
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/f243b7ed0bec
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: