Index: test/mjsunit/debug-scopes.js |
diff --git a/test/mjsunit/debug-scopes.js b/test/mjsunit/debug-scopes.js |
index 78a70af26a0b5ec46431e51635840d766f9a51bb..98c745643e4214497fd7a3f50201712f6010a058 100644 |
--- a/test/mjsunit/debug-scopes.js |
+++ b/test/mjsunit/debug-scopes.js |
@@ -167,6 +167,10 @@ function CheckScopeContent(content, number, exec_state) { |
if (!scope.scopeObject().property('arguments').isUndefined()) { |
scope_size--; |
} |
+ // Ditto for 'this'. |
+ if (!scope.scopeObject().property('this').isUndefined()) { |
+ scope_size--; |
+ } |
// Skip property with empty name. |
if (!scope.scopeObject().property('').isUndefined()) { |
scope_size--; |