The QScriptValue should have an API to set/get prototype of the value. It should look like this: http://doc.trolltech.com/4.6/qscriptvalue.html#setPrototype http://doc.trolltech.com/4.6/qscriptvalue.html#prototype
Created attachment 59360 [details] Fix v1 The accessors are needed to test other QtScript functionality (like a newArray). So I decided to implement them in a suboptimal way. We can fix it as result of discussion on bug 40060 would be known.
Comment on attachment 59360 [details] Fix v1 Clearing flags on attachment: 59360 Committed r61860: <http://trac.webkit.org/changeset/61860>
All reviewed patches have been landed. Closing bug.
http://trac.webkit.org/changeset/61860 might have broken GTK Linux 64-bit Debug