Open
Bug 1571985
Opened 6 years ago
Updated 3 years ago
Clean up Screen Orientation implementation
Categories
(Core :: DOM: Core & HTML, task, P3)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: marcosc, Unassigned)
References
Details
Please see:
https://bugzilla.mozilla.org/show_bug.cgi?id=1564621#c4
We are unsure as to the actual cause of the crash, but we suspect that when fullscreen exists,
the even listener is not being called. That was leaving mFullscreenListener alive when the DTOR gets called
hitting the MOZ_ASSERT(!mFullscreenListener).
We now always all call UnlockDeviceOrientation() in the DTOR to ensure that:
- hal::UnlockScreenOrientation() gets called.
- mFullscreenListener gets null'ed
- we RemoveSystemEventListener() for "fullscreenchange".
However, we shouldn't need to do the above... "fullscreenchange" should have fired and called Unlock for us.
Reporter | ||
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Type: defect → task
Updated•3 years ago
|
Severity: normal → S3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•