Index: Source/bindings/core/v8/DebuggerScript.js |
diff --git a/Source/bindings/core/v8/DebuggerScript.js b/Source/bindings/core/v8/DebuggerScript.js |
index dc3405e1cc6361d45cabcb618dd92336719444fc..98f398b2eb87533b0fde55f2b280a6680bf9c899 100644 |
--- a/Source/bindings/core/v8/DebuggerScript.js |
+++ b/Source/bindings/core/v8/DebuggerScript.js |
@@ -508,6 +508,16 @@ DebuggerScript._buildScopeObject = function(scopeType, scopeObject) |
return result; |
} |
+DebuggerScript.getPromiseDetails = function(eventData) |
+{ |
+ return { |
+ "promise": eventData.promise().value(), |
+ "parentPromise": eventData.parentPromise().value(), |
+ "status": eventData.status(), |
+ "value": eventData.value().value() |
+ }; |
+} |
+ |
// We never resolve Mirror by its handle so to avoid memory leaks caused by Mirrors in the cache we disable it. |
ToggleMirrorCache(false); |