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

Side by Side Diff: test/mjsunit/regress/regress-410030.js

Issue 812493002: Version 3.30.33.9 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@3.30
Patch Set: Created 6 years 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
« no previous file with comments | « src/version.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 try {
6 throw 0;
7 } catch(e) {
8 assertSame(3, eval("delete x; const x=3; x"));
9 }
10
11
12 try {
13 throw 0;
14 } catch(e) {
15 assertSame(3, (1,eval)("delete x1; const x1=3; x1"));
16 }
17
18
19 try {
20 throw 0;
21 } catch(e) {
22 with({}) {
23 assertSame(3, eval("delete x2; const x2=3; x2"));
24 }
25 }
26
27
28 (function f() {
29 try {
30 throw 0;
31 } catch(e) {
32 assertSame(3, eval("delete x; const x=3; x"));
33 }
34 }());
35
36
37 (function f() {
38 try {
39 throw 0;
40 } catch(e) {
41 assertSame(3, (1,eval)("delete x4; const x4=3; x4"));
42 }
43 }());
OLDNEW
« no previous file with comments | « src/version.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698