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

Side by Side Diff: test/mjsunit/es6/debug-step-destructuring-assignment.js

Issue 1776683003: Remove destructuring and default arguments runtime flags (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 4 years, 9 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Flags: --expose-debug-as debug --harmony-destructuring-assignment 5 // Flags: --expose-debug-as debug
6 // Flags: --harmony-destructuring-bind
7 6
8 var exception = null; 7 var exception = null;
9 var Debug = debug.Debug; 8 var Debug = debug.Debug;
10 var break_count = 0; 9 var break_count = 0;
11 10
12 function listener(event, exec_state, event_data, data) { 11 function listener(event, exec_state, event_data, data) {
13 if (event != Debug.DebugEvent.Break) return; 12 if (event != Debug.DebugEvent.Break) return;
14 try { 13 try {
15 var source = exec_state.frame(0).sourceLineText(); 14 var source = exec_state.frame(0).sourceLineText();
16 print(source); 15 print(source);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 assertEquals({a:1,b:2,c:3}, {a, b, c}); // B33 76 assertEquals({a:1,b:2,c:3}, {a, b, c}); // B33
78 } // B34 77 } // B34
79 78
80 function return1() { 79 function return1() {
81 return 1; // B26 80 return 1; // B26
82 } // B27 81 } // B27
83 82
84 f(); 83 f();
85 Debug.setListener(null); // B35 84 Debug.setListener(null); // B35
86 assertNull(exception); 85 assertNull(exception);
OLDNEW
« no previous file with comments | « test/mjsunit/es6/block-let-contextual-sloppy.js ('k') | test/mjsunit/es6/debug-step-destructuring-bind.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698