Closed Bug 518406 Opened 15 years ago Closed 13 years ago

Worker setTimeout should follow spec and clamp the timeout to a minimum value

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: sicking, Unassigned)

Details

The spec for setTimeout requires that setTimeout(0, ...) is sometimes treated as setTimeout(4, ...). It's defined in detail here:

Spec:
http://www.whatwg.org/specs/web-apps/current-work/?slow-browser#dom-windowtimers-settimeout

We don't fully do this correctly on the main thread, but bug 512645 is improving things.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.