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

I think it might be sufficient to just IPC over to Android and do the call to `setRequestedOrientation()` and then resolve the promise in the task that’s doing the request. Even if it doesn’t change, it should prevent the race condition with `.exitFullScreen()`. 

So, we would just return the promise here, instead of dropping it on the floor:
https://github.com/mozilla/gecko-dev/blob/master/dom/base/ScreenOrientation.cpp#L377



-- 
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-513947948

Received on Monday, 22 July 2019 20:48:30 UTC