From: svenpanne@chromium.org Date: Fri, 7 Feb 2014 12:17:45 +0000 (+0000) Subject: Make LeakSanitizer happy, part 3. X-Git-Tag: upstream/4.7.83~10818 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f8105af3c1808e7ddad43098656c69f8c67c56e;p=platform%2Fupstream%2Fv8.git Make LeakSanitizer happy, part 3. Fixed a few more cctests and removed some which were broken for ages and/or tested nothing useful anymore. Note that cctests are now fully LeakSanitized (at least on x64)! R=dcarney@chromium.org Review URL: https://codereview.chromium.org/157463002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19195 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc index fee0402..447cd26 100644 --- a/test/cctest/test-api.cc +++ b/test/cctest/test-api.cc @@ -7046,28 +7046,6 @@ TEST(ErrorReporting) { } -static const char* js_code_causing_huge_string_flattening = - "var str = 'X';" - "for (var i = 0; i < 30; i++) {" - " str = str + str;" - "}" - "str.match(/X/);"; - - -TEST(RegexpOutOfMemory) { - // Execute a script that causes out of memory when flattening a string. - v8::HandleScope scope(CcTest::isolate()); - v8::V8::SetFatalErrorHandler(OOMCallback); - LocalContext context; - Local