Open Bug 528468 Opened 16 years ago Updated 3 years ago

Timeouts firing in between script blocks if a large script block exists

Categories

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

defect

Tracking

()

UNCONFIRMED

People

(Reporter: bryanam, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 If there is a large enough script block on a page, a call to setTimeout will fire in between script blocks, before all other inline scripts on the page have completed See attached timeout.html for example, refresh a few times, sometimes it says false (expected), sometimes it says true (incorrect) Reproducible: Sometimes
Attachment #412196 - Attachment description: Example of timeout firing early with large script block on page, expected resault is alert(false), actual is sometimes alert(true) → timeout.html, example of timeout firing early with large script block on page, expected resault is alert(false), actual is sometimes alert(true)
Component: General → DOM: Mozilla Extensions
Product: Firefox → Core
Version: unspecified → Trunk
QA Contact: general → general
Component: DOM: Mozilla Extensions → DOM
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: