[w3c/screen-orientation] Confusiong between "_pending-promise_" and "doc's pending promise" (#94)

In step 6 of "apply an orientation lock", suddenly the variable _pending-promise_ appears. It gets set to something before it is ever initialized. And each document's pending promise is only ever set to null, and never set to a promise.

I think all references to _pending-promise_ are supposed to be to an appropriate document's pending promise.

-- 
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/94

Received on Monday, 7 November 2016 15:26:58 UTC