Revision: 19938
Author:   [email protected]
Date:     Fri Mar 14 15:10:01 2014 UTC
Log:      Expose FrameDetails and ScopeDetails from its Mirrors.

We in fact already access these via the private property "details_".
Make it into the API.

[email protected], [email protected], ulan, yangguo, yurys

Review URL: https://codereview.chromium.org/200243002

Patch from Andrey Adaykin <[email protected]>.
http://code.google.com/p/v8/source/detail?r=19938

Modified:
 /branches/bleeding_edge/src/mirror-debugger.js

=======================================
--- /branches/bleeding_edge/src/mirror-debugger.js Fri Mar 7 11:03:35 2014 UTC +++ /branches/bleeding_edge/src/mirror-debugger.js Fri Mar 14 15:10:01 2014 UTC
@@ -1543,6 +1543,11 @@
 inherits(FrameMirror, Mirror);


+FrameMirror.prototype.details = function() {
+  return this.details_;
+};
+
+
 FrameMirror.prototype.index = function() {
   return this.index_;
 };
@@ -1964,6 +1969,11 @@
 inherits(ScopeMirror, Mirror);


+ScopeMirror.prototype.details = function() {
+  return this.details_;
+};
+
+
 ScopeMirror.prototype.frameIndex = function() {
   return this.frame_index_;
 };

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to