Bug 1842546 - Removed dom.input_events.beforeinput.enabled pref. r=dom-core,webidl,smaug,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D183578
This commit is contained in:
@@ -2859,7 +2859,6 @@ bool TextControlState::SetValueWithoutTextEditor(
|
||||
nsString inputEventData(aHandlingSetValue.GetSettingValue());
|
||||
if (aHandlingSetValue.ValueSetterOptionsRef().contains(
|
||||
ValueSetterOption::BySetUserInputAPI) &&
|
||||
StaticPrefs::dom_input_events_beforeinput_enabled() &&
|
||||
!aHandlingSetValue.HasBeforeInputEventDispatched()) {
|
||||
// This probably occurs when session restorer sets the old value with
|
||||
// `setUserInput`. If so, we need to dispatch "beforeinput" event of
|
||||
|
||||
Reference in New Issue
Block a user