| Index: src/mirror-debugger.js
|
| diff --git a/src/mirror-debugger.js b/src/mirror-debugger.js
|
| index 9cde02b8bc75f3e97ade2e92a2843346b0114d7d..26ed909dfdedcfc3818c5a01fc44977b46cddc3c 100644
|
| --- a/src/mirror-debugger.js
|
| +++ b/src/mirror-debugger.js
|
| @@ -1216,6 +1216,11 @@ PromiseMirror.prototype.status = function() {
|
| };
|
|
|
|
|
| +PromiseMirror.prototype.promiseValue = function() {
|
| + return %GetPromiseValue(this.value_);
|
| +};
|
| +
|
| +
|
| /**
|
| * Base mirror object for properties.
|
| * @param {ObjectMirror} mirror The mirror object having this property
|
| @@ -2533,6 +2538,7 @@ JSONProtocolSerializer.prototype.serializeObject_ = function(mirror, content,
|
| if (mirror.isPromise()) {
|
| // Add promise specific properties.
|
| content.status = mirror.status();
|
| + content.promiseValue = mirror.promiseValue();
|
| }
|
|
|
| // Add actual properties - named properties followed by indexed properties.
|
|
|