Closed Bug 510061 Opened 15 years ago Closed 15 years ago

Workers: Don't allow setInterval to flood the worker queue

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bent.mozilla, Assigned: bent.mozilla)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Right now we use real intervals which can build up if the worker or thread service is busy. This patch changes the behavior to be like setInterval on the window where you only get the next call scheduled after the previous has run.
Attachment #394123 - Flags: superreview?(jst)
Attachment #394123 - Flags: review?(jst)
Attachment #394123 - Flags: superreview?(jst)
Attachment #394123 - Flags: superreview+
Attachment #394123 - Flags: review?(jst)
Attachment #394123 - Flags: review+
Comment on attachment 394123 [details] [diff] [review]
Patch

r+sr=jst
Pushed changeset cc7fdf6f6f4a to mozilla-central.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
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: