W3C home > Mailing lists > Public > public-media-capture@w3.org > October 2014

Re: Strawman Promises consensus position, based on Thursday's telechat

From: Chris Wilson <cwilso@google.com>
Date: Mon, 6 Oct 2014 07:52:04 -0700
Message-ID: <CAJK2wqU3iTeDpMiHBQCkXcwWJunArws+yDKSo_iNfGT2BhzGWg@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: Eric Rescorla <ekr@rtfm.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
I support moving to Promises sooner rather than later.

To be fair, though, just claiming "people are using the prefixed variant"
isn't totally representative - all they need is "navigator.getUserMedia =
navigator.getUserMedia || navigator.webkitGetUserMedia ||
navigator.mozGetUserMedia;" somewhere in their JS, and they can act as if
it's unprefixed.  The Promises changeover will be a bit more impactful.

In the changes we've made to Web Audio, the unprefixing was actually pretty
painless; the removal of old enumerated types, old method names, etc., was
a lot more problematic, since in some cases it required changing logic
(particularly with the removal of the synchronous decoding API).

On Sun, Oct 5, 2014 at 12:32 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

> On Sat, Oct 4, 2014 at 9:01 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> > On Fri, Oct 3, 2014 at 11:28 PM, Anne van Kesteren <annevk@annevk.nl>
> wrote:
> >> Can someone explain to me what the point of not deprecating a
> >> known-bad-thing is?
> >
> > There's not universal agreement that it's bad and people are actually
> > using it.
> Every single new API is using promises. Can you provide evidence to
> the contrary outside this WG?
> And again, people are using the prefixed variant. Some migration will
> have to happen.
> --
> https://annevankesteren.nl/
Received on Monday, 6 October 2014 14:52:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:30 UTC