Chromium Code Reviews
DescriptionUpdate MenuControllerTest Widget Creation
Two menu tests actively tested the handling of drag and drop within aura's
nested message loop. To do this they set a testing DragDropClient on the root
window by AuraTestHelper.
While this is fine with the classic window server, when being ran as a part of
the views_mus_unittests the WindowTreeClient properly constructs root windows
as needed. This lead to the test having two competiting window trees, and the
test client being installed on the incorrect one.
I've updated the tests to create the full menu/submenu tree, and to install the
DragDropClient on the correct window tree.
TEST=MenuControllerTest.MenuControllerReplacedDuringDrag,
MenuControllerTest.CancelAllDuringDrag
BUG=664280
Review-Url: https://codereview.chromium.org/2722193003
Cr-Commit-Position: refs/heads/master@{#454259}
Committed: https://chromium.googlesource.com/chromium/src/+/e0f5db25384b1c70388a90c8c77d33962d19d524
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|
|||||||||||||||||||