[test, debug] Remove an obsolete code from a test.

Leftover from https://chromium-review.googlesource.com/522664.

TBR=jgruber@chromium.org

Bug: 
Change-Id: Ifb37d235bc1be83b310a821514c61e901b594540
Reviewed-on: https://chromium-review.googlesource.com/530787
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45845}
This commit is contained in:
Georg Neis 2017-06-12 12:17:45 +02:00 committed by Commit Bot
parent fb55a9cbd8
commit 8071762117

View File

@ -231,7 +231,6 @@ RunPauseTest(0, 5, 'p', 2012, 2012, (function Factory() {
let exception; let exception;
function listener(event, exec_state) { function listener(event, exec_state) {
if (event == Debug.DebugEvent.Break) { if (event == Debug.DebugEvent.Break) {
let scope_count = exec_state.frame().scopeCount();
let module_scope = exec_state.frame().scope(1); let module_scope = exec_state.frame().scope(1);
assertEquals(debug.ScopeType.Module, module_scope.scopeType()); assertEquals(debug.ScopeType.Module, module_scope.scopeType());
try { try {
@ -253,7 +252,6 @@ let salat = 12;
{ {
function listener(event, exec_state) { function listener(event, exec_state) {
if (event == Debug.DebugEvent.Break) { if (event == Debug.DebugEvent.Break) {
let scope_count = exec_state.frame().scopeCount();
let module_scope = exec_state.frame().scope(1); let module_scope = exec_state.frame().scope(1);
assertEquals(debug.ScopeType.Module, module_scope.scopeType()); assertEquals(debug.ScopeType.Module, module_scope.scopeType());
module_scope.setVariableValue('salat', 42); module_scope.setVariableValue('salat', 42);
@ -272,7 +270,6 @@ export let salami = 1;
{ {
function listener(event, exec_state) { function listener(event, exec_state) {
if (event == Debug.DebugEvent.Break) { if (event == Debug.DebugEvent.Break) {
let scope_count = exec_state.frame().scopeCount();
let module_scope = exec_state.frame().scope(1); let module_scope = exec_state.frame().scope(1);
assertEquals(debug.ScopeType.Module, module_scope.scopeType()); assertEquals(debug.ScopeType.Module, module_scope.scopeType());
module_scope.setVariableValue('salami', 2); module_scope.setVariableValue('salami', 2);
@ -292,7 +289,6 @@ import { salami as wurst } from "./debug-modules-set-variable-value.js";
let exception; let exception;
function listener(event, exec_state) { function listener(event, exec_state) {
if (event == Debug.DebugEvent.Break) { if (event == Debug.DebugEvent.Break) {
let scope_count = exec_state.frame().scopeCount();
let module_scope = exec_state.frame().scope(1); let module_scope = exec_state.frame().scope(1);
assertEquals(debug.ScopeType.Module, module_scope.scopeType()); assertEquals(debug.ScopeType.Module, module_scope.scopeType());
try { try {