| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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 // MODULE | 5 // MODULE |
| 6 // Flags: --expose-debug-as debug --allow-natives-syntax | 6 // Flags: --expose-debug-as debug --allow-natives-syntax --noanalyze-environment
-liveness |
| 7 | 7 |
| 8 // These tests are copied from mjsunit/debug-scopes.js and adapted for modules. | 8 // These tests are copied from mjsunit/debug-scopes.js and adapted for modules. |
| 9 | 9 |
| 10 | 10 |
| 11 var Debug = debug.Debug; | 11 var Debug = debug.Debug; |
| 12 | 12 |
| 13 var test_name; | 13 var test_name; |
| 14 var listener_delegate; | 14 var listener_delegate; |
| 15 var listener_called; | 15 var listener_called; |
| 16 var exception; | 16 var exception; |
| (...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 870 CheckScopeChainPositions([{start: 89, end: 183}, {start: 27, end: 217}], | 870 CheckScopeChainPositions([{start: 89, end: 183}, {start: 27, end: 217}], |
| 871 exec_state); | 871 exec_state); |
| 872 } | 872 } |
| 873 eval(code8); | 873 eval(code8); |
| 874 EndTest(); | 874 EndTest(); |
| 875 | 875 |
| 876 assertEquals(begin_test_count, break_count, | 876 assertEquals(begin_test_count, break_count, |
| 877 'one or more tests did not enter the debugger'); | 877 'one or more tests did not enter the debugger'); |
| 878 assertEquals(begin_test_count, end_test_count, | 878 assertEquals(begin_test_count, end_test_count, |
| 879 'one or more tests did not have its result checked'); | 879 'one or more tests did not have its result checked'); |
| OLD | NEW |