From 8071762117f72d8ed951e604f27439070d556c8f Mon Sep 17 00:00:00 2001 From: Georg Neis Date: Mon, 12 Jun 2017 12:17:45 +0200 Subject: [PATCH] [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 Reviewed-by: Georg Neis Cr-Commit-Position: refs/heads/master@{#45845} --- test/debugger/debug/debug-modules-set-variable-value.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/debugger/debug/debug-modules-set-variable-value.js b/test/debugger/debug/debug-modules-set-variable-value.js index 72a1948229..8bdd7b94bb 100644 --- a/test/debugger/debug/debug-modules-set-variable-value.js +++ b/test/debugger/debug/debug-modules-set-variable-value.js @@ -231,7 +231,6 @@ RunPauseTest(0, 5, 'p', 2012, 2012, (function Factory() { let exception; function listener(event, exec_state) { if (event == Debug.DebugEvent.Break) { - let scope_count = exec_state.frame().scopeCount(); let module_scope = exec_state.frame().scope(1); assertEquals(debug.ScopeType.Module, module_scope.scopeType()); try { @@ -253,7 +252,6 @@ let salat = 12; { function listener(event, exec_state) { if (event == Debug.DebugEvent.Break) { - let scope_count = exec_state.frame().scopeCount(); let module_scope = exec_state.frame().scope(1); assertEquals(debug.ScopeType.Module, module_scope.scopeType()); module_scope.setVariableValue('salat', 42); @@ -272,7 +270,6 @@ export let salami = 1; { function listener(event, exec_state) { if (event == Debug.DebugEvent.Break) { - let scope_count = exec_state.frame().scopeCount(); let module_scope = exec_state.frame().scope(1); assertEquals(debug.ScopeType.Module, module_scope.scopeType()); module_scope.setVariableValue('salami', 2); @@ -292,7 +289,6 @@ import { salami as wurst } from "./debug-modules-set-variable-value.js"; let exception; function listener(event, exec_state) { if (event == Debug.DebugEvent.Break) { - let scope_count = exec_state.frame().scopeCount(); let module_scope = exec_state.frame().scope(1); assertEquals(debug.ScopeType.Module, module_scope.scopeType()); try {