Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: src/debug/mirrors.js

Issue 1961963002: [debugger] make strict eval-scope visible to debugging. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/debug/debug-scopes.cc ('k') | test/mjsunit/debug-eval-scope.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/mirrors.js
diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js
index a2777abc1ffd153ca2519f91f533603505e9deb0..6a380002e859f04910246ace2a548c5ea5fd9354 100644
--- a/src/debug/mirrors.js
+++ b/src/debug/mirrors.js
@@ -256,13 +256,15 @@ PropertyAttribute.DontDelete = DONT_DELETE;
// A copy of the scope types from runtime-debug.cc.
// NOTE: these constants should be backward-compatible, so
// add new ones to the end of this list.
-var ScopeType = { Global: 0,
- Local: 1,
- With: 2,
+var ScopeType = { Global: 0,
+ Local: 1,
+ With: 2,
Closure: 3,
- Catch: 4,
- Block: 5,
- Script: 6 };
+ Catch: 4,
+ Block: 5,
+ Script: 6,
+ Eval: 7,
+ };
/**
* Base class for all mirror objects.
« no previous file with comments | « src/debug/debug-scopes.cc ('k') | test/mjsunit/debug-eval-scope.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698