diff options
Diffstat (limited to 'chrome/test/base/web_ui_browser_test.h')
-rw-r--r-- | chrome/test/base/web_ui_browser_test.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/test/base/web_ui_browser_test.h b/chrome/test/base/web_ui_browser_test.h index 3220442..a4cb28b 100644 --- a/chrome/test/base/web_ui_browser_test.h +++ b/chrome/test/base/web_ui_browser_test.h @@ -95,6 +95,11 @@ class WebUIBrowserTest : public JavaScriptBrowserTest { // handler mocking. void BrowsePreload(const GURL& browse_to); + // Called by javascript-generated test bodies. In addition to doing + // everything in BrowsePreload(), it also waits until the + // DidRunWebUIMojoMain() event fires. + void BrowsePreloadAndWaitForMain(const GURL& browse_to); + // Called by javascript-generated test bodies to browse to a page and preload // the javascript for the given |preload_test_fixture| and // |preload_test_name|. chrome.send will be overridden to allow javascript |