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

Unified Diff: test/debugger/debug/debug-evaluate-no-side-effect.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 | « src/runtime/runtime-debug.cc ('k') | test/debugger/debug/debug-evaluate-no-side-effect-builtins.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.js
diff --git a/test/debugger/debug/debug-evaluate-no-side-effect.js b/test/debugger/debug/debug-evaluate-no-side-effect.js
index 26afa9b6e9c5eab61e645d878c6b09f79af43288..113ca3d16a591286b451f49fbb1ac67c18841f93 100644
--- a/test/debugger/debug/debug-evaluate-no-side-effect.js
+++ b/test/debugger/debug/debug-evaluate-no-side-effect.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
@@ -24,12 +24,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);
}
// Simple test.
success(3, "1 + 2");
« no previous file with comments | « src/runtime/runtime-debug.cc ('k') | test/debugger/debug/debug-evaluate-no-side-effect-builtins.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698