| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "extensions/renderer/module_system_test.h" | 5 #include "extensions/renderer/module_system_test.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 | 246 |
| 247 scoped_ptr<ModuleSystemTestEnvironment> ModuleSystemTest::CreateEnvironment() { | 247 scoped_ptr<ModuleSystemTestEnvironment> ModuleSystemTest::CreateEnvironment() { |
| 248 return make_scoped_ptr(new ModuleSystemTestEnvironment(isolate_)); | 248 return make_scoped_ptr(new ModuleSystemTestEnvironment(isolate_)); |
| 249 } | 249 } |
| 250 | 250 |
| 251 void ModuleSystemTest::ExpectNoAssertionsMade() { | 251 void ModuleSystemTest::ExpectNoAssertionsMade() { |
| 252 should_assertions_be_made_ = false; | 252 should_assertions_be_made_ = false; |
| 253 } | 253 } |
| 254 | 254 |
| 255 void ModuleSystemTest::RunResolvedPromises() { | 255 void ModuleSystemTest::RunResolvedPromises() { |
| 256 isolate_->RunMicrotasks(); | 256 v8::MicrotasksScope::PerformCheckpoint(isolate_); |
| 257 } | 257 } |
| 258 | 258 |
| 259 } // namespace extensions | 259 } // namespace extensions |
| OLD | NEW |