diff options
Diffstat (limited to 'chrome/browser/apps/guest_view/web_view_browsertest.cc')
-rw-r--r-- | chrome/browser/apps/guest_view/web_view_browsertest.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/apps/guest_view/web_view_browsertest.cc b/chrome/browser/apps/guest_view/web_view_browsertest.cc index b81f521..faa272a 100644 --- a/chrome/browser/apps/guest_view/web_view_browsertest.cc +++ b/chrome/browser/apps/guest_view/web_view_browsertest.cc @@ -843,6 +843,10 @@ class WebViewTest : public extensions::PlatformAppBrowserTest { content::WebContents* embedder_web_contents_; }; +// Test suite that containts tests that are meant to run with and without +// --site-per-process. +class WebViewCommonTest : public extensions::PlatformAppBrowserTest {}; + class WebViewDPITest : public WebViewTest { protected: void SetUpCommandLine(base::CommandLine* command_line) override { @@ -2717,3 +2721,9 @@ IN_PROC_BROWSER_TEST_F(WebViewTest, AllowTransparencyAndAllowScalingPropagate) { ASSERT_TRUE(guest->allow_transparency()); ASSERT_TRUE(guest->allow_scaling()); } + +IN_PROC_BROWSER_TEST_F(WebViewCommonTest, BasicPostMessage) { + ASSERT_TRUE(StartEmbeddedTestServer()); // For serving guest pages. + ASSERT_TRUE(RunPlatformAppTest("platform_apps/web_view/post_message/basic")) + << message_; +} |