Backed out 7 changesets (bug 1432856) for build bustages failures in nsWindow.h on a CLOSED TREE
Backed out changeset 3d08c3cce533 (bug 1432856) Backed out changeset 49d03dd89b17 (bug 1432856) Backed out changeset 62fc84c8ce99 (bug 1432856) Backed out changeset a8a4fa63f5b2 (bug 1432856) Backed out changeset c81f3d5b9bf3 (bug 1432856) Backed out changeset 8351a8b1d96a (bug 1432856) Backed out changeset a303b775a51b (bug 1432856)
This commit is contained in:
@@ -2959,7 +2959,7 @@ void HTMLInputElement::Blur(ErrorResult& aError) {
|
||||
}
|
||||
|
||||
void HTMLInputElement::Focus(const FocusOptions& aOptions,
|
||||
CallerType aCallerType, ErrorResult& aError) {
|
||||
ErrorResult& aError) {
|
||||
if (mType == NS_FORM_INPUT_NUMBER) {
|
||||
// Focus our anonymous text control, if we have one.
|
||||
nsNumberControlFrame* numberControlFrame = do_QueryFrame(GetPrimaryFrame());
|
||||
@@ -2967,7 +2967,7 @@ void HTMLInputElement::Focus(const FocusOptions& aOptions,
|
||||
RefPtr<HTMLInputElement> textControl =
|
||||
numberControlFrame->GetAnonTextControl();
|
||||
if (textControl) {
|
||||
textControl->Focus(aOptions, aCallerType, aError);
|
||||
textControl->Focus(aOptions, aError);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -2984,7 +2984,7 @@ void HTMLInputElement::Focus(const FocusOptions& aOptions,
|
||||
}
|
||||
}
|
||||
|
||||
nsGenericHTMLElement::Focus(aOptions, aCallerType, aError);
|
||||
nsGenericHTMLElement::Focus(aOptions, aError);
|
||||
}
|
||||
|
||||
#if !defined(ANDROID) && !defined(XP_MACOSX)
|
||||
@@ -3925,8 +3925,7 @@ nsresult HTMLInputElement::PostHandleEvent(EventChainPostVisitor& aVisitor) {
|
||||
FocusOptions options;
|
||||
ErrorResult error;
|
||||
|
||||
selectedRadioButton->Focus(options, CallerType::System,
|
||||
error);
|
||||
selectedRadioButton->Focus(options, error);
|
||||
rv = error.StealNSResult();
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
rv = DispatchSimulatedClick(selectedRadioButton,
|
||||
|
||||
Reference in New Issue
Block a user