Closed Bug 1721571 Opened 4 years ago Closed 4 years ago

Remove ResponsiveActor (get|set|clear)MetaViewportOverride

Categories

(DevTools :: Responsive Design Mode, task)

task

Tracking

(firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(1 file)

The functions are only called from updateTouchSimulation (devtools/client/responsive/ui.js#887-894) and they're always called before the call to updateConfiguration for touch simulation, based on the touch simulation value.
This means we can directly set the proper flag on the docShell in BrowsingContextTargetActor#updateTargetConfiguration before handling touch simulation.

The functions were only called from RDM ui updateTouchSimulation, before
the call to updateConfiguration for touch simulation, based on the touch simulation value.
This means we can directly set the proper flag on the docShell in
BrowsingContextTargetActor#updateTargetConfiguration before handling touch simulation.

The devtools.responsive.metaViewport.enabled pref is removed, as it was set to
true by default, and wasn't exposed in any UI.

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6218cc162c20 [devtools] Remove ResponsiveActor (get|set|clear)MetaViewportOverride. r=ochameau,devtools-backward-compat-reviewers.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: