| Index: test/debugger/test-api.js
|
| diff --git a/test/debugger/test-api.js b/test/debugger/test-api.js
|
| index 069f81796d74e411a169b10ac60ebbed79471bac..5fbc4f9b69e78b1b79f28cfdf32b7f89fd82d382 100644
|
| --- a/test/debugger/test-api.js
|
| +++ b/test/debugger/test-api.js
|
| @@ -391,6 +391,7 @@ class DebugWrapper {
|
| case "catch": return this.ScopeType.Catch;
|
| case "block": return this.ScopeType.Block;
|
| case "script": return this.ScopeType.Script;
|
| + case "eval": return this.ScopeType.Eval;
|
| default: %AbortJS("Unexpected scope type");
|
| }
|
| }
|
| @@ -405,7 +406,7 @@ class DebugWrapper {
|
| }
|
| }
|
|
|
| - if (found == null) return { isUndefined : true }
|
| + if (found == null) return { isUndefined : () => true };
|
|
|
| const val = { value : () => found.value.value };
|
| return { value : () => val,
|
|
|