Closed Bug 1606061 Opened 4 years ago Closed 4 years ago

[Fission] Make nsDocShell::SetTouchEventsOverride Fission compatible

Categories

(Core :: DOM: Navigation, defect, P1)

defect

Tracking

()

RESOLVED FIXED
84 Branch
Fission Milestone M6c
Tracking Status
firefox84 --- fixed

People

(Reporter: whimboo, Assigned: smacleod)

References

Details

Attachments

(1 file)

Similar to bug 1605243 using docShell.setTouchEventsOverride turns out to be not Fission compatible because it iterates over the child list:

https://searchfox.org/mozilla-central/rev/c79fc6e32a5b561205a71fcfef9112d34b4037ae/docshell/base/nsDocShell.cpp#2382-2387

Tracking for Fission Nightly (M6)

Fission Milestone: --- → M6
Blocks: 1605784

M6c

Fission Milestone: M6 → M6c

Nika said this can be added to BrowsingContext fields.

Assignee: nobody → smacleod
Status: NEW → ASSIGNED
Priority: P3 → P2
Priority: P2 → P1

This change removes docshell's mTouchEventsOverride and replaces it
with a new BrowsingContext field TouchEventsOverrideInternal.
All uses of the old field have been replaced and an override should
now work under fission when there are cross-origin descendent frames.


Bug 1606061 - move usage of TouchEventsOverride to BrowsingContext.

Pushed by smacleod@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/98f9ddb69629
move TouchEventsOverride to BrowsingContext. r=farre,devtools-backward-compat-reviewers
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Regressions: 1677774
Blocks: 1543337
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: