| Index: test/mjsunit/debug-scopes.js
|
| diff --git a/test/mjsunit/debug-scopes.js b/test/mjsunit/debug-scopes.js
|
| index 40adf5b2d2a3f35b4e92f790144518a3043176c1..b9f9814205ebd7913a50c7bfacf27642b7f280af 100644
|
| --- a/test/mjsunit/debug-scopes.js
|
| +++ b/test/mjsunit/debug-scopes.js
|
| @@ -308,6 +308,24 @@ local_7(1, 2);
|
| EndTest();
|
|
|
|
|
| +// Simple empty local scope but for a strict-mode function where the
|
| +// receiver is undefined.
|
| +BeginTest("Local 8");
|
| +
|
| +function local_8() {
|
| + "use strict";
|
| + debugger;
|
| +}
|
| +
|
| +listener_delegate = function(exec_state) {
|
| + CheckScopeChain([debug.ScopeType.Local,
|
| + debug.ScopeType.Global], exec_state);
|
| + CheckScopeContent({}, 0, exec_state);
|
| +};
|
| +local_8();
|
| +EndTest();
|
| +
|
| +
|
| // Single empty with block.
|
| BeginTest("With 1");
|
|
|
|
|