import changes from `dev' branch of rmottola/Arctic-Fox:

- Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug (cc4346fac9)
- Bug 1235899 - Don't allow frame reconstruction to clobber the APZ scroll offset. r=botond (4c4de0dedd)
- Bug 1073224 - [1.2] Use SENSOR_ROTATION_VECTOR for DOM DeviceOrientation events on Android. r=vlad (0362a236bc)
- Bug 1073224 - [2.1] Accept rotation vector device sensor listeners in tests. r=vlad (de453a3439)
- Bug 1205649 - [1.1] Use relative orientation for DOM DeviceOrientation events by default. r=vlad (cf903846b3)
- Bug 1205649 - [2.4] Add AbsoluteDeviceOrientation DOM event for compass heading orientation data. r=smaug (fa19ea545f)
This commit is contained in:
2023-11-10 16:18:39 +08:00
parent 6886edf464
commit 523ec15e9c
50 changed files with 269 additions and 102 deletions
+1 -1
View File
@@ -873,7 +873,7 @@ nsTextInputListener::HandleEvent(nsIDOMEvent* aEvent)
}
WidgetKeyboardEvent* keyEvent =
aEvent->GetInternalNSEvent()->AsKeyboardEvent();
aEvent->WidgetEventPtr()->AsKeyboardEvent();
if (!keyEvent) {
return NS_ERROR_UNEXPECTED;
}