Merge V8 5.3.332.45. DO NOT MERGE
Test: Manual
FPIIM-449
Change-Id: Id3254828b068abdea3cb10442e0172a8c9a98e03
(cherry picked from commit 13e2dadd00298019ed862f2b2fc5068bba730bcf)
diff --git a/include/v8-debug.h b/include/v8-debug.h
index e41df29..6520cbe 100644
--- a/include/v8-debug.h
+++ b/include/v8-debug.h
@@ -125,6 +125,8 @@
*/
virtual ClientData* GetClientData() const = 0;
+ virtual Isolate* GetIsolate() const = 0;
+
virtual ~EventDetails() {}
};
@@ -259,6 +261,11 @@
V8_DEPRECATED("Use version with an Isolate",
static Local<Context> GetDebugContext());
+ /**
+ * While in the debug context, this method returns the top-most non-debug
+ * context, if it exists.
+ */
+ static MaybeLocal<Context> GetDebuggedContext(Isolate* isolate);
/**
* Enable/disable LiveEdit functionality for the given Isolate