@Johanna-hub and I went poking around the DOM implementation... basically `unlock()` calls into our HAL (hardware abstraction layer):
https://searchfox.org/mozilla-central/source/hal/Hal.h#244
And for whatever reason (probably the reason @mounirlamouri gave :)), the Hal definition of `unlock()` is fire and forget (no return value):
```
void UnlockScreenOrientation();
```
This doesn't seem to align with the Java side tho... which does return a boolean for unlock. Trying to find out more.
--
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-458904948