~neon/qt/qtjsbackend

  • Committer: The Qt Project
  • Author(s): Simon Hausmann
  • Date: 2013-09-11 16:48:08 UTC
  • Revision ID: git-v1:a48ae1d629f4c7939f3421db969f43db6bab8e11
Fix rare crash when calling SetExternalResource

This is a patch on top of the original patch that adds support for
external resources to v8::Object.

When the provided external resource pointer cannot be encoded in SMI, then we
need to allocate an object on the heap to hold it. That in turn may trigger a
garbage collection, which in turn may end up collecting the object itself.
Similarly to other methods dealing with the allocation of i::Foreign, the
insertion of a HandleScope is required.

Done-with: Lars
Task-Number: QTBUG-29127

Change-Id: I9a99998e2fbfcb8a4c1e31595344680123072c6b
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Filename Latest Rev Last Changed Committer Comment Size
..
bin 18 12 years ago Simon Hausmann Added helper script for easier V8 updates It won' Diff
config.tests 50 12 years ago Qt by Nokia Don't assume hardfloat passing convention. Add co Diff
src 1 12 years ago Simon Hausmann Created QtJSBackend module. Imported src/v8, tool Diff
tests 1 12 years ago Simon Hausmann Created QtJSBackend module. Imported src/v8, tool Diff
.gitattributes 126 11 years ago Qt by Nokia Update the git-archive export options The .gitatt 89 bytes Diff Download File
.gitignore 119 11 years ago Qt by Nokia Add the CMake directory created during unit testin 211 bytes Diff Download File
.qmake.conf 156 10 years ago The Qt Project Bump MODULE_VERSION to 5.1.2 Change-Id: I18d016b6 46 bytes Diff Download File
.tag 126 11 years ago Qt by Nokia Update the git-archive export options The .gitatt 12 bytes Diff Download File
LGPL_EXCEPTION.txt 145 11 years ago The Qt Project Add license files mandated by (L)GPL. Currently o 1.1 KB Diff Download File
LICENSE.GPL 145 11 years ago The Qt Project Add license files mandated by (L)GPL. Currently o 34.3 KB Diff Download File
LICENSE.LGPL 145 11 years ago The Qt Project Add license files mandated by (L)GPL. Currently o 26.1 KB Diff Download File
qtjsbackend.pro 118 11 years ago Qt by Nokia use centralized handling of QT_BUILD_PARTS Change 57 bytes Diff Download File
README 18 12 years ago Simon Hausmann Added helper script for easier V8 updates It won' 742 bytes Diff Download File
sync.profile 151 10 years ago The Qt Project sync.profile: Point dependencies to an empty strin 755 bytes Diff Download File