Commit 6e2d853b authored by yurys@chromium.org's avatar yurys@chromium.org

Expose FrameDetails and ScopeDetails from its Mirrors.

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

R=ulan@chromium.org, yurys@chromium.org, ulan, yangguo, yurys

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

Patch from Andrey Adaykin <aandrey@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19938 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e69a9ef8
......@@ -1543,6 +1543,11 @@ function FrameMirror(break_id, index) {
inherits(FrameMirror, Mirror);
FrameMirror.prototype.details = function() {
return this.details_;
};
FrameMirror.prototype.index = function() {
return this.index_;
};
......@@ -1964,6 +1969,11 @@ function ScopeMirror(frame, function, index, opt_details) {
inherits(ScopeMirror, Mirror);
ScopeMirror.prototype.details = function() {
return this.details_;
};
ScopeMirror.prototype.frameIndex = function() {
return this.frame_index_;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment