Index: Source/bindings/core/v8/DebuggerScript.js |
diff --git a/Source/bindings/core/v8/DebuggerScript.js b/Source/bindings/core/v8/DebuggerScript.js |
index 9a8189ebb7718d34421bd9590a41b7addea2add5..695586874c2434e848972ee71d7c81babf9ba90e 100644 |
--- a/Source/bindings/core/v8/DebuggerScript.js |
+++ b/Source/bindings/core/v8/DebuggerScript.js |
@@ -532,6 +532,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); |