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..48d59f768f5a372b485e99b29627ce22affa6755 100644 |
--- a/Source/bindings/core/v8/DebuggerScript.js |
+++ b/Source/bindings/core/v8/DebuggerScript.js |
@@ -508,6 +508,15 @@ DebuggerScript._buildScopeObject = function(scopeType, scopeObject) |
return result; |
} |
+DebuggerScript.getPromiseDetails = function(eventData) |
+{ |
+ return { |
+ "promise": eventData.promise().value(), |
+ "parentPromise": eventData.parentPromise().value(), |
+ "status": eventData.status() |
+ }; |
+} |
+ |
// We never resolve Mirror by its handle so to avoid memory leaks caused by Mirrors in the cache we disable it. |
ToggleMirrorCache(false); |