mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 940952 - Remove an obsolete test. r=me
This commit is contained in:
parent
457847f662
commit
861b37c2bd
@ -252,49 +252,6 @@ gTests.push({
|
||||
},
|
||||
});
|
||||
|
||||
gTests.push({
|
||||
desc: "scroll disables",
|
||||
setUp: setUpAndTearDown,
|
||||
run: function test() {
|
||||
sendContextMenuClick(100, 20);
|
||||
|
||||
yield waitForCondition(function () {
|
||||
return SelectionHelperUI.isSelectionUIVisible;
|
||||
}, kCommonWaitMs, kCommonPollMs);
|
||||
|
||||
is(SelectionHelperUI.isActive, true, "selection active");
|
||||
|
||||
// scroll page
|
||||
sendTouchDrag(gWindow,
|
||||
400,
|
||||
400,
|
||||
400,
|
||||
350);
|
||||
|
||||
yield waitForCondition(function () {
|
||||
return !SelectionHelperUI.isSelectionUIVisible;
|
||||
}, kCommonWaitMs, kCommonPollMs);
|
||||
|
||||
// cancel fling from scroll above
|
||||
TouchModule.cancelPending();
|
||||
|
||||
// active state - should be disabled after a page scroll
|
||||
is(SelectionHelperUI.isActive, false, "selection inactive");
|
||||
},
|
||||
tearDown: function tearDown() {
|
||||
EventUtils.synthesizeKey("VK_HOME", {}, gWindow);
|
||||
emptyClipboard();
|
||||
if (gWindow)
|
||||
clearSelection(gWindow);
|
||||
if (gFrame)
|
||||
clearSelection(gFrame);
|
||||
yield waitForCondition(function () {
|
||||
return !SelectionHelperUI.isSelectionUIVisible;
|
||||
}, kCommonWaitMs, kCommonPollMs);
|
||||
yield hideContextUI();
|
||||
},
|
||||
});
|
||||
|
||||
gTests.push({
|
||||
desc: "tap on selection clears selection in content",
|
||||
setUp: setUpAndTearDown,
|
||||
|
Loading…
Reference in New Issue
Block a user