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

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

Issue 2685483002: [debugger] expose side-effect free evaluate to inspector. (Closed)
Patch Set: add inspector test 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
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 f5f2976af14bb675148f86cccbfc3ed646786fc4..533e5db2a11337066bfbc672c4b947b12cf458e4 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 --side-effect-free-debug-evaluate
+// Flags: --ignition
Debug = debug.Debug
@@ -12,10 +12,12 @@ function listener(event, exec_state, event_data, data) {
if (event != Debug.DebugEvent.Break) return;
try {
function success(expectation, source) {
- assertEquals(expectation, exec_state.frame(0).evaluate(source).value());
+ assertEquals(expectation,
+ exec_state.frame(0).evaluate(source, true).value());
}
function fail(source) {
- assertThrows(() => exec_state.frame(0).evaluate(source), EvalError);
+ assertThrows(() => exec_state.frame(0).evaluate(source, true),
+ EvalError);
}
// Test Math functions.
« no previous file with comments | « test/debugger/debug/debug-evaluate-no-side-effect.js ('k') | test/debugger/debug/debug-evaluate-no-side-effect-control.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698