Index: Source/bindings/core/v8/DebuggerScript.js |
diff --git a/Source/bindings/core/v8/DebuggerScript.js b/Source/bindings/core/v8/DebuggerScript.js |
index a776ae9fd25f98f224d4f00cac2b67fcc1023ef9..62141dd2ed0228257584b81f1879b76c12335bf7 100644 |
--- a/Source/bindings/core/v8/DebuggerScript.js |
+++ b/Source/bindings/core/v8/DebuggerScript.js |
@@ -518,6 +518,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); |