Opened 9 years ago

Closed 9 years ago

#11203 closed defect (fixed)

attr deprecation code throws JavaScript error in IE8

Reported by: haysmark Owned by: bill
Priority: high Milestone: 1.5
Component: Dijit Version: 1.5.0b2
Keywords: Cc:
Blocked By: Blocking:

Description

I found this bug in a test that still uses attr:

http://archive.dojotoolkit.org/nightly/checkout/dojox/grid/tests/robot/runTests.html

About 8% into the first test, you get a JavaScript? error. Inspection in the IE8 debugger points to this assignment:

caller = arguments.callee.caller.toString()

For whatever reason, caller is undefined in this case, so the test breaks.

Change History (2)

comment:1 Changed 9 years ago by bill

Milestone: tbd1.5
Status: newassigned

Hmm, that is weird, thanks I'll fix the error in attr(), although I'm seeing plenty of other failures in the grid test.

comment:2 Changed 9 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [22237]) Fix problem in attr() deprecation warning when arguments.callee.caller is null. Fixes #11203, refs #10839 !strict.

Note: See TracTickets for help on using tickets.