DescriptionChange root bounds in RenderWidgetHostViewAuraTest.ParentMovementUpdatesScreenRect
test to avoid initializing portrait mode static primary rotation and cause test
failures on memory waterfall.
It turns out that on normal run each test is run separately, but on
memory waterfall they are run in such a way (in one process in bulk?)
that if previous test sets up some static values they are preserved
for all consecutive tests, creating hidden dependency between them.
In this case values of primary portrait and landscape angles that are in
RenderWidgetHostViewBase::GetOrientationTypeForDesktop are preserved
between tests and primary_portrait_angle was set up to unexpected value (0)
by test I've added, which broke RenderWidgetHostViewBaseTest.OrientationTypeForDesktop
which expected to set those up by itself and test it.
BUG=499914, 500011
Committed: https://crrev.com/a7f0ee1973ca033d3e5f4544cb3d3e6f5b582eec
Cr-Commit-Position: refs/heads/master@{#334792}
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|