Closed
Bug 1803092
Opened 2 years ago
Closed 2 years ago
We should handle error case of requestFullscreen
Categories
(GeckoView :: General, defect)
Tracking
(firefox109 fixed)
RESOLVED
FIXED
109 Branch
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 file)
I found this issue when writing test of bug 1744288.
When full screen mode is entered, we call windowUtils.handleFullscreenRequests(). But we don't check any error, so if this causes error (return false), Gecko's fullscreen state is unexpected.
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → m_kato
Assignee | ||
Comment 1•2 years ago
|
||
Actually, we don't check whether handleFullscreenRequests
is successful. Then,
when it causes an error, GeckoView cannot enter full screen again since current
document's fullscreen state isn't updated.
If it causes an error, we should clean up the state like Firefox desktop.
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/37310 for changes under testing/web-platform/tests
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox109:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•