Gecko's one is here:
https://searchfox.org/mozilla-central/source/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoScreenOrientation.java#258
Looking at `unlock()`, it's basically identical to `lock()` - which includes a confirmation of actual unlocking. So seem totally feasible to return the promise. I've emailed there person who implemented it at Mozilla to get confirmation.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/issues/104#issuecomment-458834299