Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Side by Side Diff: chrome/browser/devtools/devtools_sanity_browsertest.cc

Issue 2393003003: DevTools: add a test for storage cleanup worker (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/Tests.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/Tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698