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

Unified Diff: test/debugger/debug/debug-evaluate-no-side-effect-builtins.js

Issue 2687013003: Revert of [debugger] expose side-effect free evaluate to inspector. (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/debugger/debug/debug-evaluate-no-side-effect.js ('k') | test/debugger/test-api.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/debugger/debug/debug-evaluate-no-side-effect-builtins.js
diff --git a/test/debugger/debug/debug-evaluate-no-side-effect-builtins.js b/test/debugger/debug/debug-evaluate-no-side-effect-builtins.js
index 533e5db2a11337066bfbc672c4b947b12cf458e4..f5f2976af14bb675148f86cccbfc3ed646786fc4 100644
--- a/test/debugger/debug/debug-evaluate-no-side-effect-builtins.js
+++ b/test/debugger/debug/debug-evaluate-no-side-effect-builtins.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --ignition
+// Flags: --ignition --side-effect-free-debug-evaluate
Debug = debug.Debug
@@ -12,12 +12,10 @@
if (event != Debug.DebugEvent.Break) return;
try {
function success(expectation, source) {
- assertEquals(expectation,
- exec_state.frame(0).evaluate(source, true).value());
+ assertEquals(expectation, exec_state.frame(0).evaluate(source).value());
}
function fail(source) {
- assertThrows(() => exec_state.frame(0).evaluate(source, true),
- EvalError);
+ assertThrows(() => exec_state.frame(0).evaluate(source), EvalError);
}
// Test Math functions.
« no previous file with comments | « test/debugger/debug/debug-evaluate-no-side-effect.js ('k') | test/debugger/test-api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698