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 989cb393113154acd9af58a1019c0977c724be99..f5f2976af14bb675148f86cccbfc3ed646786fc4 100644 |
--- a/test/debugger/debug/debug-evaluate-no-side-effect-builtins.js |
+++ b/test/debugger/debug/debug-evaluate-no-side-effect-builtins.js |
@@ -53,7 +53,10 @@ function listener(event, exec_state, event_data, data) { |
if (f == "normalize") continue; |
if (f == "match") continue; |
if (f == "search") continue; |
- if (f == "split") continue; |
+ if (f == "split" || f == "replace") { |
+ fail(`'abcd'.${f}(2)`); |
+ continue; |
+ } |
success("abcd"[f](2), `"abcd".${f}(2);`); |
} |
} |