Go to file
loislo@chromium.org b9583b5f98 String::NewExternal should not crash the renderer.
The blink may pass a very long string to v8
for making a handle to it. v8 has max string length
limit and creates exception. But NewExternal code does not
check that the handle is null and crashes the renderer.

With the fix the js code receives the exception.

BUG=414615
LOG=N
R=yangguo@chromium.org, yurys@chromium.org

Review URL: https://codereview.chromium.org/603393004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24250 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-26 11:14:09 +00:00
benchmarks Revert "Refactoring: Make gtest testsuite the default." 2014-09-02 09:17:26 +00:00
build Enable FDO for v8 in android build. 2014-09-25 10:19:09 +00:00
include Remove a couple of deprecated APIs that moved to Isolate 2014-09-19 11:27:54 +00:00
samples Reland 24052 - Require V8 to be explicitly initialized before an Isolate is created 2014-09-19 08:01:35 +00:00
src String::NewExternal should not crash the renderer. 2014-09-26 11:14:09 +00:00
test String::NewExternal should not crash the renderer. 2014-09-26 11:14:09 +00:00
testing Move test for reduction of Math.imul to unittest. 2014-09-23 11:26:49 +00:00
third_party/fdlibm Port fdlibm implementation for Math.cosh. 2014-09-01 09:36:00 +00:00
tools Whitespace change for testing the new git workflow. 2014-09-26 10:21:16 +00:00
.clang-format Change clang-format config to allow for two empty lines between functions 2013-12-03 10:39:21 +00:00
.DEPS.git Add android tools to v8's deps. 2014-08-28 11:09:46 +00:00
.gitignore Ignore generated JSON files for TurboFan graphs. 2014-09-25 13:30:08 +00:00
AUTHORS fix and update debug-debugger.js 2014-08-27 09:51:51 +00:00
BUILD.gn Move i18n-related runtime functions into a separate file. 2014-09-25 07:16:15 +00:00
ChangeLog Sync change log file with trunk. 2014-05-19 15:29:29 +00:00
codereview.settings Add PROJECT to v8 2014-06-23 15:33:19 +00:00
DEPS Add android tools to v8's deps. 2014-08-28 11:09:46 +00:00
LICENSE Update LICENSE date. 2014-02-18 10:50:22 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Fix Makefile regeneration for compiler-unittests. 2014-09-23 11:44:31 +00:00
Makefile.android Update toolchain for Android mipsel, ia32, x87. 2014-08-19 11:20:42 +00:00
Makefile.nacl Set host_arch to ia32 on machines with a 32bit userland but a 64bit kernel. 2014-06-24 07:12:48 +00:00
OWNERS Add vogelheim@ to v8 OWNERS 2014-07-08 13:26:48 +00:00
PRESUBMIT.py Add a PRESUBMIT check that production code does not call test code 2014-09-23 08:14:06 +00:00
WATCHLISTS Add myself to a watchlist for the public API. 2013-10-10 11:37:48 +00:00