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

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

Issue 1120573002: JSON serializer should fail gracefully for special value wrappers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test case Created 5 years, 8 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/json-stringifier.h ('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-471702.js
diff --git a/test/mjsunit/regress/regress-450895.js b/test/mjsunit/regress/regress-crbug-471702.js
similarity index 73%
copy from test/mjsunit/regress/regress-450895.js
copy to test/mjsunit/regress/regress-crbug-471702.js
index 48aa00d956c6f84fdcfe2e02cfc286c0f07180ba..dcd9f9bfe4faf0db0b66f9a84d36cbbaa172199c 100644
--- a/test/mjsunit/regress/regress-450895.js
+++ b/test/mjsunit/regress/regress-crbug-471702.js
@@ -4,6 +4,4 @@
// Flags: --allow-natives-syntax
-var v = new Array();
-Object.freeze(v);
-v = v.concat(0.5);
+assertThrows(function() { JSON.stringify(%DebugGetLoadedScripts()); });
« no previous file with comments | « src/json-stringifier.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698