I have run into a problem when attempting to populate a list by calling list.parse() from an iframe. The arrays that are passed in fail the “instanceof Array” check and the resulting list data is incorrect. Would it be possible for these checks to be replaced with the following:
Object.prototype.toString.call(obj) === '[object Array]'
so that they can be called across frames?
Please refer to http://perfectionkills.com/instanceof-considered-harmful-or-how-to-write-a-robust-isarray/ for more details.
Thanks.