QScriptEngine API should contain a newObject function, that return a default object of Object class. It should look like http://doc.trolltech.com/4.6/qscriptengine.html#newObject For now it is enough to have an argument less one, as a QScriptClass class hasn't been implemented yet.
Created attachment 56065 [details] Fix v1
Comment on attachment 56065 [details] Fix v1 Clearing flags on attachment: 56065 Committed r60583: <http://trac.webkit.org/changeset/60583>
All reviewed patches have been landed. Closing bug.