| Index: test/mjsunit/debug-evaluate-with-context.js
|
| diff --git a/test/mjsunit/debug-evaluate-with-context.js b/test/mjsunit/debug-evaluate-with-context.js
|
| index 2d75e007688d97448e06246d7e503197934996c1..5e1c83cf52cf401f615fc06ec45f0feaac125079 100644
|
| --- a/test/mjsunit/debug-evaluate-with-context.js
|
| +++ b/test/mjsunit/debug-evaluate-with-context.js
|
| @@ -117,9 +117,9 @@ function evaluateViaProtocol(exec_state, expression, additional_context, frame_a
|
| request_json = {"seq":17,"type":"request","command":"evaluate", arguments: { "expression": expression } };
|
| frame_argument_adder(request_json.arguments);
|
| if (additional_context) {
|
| - var context_json = {}
|
| + var context_json = [];
|
| for (var key in additional_context) {
|
| - context_json[key] = Debug.MakeMirror(additional_context[key]).handle();
|
| + context_json.push({ name: key, handle: Debug.MakeMirror(additional_context[key]).handle() });
|
| }
|
| request_json.arguments.additional_context = context_json;
|
| }
|
|
|