Closed Bug 1688948 Opened 5 years ago Closed 4 years ago

Only set BrowsingContext's TouchEventsOverrideInternal from the parent

Categories

(Core :: DOM: Navigation, task, P3)

task

Tracking

()

RESOLVED FIXED
91 Branch
Fission Milestone MVP
Tracking Status
firefox91 --- fixed

People

(Reporter: smacleod, Assigned: edgar)

References

Details

Attachments

(1 file)

The proper fix for Bug 1677774 is to update all the callers and restructure things so that TouchEventsOverrideInternal is only set from the parent. While doing this BrowsingContext::CanSet for the field should be changed to reflect this (return XRE_IsParentProcess() && !aSource)

Fission Milestone: --- → ?
Summary: Only set BrowsingContext's TouchEventsOverrideInteral from the parent → Only set BrowsingContext's TouchEventsOverrideInternal from the parent

Fission MVP

Fission Milestone: ? → MVP
Severity: -- → N/A
Priority: -- → P3

Edgar, can you please review this and confirm if MVP is an accurate milestone for this, or should this block release experiment (M8)?

Flags: needinfo?(echen)

I don't think it is a blocker of release experiment (M8).
touchEventOverride is only used by devtools, and devtools now only set it on parent process after bug 1704733.
But this bug should be easy to fix, taking it.

Assignee: nobody → echen
Flags: needinfo?(echen)
Depends on: 1704733
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9ff299f97edd Only allow BrowsingContext's TouchEventsOverrideInternal to be set from the parent process; r=nika

Backed out for causing bc failures on browser_tab_touch_events.js.

Push with failures

Failure log

Backout link

Flags: needinfo?(echen)
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cf63fe018162 Only allow BrowsingContext's TouchEventsOverrideInternal to be set from the parent process; r=nika
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: