Fix this object in constructor callbacks through the v8 compatibility layer
authorSimon Hausmann <simon.hausmann@digia.com>
Wed, 12 Jun 2013 08:18:21 +0000 (10:18 +0200)
committerLars Knoll <lars.knoll@digia.com>
Wed, 12 Jun 2013 08:19:10 +0000 (10:19 +0200)
commit760eaf106c8bda7a7797b32cda854d079fde58d5
treebae243d15d5402dbcbf93cb59fa552376dcceae6
parent6589ea836177a7bfa20cc4f8c9afef14c887590a
Fix this object in constructor callbacks through the v8 compatibility layer

Make sure that the thisObject is set, so that the XHR constructor can
set an external resource correctly.

Change-Id: Id217247cafcee42806dd75b5f461df87c296b81b
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v4/qv4v8.cpp