Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 441aae63c688248f8bcb080d16b79aae3fb40109..7245e54be734e4bb59a4b577267231d451b7db9a 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -153,7 +153,8 @@ class DebugLocalContext { |
Handle<v8::internal::String> debug_string = |
v8::internal::Factory::LookupAsciiSymbol("debug"); |
SetProperty(global, debug_string, |
- Handle<Object>(Debug::debug_context()->global_proxy()), DONT_ENUM); |
+ Handle<Object>(Debug::debug_context()->global_proxy()), DONT_ENUM, |
+ ::v8::internal::kNonStrictMode); |
} |
private: |
v8::Persistent<v8::Context> context_; |