Re: [w3c/screen-orientation] Promise for unlock()? (#104)

@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

Received on Wednesday, 30 January 2019 11:07:02 UTC