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

Side by Side Diff: test/mjsunit/es6/debug-stepin-microtasks.js

Issue 1257063003: Add a --harmony-object-observe runtime flag (on by default) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move some initialization back to the snapshot Created 5 years, 4 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
« no previous file with comments | « test/mjsunit/array-push7.js ('k') | test/mjsunit/es6/microtask-delivery.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 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 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: --harmony-object-observe
5 // Flags: --allow-natives-syntax --expose-debug-as debug 6 // Flags: --allow-natives-syntax --expose-debug-as debug
6 7
7 Debug = debug.Debug 8 Debug = debug.Debug
8 var exception = null; 9 var exception = null;
9 var break_count = 0; 10 var break_count = 0;
10 var expected_breaks = -1; 11 var expected_breaks = -1;
11 12
12 function listener(event, exec_state, event_data, data) { 13 function listener(event, exec_state, event_data, data) {
13 try { 14 try {
14 if (event == Debug.DebugEvent.Break) { 15 if (event == Debug.DebugEvent.Break) {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 if (expected_breaks !== break_count) { 93 if (expected_breaks !== break_count) {
93 %AbortJS("FAIL: expected <" + expected_breaks + "> breaks instead of <" + 94 %AbortJS("FAIL: expected <" + expected_breaks + "> breaks instead of <" +
94 break_count + ">"); 95 break_count + ">");
95 } 96 }
96 if (exception !== null) { 97 if (exception !== null) {
97 %AbortJS("FAIL: exception: " + exception); 98 %AbortJS("FAIL: exception: " + exception);
98 } 99 }
99 }); 100 });
100 dummy.foo = 1; 101 dummy.foo = 1;
101 } 102 }
OLDNEW
« no previous file with comments | « test/mjsunit/array-push7.js ('k') | test/mjsunit/es6/microtask-delivery.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698