Opened 10 years ago

Closed 10 years ago

#15006 closed defect (fixed)

New StatefulModel cause Javascript RangeError

Reported by: remy314 Owned by: Ed Chatelain
Priority: undecided Milestone: 1.8
Component: DojoX MVC Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:

Description

I combined dojo with prototype in my code and found that it will throw a "RangeError?: Maximum call stack size exceeded" error if I use array as the parameter to construct the StatefulModel? object. It seems prototype extends the original array class, you can refer to this link:http://www.prototypejs.org/api/array

Attachments (2)

stack.html (716 bytes) - added by remy314 10 years ago.
A simple testcase
prototype.js (48.9 KB) - added by remy314 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by remy314

Attachment: stack.html added

A simple testcase

Changed 10 years ago by remy314

Attachment: prototype.js added

comment:1 Changed 10 years ago by cjolif

Milestone: tbd1.8
Resolution: fixed
Status: newclosed

This example is working fine in 1.8. That said as Prototype is augmenting native JavaScript? object prototypes other problems might happen.

Version 0, edited 10 years ago by cjolif (next)
Note: See TracTickets for help on using tickets.