Closed Bug 1767449 Opened 3 years ago Closed 2 years ago

Turn on dom.screenorientation.allow-lock=true in GeckoView Nightly

Categories

(GeckoView :: General, enhancement, P2)

Unspecified
Android
enhancement

Tracking

(firefox110 wontfix, firefox111 fixed)

RESOLVED FIXED
111 Branch
Tracking Status
firefox110 --- wontfix
firefox111 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

(Blocks 1 open bug)

Details

(Whiteboard: [geckoview:2022h2?])

Attachments

(1 file)

Fenix has implemented orientation delegate via https://github.com/mozilla-mobile/fenix/issues/23415. We should enable this pref in Nightly at least.

Makoto, are there known bugs we need to fix before this feature is ready to ride the trains to Beta and Release?

Severity: -- → S3
Flags: needinfo?(m_kato)
Priority: -- → P2

I think most issues were done for nightly.

I think we need to fix bug 1750670 and bug 1763052 (this causes WPT failures) at least if we turn on this pref in all channels.
And I guess bug 1744288 is optional, it may occur on youtube.com (YouTube had some issues for orientation lock when I tested it one month ago), So I have to verify it again.

Flags: needinfo?(m_kato)
Whiteboard: [geckoview:2022h2?]

Assigning this bug to Makoto. He will decide whether we need to prioritize it for 2022 H2.

Assignee: nobody → m_kato

Enhancements should have severity N/A.

Severity: S3 → N/A

I would like to enable this API in Nightly for testing.

Supported in GeckoView and Windows tablet mode. Other platforms are no
affect by this preference. WPT [*1] runs on non-supported platform, so
a lot of tests are failure. (GeckoView passes a lot of tests [*2].)

Also, there is an issue of hidden document [*2], it isn't fixed by spec
side yet.

*1 https://wpt.fyi/results/screen-orientation
*2 https://searchfox.org/mozilla-central/source/testing/web-platform/meta/screen-orientation
*3 https://github.com/w3c/screen-orientation/pull/232

Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/7b15c072a2d8 Turn on screen.orientation.lock in Nightly. r=smaug
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch

Release Note Request (optional, but appreciated)
[Why is this notable]: New web developer functionality
[Affects Firefox for Android]: only
[Suggested wording]: all ready added to the 111 relnote doc
[Links (documentation, blog post, etc)]:

https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock needs updating to show support.

Regressions: 1819254
No longer regressions: 1819254

(In reply to Kevin Brosnan [:kbrosnan] from comment #8)

Release Note Request (optional, but appreciated)
[Why is this notable]: New web developer functionality
[Affects Firefox for Android]: only
[Suggested wording]: all ready added to the 111 relnote doc
[Links (documentation, blog post, etc)]:

https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock needs updating to show support.

This is only Nightly, so I don't turn on this on release channel yet.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: