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

Unified Diff: test/mjsunit/regress/regress-crbug-630559.js

Issue 2176613002: Native try-catch syntax parsing should not crash. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-630559.js
diff --git a/test/mjsunit/regress/regress-crbug-582703.js b/test/mjsunit/regress/regress-crbug-630559.js
similarity index 79%
copy from test/mjsunit/regress/regress-crbug-582703.js
copy to test/mjsunit/regress/regress-crbug-630559.js
index 792266f54cd9d124b2d2675100d3d1e8b82c4dd3..f9623ed879fcd584de33986bbf0300275450c8e5 100644
--- a/test/mjsunit/regress/regress-crbug-582703.js
+++ b/test/mjsunit/regress/regress-crbug-630559.js
@@ -4,5 +4,4 @@
// Flags: --allow-natives-syntax
-%FunctionGetScript({});
-%FunctionGetSourceCode({});
+assertThrows("try{}%");
« no previous file with comments | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698