RE: [screen-orientation] screen orientation angle

It would be a shame to continue the trend of verbose web APIs. lockOrientation is nice. If it fails, the promise is rejected. Many operations can fail; this is not an argument for prefixing them with "request." Just lock the orientation. If there's a problem locking it, we'll deal with it :)

(But I admit the ship may have sailed and verbose web APIs is the precedent we must stick with.)

> MIDIAccessPromise requestMIDIAccess(optional Dictionary options);

I am very curious what a MIDIAccessPromise is and how Blink implements it. It is not part of the ES6 promises spec.

Received on Tuesday, 26 November 2013 17:09:11 UTC