Opened 7 years ago

Closed 6 years ago

#16074 closed defect (fixed)

Internet Explorer (all versions) failing with Undefined object

Reported by: HQJaTu Owned by: Rawld Gill
Priority: undecided Milestone: 1.9
Component: Loader Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:

Description

This is not easy to reproduce, but...

IE JScript engine fails to evaluate arrays correctly. I have not yet been able to reduce a simple proof, but the problem manifests itself on Dojo require()-calls.

There are 3 key points, where this problem causes JavaScript? execution to stop. Luckily, the problem can be solved with not using array.length -property.

Attachments (1)

dojo_IE_incorrect_length.patch (949 bytes) - added by HQJaTu 7 years ago.
Internet Explorer array.length fix

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by HQJaTu

Internet Explorer array.length fix

comment:1 Changed 7 years ago by HQJaTu

This issue still exists in 1.8.1

comment:2 Changed 6 years ago by Rawld Gill

Milestone: tbd1.9
Status: newassigned

comment:3 Changed 6 years ago by Rawld Gill

I would really like to see a reproducible and reduced case proving this is an issue. So far this single report from HQJaTu is the only time I've heard of the issue.

That said, the proposed patch is trivial, harmless, and results in slightly more compact code. Therefore, I'm incorporating.

comment:4 Changed 6 years ago by Rawld Gill

Resolution: fixed
Status: assignedclosed

In [30925]:

improve expressive efficiency of a few loops; perhaps fix strange IE problem with array.length; fixes #16074; !strict

Note: See TracTickets for help on using tickets.