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

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

Issue 865833002: Add missing BailoutId and FrameState to with statements. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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
Index: test/mjsunit/regress/regress-crbug-450642.js
diff --git a/test/mjsunit/regress/regress-444805.js b/test/mjsunit/regress/regress-crbug-450642.js
similarity index 68%
copy from test/mjsunit/regress/regress-444805.js
copy to test/mjsunit/regress/regress-crbug-450642.js
index 5a533acd5ebf2fc196373e2b0e2c4b9df0a29ab6..7f821e0ffc0cba83ca4544d9b61041e49d97d90e 100644
--- a/test/mjsunit/regress/regress-444805.js
+++ b/test/mjsunit/regress/regress-crbug-450642.js
@@ -2,7 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-try {
- load("test/mjsunit/regress/regress-444805.js-script");
-} catch (e) {
-}
+assertThrows(function() { with (undefined) {} }, TypeError);

Powered by Google App Engine
This is Rietveld 408576698