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
@@ -354,7 +354,7 @@ nsPluginCrashedEvent::Run()
PluginCrashedEvent::Constructor(doc, NS_LITERAL_STRING("PluginCrashed"), init);
event->SetTrusted(true);
event->GetInternalNSEvent()->mFlags.mOnlyChromeDispatch = true;
event->WidgetEventPtr()->mFlags.mOnlyChromeDispatch = true;
EventDispatcher::DispatchDOMEvent(mContent, nullptr, event, nullptr, nullptr);
return NS_OK;