Chromium Code Reviews| Index: src/debug/mirrors.js |
| diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js |
| index a2777abc1ffd153ca2519f91f533603505e9deb0..965bd4510d56378e1f0900427074ad443925e7b0 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, |
| + Eval: 6, |
|
jgruber1
2016/05/11 08:38:07
I assume there's a reason to disregard the comment
Yang
2016/05/11 11:37:23
Good point. I'm fairly certain that devtools does
|
| + Script: 7, |
| + }; |
| /** |
| * Base class for all mirror objects. |