Open Bug 1882274 Opened 7 months ago Updated 4 months ago

Refactor how we dispatch cross-process eMouseExitFromWidget/eMouseEnterIntoWidget events

Categories

(Core :: DOM: Events, task)

task

Tracking

()

People

(Reporter: edgar, Assigned: edgar)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

There are two place would generate and dispatch cross-process eMouseExitFromWidget/eMouseEnterIntoWidget events,

  1. In EventStateManager::NotifyMouseOut()/NotifyMouseOver() when the related target is a remote frame, see https://searchfox.org/mozilla-central/rev/098f910d0593b12a42089dd8f40dcd19d1121430/dom/events/EventStateManager.cpp#4712-4734.
  2. In EventStateManager::DispatchCrossProcessEvent when the remote target isn't same as the previous remote target, see https://searchfox.org/mozilla-central/rev/098f910d0593b12a42089dd8f40dcd19d1121430/dom/events/EventStateManager.cpp#1667-1713. This is basically introduced for fission to handle mouse moves from on oop iframe to another oop iframe

I think 2) is a more generic way which could also make it cover 1) in theory.

As it is used for dispatching mouse/pointer boundary events.

Assignee: nobody → echen
Attachment #9387345 - Attachment description: Bug 1882274 - Rename DispatchMouseOrPointerEvent to DispatchMouseOrPointerBoundaryEvent; → Bug 1882274 - Rename DispatchMouseOrPointerEvent to DispatchMouseOrPointerBoundaryEvent; r?masayuki,smaug
Attachment #9399072 - Attachment description: Bug 1882274 - Refactor how we dispatch cross-process mouse boundary events; → Bug 1882274 - Refactor how we dispatch cross-process mouse boundary events; r?masayuki,smaug

Comment on attachment 9387345 [details]
Bug 1882274 - Rename DispatchMouseOrPointerEvent to DispatchMouseOrPointerBoundaryEvent; r?masayuki,smaug

Revision D202810 was moved to bug 1899400. Setting attachment 9387345 [details] to obsolete.

Attachment #9387345 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: