Some algorithms in the QScriptValue and in the QScriptEngine (like QSV::isError() method) are not prepared for Global Object changes. It would be nice to keep a reference to some of global object's properties in QScriptEnginePrivate, for future use.
Created attachment 61502 [details] Fix v1
Created attachment 61514 [details] Fix v1.01 Rebased against trunk
Comment on attachment 61514 [details] Fix v1.01 Nice that you are concentrating all method that will need C api in the future. r=me
Comment on attachment 61514 [details] Fix v1.01 Clearing flags on attachment: 61514 Committed r63318: <http://trac.webkit.org/changeset/63318>
All reviewed patches have been landed. Closing bug.