| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <stddef.h> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/cancelable_callback.h" | 10 #include "base/cancelable_callback.h" |
| (...skipping 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1519 DevToolsWindowTesting::OpenDevToolsWindowSync(GetInspectedTab(), true); | 1519 DevToolsWindowTesting::OpenDevToolsWindowSync(GetInspectedTab(), true); |
| 1520 chrome::DuplicateTab(browser()); | 1520 chrome::DuplicateTab(browser()); |
| 1521 chrome::SelectPreviousTab(browser()); | 1521 chrome::SelectPreviousTab(browser()); |
| 1522 ui_test_utils::NavigateToURL(browser(), GURL("about:blank")); | 1522 ui_test_utils::NavigateToURL(browser(), GURL("about:blank")); |
| 1523 chrome::GoBack(browser(), WindowOpenDisposition::CURRENT_TAB); | 1523 chrome::GoBack(browser(), WindowOpenDisposition::CURRENT_TAB); |
| 1524 RunTestFunction(window, "testWindowInitializedOnNavigateBack"); | 1524 RunTestFunction(window, "testWindowInitializedOnNavigateBack"); |
| 1525 | 1525 |
| 1526 DevToolsWindowTesting::CloseDevToolsWindowSync(window); | 1526 DevToolsWindowTesting::CloseDevToolsWindowSync(window); |
| 1527 content::WebUIControllerFactory::UnregisterFactoryForTesting(&test_factory); | 1527 content::WebUIControllerFactory::UnregisterFactoryForTesting(&test_factory); |
| 1528 } | 1528 } |
| 1529 |
| 1530 // Tests scripts panel showing. |
| 1531 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestDevToolsSharedWorker) { |
| 1532 RunTest("testDevToolsSharedWorker", url::kAboutBlankURL); |
| 1533 } |
| 1534 |
| OLD | NEW |