Bug 1564391 - Rename internal uses of mozInputSource. r=emilio,pip-reviewers,tabbrowser-reviewers,dao,kpatenio
This allows us to deprecate `mozInputSource` for the Web while avoiding console warnings for internal uses, which now use the ChromeOnly `inputSource` attribute. Differential Revision: https://phabricator.services.mozilla.com/D183643
This commit is contained in:
@@ -3209,7 +3209,7 @@ void Element::DispatchChromeOnlyLinkClickEvent(
|
||||
/* Cancelable */ true, nsGlobalWindowInner::Cast(doc->GetInnerWindow()),
|
||||
0, mouseEvent->CtrlKey(), mouseEvent->AltKey(), mouseEvent->ShiftKey(),
|
||||
mouseEvent->MetaKey(), mouseEvent->Button(), mouseDOMEvent,
|
||||
mouseEvent->MozInputSource(), IgnoreErrors());
|
||||
mouseEvent->InputSource(), IgnoreErrors());
|
||||
// Note: we're always trusted, but the event we pass as the `sourceEvent`
|
||||
// might not be. Frontend code will check that event's trusted property to
|
||||
// make that determination; doing it this way means we don't also start
|
||||
|
||||
Reference in New Issue
Block a user