| Index: test/debugger/test-api.js
|
| diff --git a/test/debugger/test-api.js b/test/debugger/test-api.js
|
| index f78b1171af005584399edd907a86d5682d543bd5..347fc0b6301f868b044a5a64eb2fcfaf73b7d7bb 100644
|
| --- a/test/debugger/test-api.js
|
| +++ b/test/debugger/test-api.js
|
| @@ -390,6 +390,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");
|
| }
|
| }
|
| @@ -404,7 +405,7 @@ class DebugWrapper {
|
| }
|
| }
|
|
|
| - if (found == null) return { isUndefined : true }
|
| + if (found == null) return { isUndefined : () => true };
|
|
|
| const val = { value : () => found.value.value };
|
| return { value : () => val,
|
|
|