Closed Bug 531542 Opened 15 years ago Closed 15 years ago

"ASSERTION: DOM_MIN_TIMEOUT_VALUE lies" with negative setTimeout

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a1

People

(Reporter: jruderman, Assigned: peterv)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file testcase (deleted) —
###!!! ASSERTION: DOM_MIN_TIMEOUT_VALUE lies: 'interval >= 0', file /Users/jruderman/central/dom/base/nsGlobalWindow.cpp, line 7741 Looks like a regression from bug 512645. In addition, the setTimeout'd function never gets called. So if any web pages use negative timeouts, they'll break. I could imagine web pages using negative timeouts as a result of arithmetic on the "delay" callback argument.
Assignee: nobody → peterv
Status: NEW → ASSIGNED
Attached patch v1 (deleted) — Splinter Review
Attachment #415139 - Flags: review?(jst)
Attachment #415139 - Flags: review?(jst) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: