Bug 940952 - Remove an obsolete test. r=me

This commit is contained in:
Jim Mathies 2013-11-26 14:14:40 -06:00
parent 457847f662
commit 861b37c2bd

View File

@ -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,