Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Side by Side Diff: test/cctest/test-api.cc

Issue 11024005: Revert merges of r12531 and r12562 from 3.12 branch, going back to 3.12.19.12 (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.12
Patch Set: fixed version.cc Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | test/mjsunit/regress/regress-crbug-150729.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 17164 matching lines...) Expand 10 before | Expand all | Expand 10 after
17175 v8::HandleScope scope; 17175 v8::HandleScope scope;
17176 LocalContext context; 17176 LocalContext context;
17177 17177
17178 // Compile a try-finally clause where the finally block causes a GC 17178 // Compile a try-finally clause where the finally block causes a GC
17179 // while there still is a message pending for external reporting. 17179 // while there still is a message pending for external reporting.
17180 TryCatch try_catch; 17180 TryCatch try_catch;
17181 try_catch.SetVerbose(true); 17181 try_catch.SetVerbose(true);
17182 CompileRun("try { throw new Error(); } finally { gc(); }"); 17182 CompileRun("try { throw new Error(); } finally { gc(); }");
17183 CHECK(try_catch.HasCaught()); 17183 CHECK(try_catch.HasCaught());
17184 } 17184 }
17185
17186
17187 THREADED_TEST(Regress149912) {
17188 v8::HandleScope scope;
17189 LocalContext context;
17190 Handle<FunctionTemplate> templ = FunctionTemplate::New();
17191 AddInterceptor(templ, EmptyInterceptorGetter, EmptyInterceptorSetter);
17192 context->Global()->Set(v8_str("Bug"), templ->GetFunction());
17193 CompileRun("Number.prototype.__proto__ = new Bug; var x = 0; x.foo();");
17194 }
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | test/mjsunit/regress/regress-crbug-150729.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698