| Index: chrome/browser/extensions/extension_browsertest.cc
|
| diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc
|
| index 47d6a24e23d1c86a5a6305c07226776035cb2d71..6f3cc55d6f28e5ce5032bf7caaaa8a95645fab20 100644
|
| --- a/chrome/browser/extensions/extension_browsertest.cc
|
| +++ b/chrome/browser/extensions/extension_browsertest.cc
|
| @@ -127,6 +127,11 @@ void ExtensionBrowserTest::SetUpCommandLine(CommandLine* command_line) {
|
|
|
| void ExtensionBrowserTest::SetUpOnMainThread() {
|
| InProcessBrowserTest::SetUpOnMainThread();
|
| + // Wait for the InstantNTP prerendered contents to load.
|
| + content::WindowedNotificationObserver observer(
|
| + content::NOTIFICATION_LOAD_STOP,
|
| + content::NotificationService::AllSources());
|
| + observer.Wait();
|
| }
|
|
|
| const Extension* ExtensionBrowserTest::LoadExtensionWithFlags(
|
|
|