lxcypp / pydermonkey

Automatically exported from code.google.com/p/pydermonkey
0 stars 0 forks source link

Accessing array methods crashes #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Any array created by cx.new_array_object() isn't very usable. If the JavaScript 
code tries to use any of its methods like array.join("\n") or array.pop() 
Python crashes. Work-around: create a real JavaScript array by evaluating "var 
array = [];", get the variable and do with it whatever you want.

Original issue reported on code.google.com by wladi...@palant.de on 5 Oct 2010 at 12:29