Backed out changeset 29bbd5887d66 (bug 1680951) for failure on browser_blockingCookies.js. CLOSED TREE

This commit is contained in:
Butkovits Atila
2020-12-08 14:46:48 +02:00
parent 308abcb733
commit 45bf9cbd18
4 changed files with 13 additions and 58 deletions

View File

@@ -3050,9 +3050,9 @@ void HTMLInputElement::Select() {
// HTMLInputElement::SetSelectionRange only applies to fewer types
// TODO(krosylight): This should pass eNone per the spec, but we don't support
// it yet. See bug 1541454.
state->SetSelectionRange(0, UINT32_MAX, Optional<nsAString>(),
IgnoredErrorResult(),
TextControlState::ScrollAfterSelection::No);
state->SetSelectionRange(0, UINT32_MAX,
nsITextControlFrame::SelectionDirection::eForward,
IgnoredErrorResult());
}
void HTMLInputElement::DispatchSelectEvent(nsPresContext* aPresContext) {