| Index: test/cctest/test-api.cc
 | 
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
 | 
| index b3c52f1f1ff8289d26c4c451111aa12d080f473d..f450a345971ad4d31204be2e5cb5dfb012f9bce0 100644
 | 
| --- a/test/cctest/test-api.cc
 | 
| +++ b/test/cctest/test-api.cc
 | 
| @@ -10091,10 +10091,11 @@ class RegExpStringModificationTest {
 | 
|      // Inject the input as a global variable.
 | 
|      i::Handle<i::String> input_name =
 | 
|          i::Factory::NewStringFromAscii(i::Vector<const char>("input", 5));
 | 
| -    i::Top::global_context()->global()->SetProperty(*input_name,
 | 
| -                                                    *input_,
 | 
| -                                                    NONE)->ToObjectChecked();
 | 
| -
 | 
| +    i::Top::global_context()->global()->SetProperty(
 | 
| +        *input_name,
 | 
| +        *input_,
 | 
| +        NONE,
 | 
| +        i::kNonStrictMode)->ToObjectChecked();
 | 
|  
 | 
|      MorphThread morph_thread(this);
 | 
|      morph_thread.Start();
 | 
| 
 |