v8/include
yurys@chromium.org cec0745aa2 Introduce callback for resolving global object name while taking heap snapshot
Heap profiler currently gets "document" of global objects while taking snapshot (to later retrieve its "URL"). This is unsafe as there may be no current v8 context when the property is requested while corresponding property accessor may make some assumptions about the context stack during its invokation. Several crashes were reported due to this problem:
https://bugs.webkit.org/show_bug.cgi?id=103076
https://crbug.com/162121
https://crbug.com/132727

This patch adds a callback for resolving global object names and avoid the crashes.
Review URL: https://codereview.chromium.org/11415203

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13137 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-12-04 17:17:55 +00:00
..
v8-debug.h Enable/disable LiveEdit using the (C++) debug API. 2012-09-10 09:24:17 +00:00
v8-preparser.h Fix building with GCC 3.x 2012-07-26 09:18:09 +00:00
v8-profiler.h Introduce callback for resolving global object name while taking heap snapshot 2012-12-04 17:17:55 +00:00
v8-testing.h Fix building with GCC 3.x 2012-07-26 09:18:09 +00:00
v8.h Force inlining for hot interface functions. 2012-12-04 13:54:22 +00:00
v8stdint.h Include what you use in accessors.{h,cc}. 2012-01-25 00:16:07 +00:00