Closed Bug 1183158 Opened 9 years ago Closed 9 years ago

Remove the rest of EnumerateEntries calls from service worker code

Categories

(Core :: DOM: Service Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(5 files)

      No description provided.
Attachment #8632902 - Flags: review?(amarchesini)
Attachment #8632903 - Flags: review?(amarchesini)
Attachment #8632904 - Flags: review?(amarchesini)
Attachment #8632905 - Flags: review?(amarchesini)
Attachment #8632906 - Flags: review?(amarchesini)
Attachment #8632902 - Flags: review?(amarchesini) → review+
Attachment #8632903 - Flags: review?(amarchesini) → review+
Attachment #8632904 - Flags: review?(amarchesini) → review+
Attachment #8632905 - Flags: review?(amarchesini) → review+
Attachment #8632906 - Flags: review?(amarchesini) → review+
Comment on attachment 8632902 [details] [diff] [review]
Part 1: Get rid of RegistrationEnumerator

Review of attachment 8632902 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/workers/ServiceWorkerManagerService.cpp
@@ +296,1 @@
>  #endif

Nit: no need for #ifdef DEBUG around a MOZ_ASSERT.
> Nit: no need for #ifdef DEBUG around a MOZ_ASSERT.

And ditto for the other four patches.

This bug really is a nice example of how much nicer iteration is than enumeration.
No longer blocks: 1182976
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: