OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/extensions/extension_apitest.h" |
| 6 |
| 7 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, IsolatedWorld1) { |
| 8 // This extension runs various bits of script and tests that they all run in |
| 9 // the same isolated world. |
| 10 StartHTTPServer(); |
| 11 ASSERT_TRUE(RunExtensionTest("isolated_world1")) << message_; |
| 12 |
| 13 // Now load a different extension, inject into same page, verify worlds aren't |
| 14 // shared. |
| 15 ASSERT_TRUE(RunExtensionTest("isolated_world2")) << message_; |
| 16 } |
OLD | NEW |