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

Issue 2473163002: Fix tests to ship Aura overlay scrollbars for ChromeOS (Closed)

Created:
4 years, 1 month ago by bokan
Modified:
4 years, 1 month ago
Reviewers:
Evan Stade
CC:
chromium-reviews, blink-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix tests to ship Aura overlay scrollbars for ChromeOS. This patch disables SitePerProcessBrowserTest.FrameOwnerPropertiesPropagationScrolling since that test uses the difference in layout caused by a scrollbar to detect scrollability which obviously wont work with overlay scrollbars (it's already disabled on Android for this reason). We also make sure that Blink's RuntimeEnabledFetures::overlayScrollbarEnabled setting is on for all tests that need it when the flag is flipped. BaseAudioContextTest needs to use mock scrollbars since otherwise it runs with a production ScrollbarTheme but the REF above gets turned on. Finally, I've disabled the DCHECKs in the Aura scrollbar painting code that check that overlay scrollbars aren't trying to paint scroll corners or scrollbar tracks. This code gets tripped by Views scrollbars that aren't yet aware of overlay scrollbars. This issue is being worked on in 657159 and doing nothing doesn't cause any problems. BUG=307091

Patch Set 1 #

Patch Set 2 : Disable site per process test #

Patch Set 3 : Fixed tests #

Patch Set 4 : DCHECKs for Views should be only failures #

Patch Set 5 : Reenable ScrollView tests and remove DCHECKs instead. #

Patch Set 6 : Unflip enabling flag #

Patch Set 7 : Fixed REF. Flag On - Only Views DCHECKs should be failing #

Patch Set 8 : Flag Off - Removed DCHECKs in painting - Should pass all tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -14 lines) Patch
M content/browser/site_per_process_browsertest.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M content/public/test/render_view_test.cc View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 chunks +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/BaseAudioContextTest.cpp View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M ui/native_theme/native_theme_aura.cc View 1 2 3 4 7 2 chunks +8 lines, -2 lines 1 comment Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 22 (17 generated)
bokan
estade@, ptal. I've kicked off a dry run on PS#7 and PS#8. #7 keeps the ...
4 years, 1 month ago (2016-11-04 23:20:08 UTC) #16
Evan Stade
https://codereview.chromium.org/2473163002/diff/140001/ui/native_theme/native_theme_aura.cc File ui/native_theme/native_theme_aura.cc (right): https://codereview.chromium.org/2473163002/diff/140001/ui/native_theme/native_theme_aura.cc#newcode178 ui/native_theme/native_theme_aura.cc:178: // corner but Views code currently is unaware of ...
4 years, 1 month ago (2016-11-05 01:13:09 UTC) #19
Evan Stade
by the way, I have a patch in the works for this.
4 years, 1 month ago (2016-11-06 02:00:51 UTC) #20
bokan
On 2016/11/06 02:00:51, Evan Stade wrote: > by the way, I have a patch in ...
4 years, 1 month ago (2016-11-06 02:43:21 UTC) #21
Evan Stade
4 years, 1 month ago (2016-11-09 00:44:49 UTC) #22
On 2016/11/06 02:43:21, bokan wrote:
> On 2016/11/06 02:00:51, Evan Stade wrote:
> > by the way, I have a patch in the works for this.
> 
> I've got https://codereview.chromium.org/2480063002 how does that look?

this is not waiting for review and can be closed, right?

Powered by Google App Engine
This is Rietveld 408576698