Commit 50f3f401 authored by Elly Fong-Jones's avatar Elly Fong-Jones Committed by Commit Bot

cbui: don't check for overscroll in mac PWAs

The specific notion of overscroll this test is checking for is only
implemented on Aura platforms.

Bug: 1028239
Change-Id: Ic40d5d504e463517cd28fc28b3a6d36a7e5fb8a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1946683Reviewed-by: default avatarLeonard Grey <lgrey@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720549}
parent 5b292b58
...@@ -1389,7 +1389,13 @@ IN_PROC_BROWSER_TEST_P(SharedPWATest, InstallToShelfContainsAppName) { ...@@ -1389,7 +1389,13 @@ IN_PROC_BROWSER_TEST_P(SharedPWATest, InstallToShelfContainsAppName) {
IN_PROC_BROWSER_TEST_P(HostedAppPWAOnlyTest, OverscrollEnabled) { IN_PROC_BROWSER_TEST_P(HostedAppPWAOnlyTest, OverscrollEnabled) {
ASSERT_TRUE(https_server()->Start()); ASSERT_TRUE(https_server()->Start());
InstallSecurePWA(); InstallSecurePWA();
// Overscroll is only enabled on Aura platforms currently.
#if defined(USE_AURA)
EXPECT_TRUE(app_browser_->CanOverscrollContent()); EXPECT_TRUE(app_browser_->CanOverscrollContent());
#else
EXPECT_FALSE(app_browser_->CanOverscrollContent());
#endif
} }
// Tests that mixed content is not loaded inside PWA windows. // Tests that mixed content is not loaded inside PWA windows.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment