Set devtools.responsive.metaViewport.enabled pref to true
Categories
(DevTools :: Responsive Design Mode, enhancement, P2)
Tracking
(firefox72+ fixed)
People
(Reporter: bradwerth, Assigned: bradwerth)
References
(Depends on 2 open bugs, Blocks 1 open bug)
Details
Attachments
(3 files)
When RDM handling of meta viewport is more stable, we should flip this pref to true. A setting of true allows meta viewport handling to be turned on and off via the docShell, which is how Responsive Design Mode works.
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
The updated pref now controls whether or not RDM attempts a meta viewport override. Setting it to true will restore that behavior (as initially implemented without a pref in Bug 1290420).
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Changing the priority to p2 as the bug is tracked by a release manager for the current nightly.
See What Do You Triage for more information
Comment 3•6 years ago
|
||
[Tracking Requested - why for this release]: We are slipping to 72 and therefore do not require to track 71 anymore.
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Now that all of the important metaViewport simulation bugs have been fixed, we would
like to let feature ride the trains, enabled by default.
This means we can also stop setting the pref in tests that rely on it.
| Assignee | ||
Comment 5•6 years ago
|
||
Michael, we have a gradual rollout of this pref flip tracked in Bug 1580419. When you and I discussed that, you suggested that the Experimenter-managed pref flip would start on or near the FF 72 rollout date of January 7th. Is it useful and correct for us to turn the pref on in Nightly now? Perhaps as a nightly-only pref?
Comment 6•6 years ago
|
||
Sorry, I guess I wasn't clear when we talked. I would recommend making the change in Nightly on or after January 7th. The goal is that in 72 we change the preference via Normandy, and that a later Firefox version will have that preference change as the built in value. The exact timing isn't important. What's important is that if we do a rollout in 72, then one of the next few major versions has the same change. The normal pattern is that when the rollout begins in 72, we would change the pref in Nightky 74 so that it can ride the trains as well. It would also be fine to do that in Nightly 73.
Comment 7•6 years ago
|
||
Thanks Michael. I've got one question though: if we enabled the pref in nightly 74 and let it ride the trains, does that mean that rollout will continue being effective all throughout 72 and 73, and then would just get disabled as the "real pref" reaches release with 74?
Additionally: we would like to use nightly and beta/devedition to test the feature. Which is why I wanted to enable the pref right now. The feedback we'll get from users on nightly and devedition is going to be important for us to understand how the feature performs, even before we do a gradual rollout in release.
Do you recommend turning it on only in pre-release channels then?
Comment 8•6 years ago
|
||
if we enabled the pref in nightly 74 and let it ride the trains, does that mean that rollout will continue being effective all throughout 72 and 73, and then would just get disabled as the "real pref" reaches release with 74?
The rollout will be active for all those versions. When a user upgrades to 74 the rollout is said to "graduate", as it becomes built-in. It's different than disabling the rollout.
Additionally: we would like to use nightly and beta/devedition to test the feature. Which is why I wanted to enable the pref right now. The feedback we'll get from users on nightly and devedition is going to be important for us to understand how the feature performs, even before we do a gradual rollout in release.
Do you recommend turning it on only in pre-release channels then?
In that case, there is no problem updating the pref in prerelease versions early. Go for it.
Comment 9•6 years ago
|
||
Thanks Michael! I have updated https://phabricator.services.mozilla.com/D53005 according to this.
Brad, please take a look and let me know if it works for you. We need to land this in 72 before the freeze (or very early within it).
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Backed out changeset 1f45ebce0c2d (Bug 1521934) for causing devtools failures in responsive/test/browser
Backout link: https://hg.mozilla.org/integration/autoland/rev/bb3adec7e2e28ef49f1affa26affe96095108d8f
Failure logs:
| Assignee | ||
Comment 12•6 years ago
|
||
I'll add a part to the bug to try to resolve these failures.
Comment 13•6 years ago
|
||
I have some tests failing locally too, but not the ones from the failure logs above ... I have to look into it more closely.
| Assignee | ||
Comment 14•6 years ago
|
||
| Assignee | ||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Depends on D54630
Comment 17•6 years ago
|
||
I think the only permafails were browser_device_custom_edit.js and browser_scroll.js ?
The patch in part2 fixes browser_scroll.js, the patch in part3 fixes browser_device_custom_edit.js
browser_device_width.js and browser_preloaded_newtab.js seem to be existing intermittents, and I don't think they spiked during the window where the initial patch landed ? (see the window at https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunning%2Cpending%2Crunnable&tochange=b4755981c1382cb88fed4e4fcff3ba73779b2080&searchStr=dt&fromchange=1f45ebce0c2dfa164ed6a8373e3bdb7f9b008fb8&selectedJob=277996178)
Consequently I don't know if we need to block this on Bug 1599281, IMO we could attempt to reland this.
Linux debug try with retriggers: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ab2005860673b9bf7f0178a17d0c9ce00f0ff41c
Devtools preset try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=41bc7b30fdb921956feee4d2bb6845419555e0e5
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ebc6e61b2cde
https://hg.mozilla.org/mozilla-central/rev/8545df748c79
https://hg.mozilla.org/mozilla-central/rev/8ec262f5d183
Updated•6 years ago
|
Description
•