- From: Domenic Denicola <domenic@domenicdenicola.com>
- Date: Tue, 26 Nov 2013 17:08:36 +0000
- To: Kenneth Rohde Christiansen <kenneth.christiansen@gmail.com>, "Mounir Lamouri" <mounir@lamouri.fr>
- CC: public-webapps <public-webapps@w3.org>
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