Index: chrome/browser/extensions/lazy_background_page_apitest.cc |
diff --git a/chrome/browser/extensions/lazy_background_page_apitest.cc b/chrome/browser/extensions/lazy_background_page_apitest.cc |
index ead2b674f09d0d7c095f033f3e39b4411708470a..29733ced9198a47e3257851bb68006f6e541d6f4 100644 |
--- a/chrome/browser/extensions/lazy_background_page_apitest.cc |
+++ b/chrome/browser/extensions/lazy_background_page_apitest.cc |
@@ -629,35 +629,10 @@ IN_PROC_BROWSER_TEST_F(LazyBackgroundPageApiTest, OnSuspendUseStorageApi) { |
// TODO: background page with timer. |
// TODO: background page that interacts with popup. |
-// Test class to allow test cases to run in --isolate-extensions mode. |
-class LazyBackgroundPageIsolatedExtensionsApiTest |
- : public LazyBackgroundPageApiTest { |
- public: |
- LazyBackgroundPageIsolatedExtensionsApiTest() {} |
- ~LazyBackgroundPageIsolatedExtensionsApiTest() override {} |
- |
- void SetUpInProcessBrowserTestFixture() override { |
- LazyBackgroundPageApiTest::SetUpInProcessBrowserTestFixture(); |
- |
- // This is needed to allow example.com to actually resolve and load in |
- // tests. |
- host_resolver()->AddRule("*", "127.0.0.1"); |
- } |
- |
- void SetUpCommandLine(base::CommandLine* command_line) override { |
- LazyBackgroundPageApiTest::SetUpCommandLine(command_line); |
- command_line->AppendSwitch(switches::kIsolateExtensions); |
- } |
- |
- private: |
- DISALLOW_COPY_AND_ASSIGN(LazyBackgroundPageIsolatedExtensionsApiTest); |
-}; |
- |
// Ensure that the events page of an extension is properly torn down and the |
-// process does not linger around when running in --isolate-extensions mode. |
+// process does not linger around. |
// See https://crbug.com/612668. |
-IN_PROC_BROWSER_TEST_F(LazyBackgroundPageIsolatedExtensionsApiTest, |
- EventProcessCleanup) { |
+IN_PROC_BROWSER_TEST_F(LazyBackgroundPageApiTest, EventProcessCleanup) { |
ASSERT_TRUE(LoadExtensionAndWait("event_page_with_web_iframe")); |
// Lazy Background Page doesn't exist anymore. |