- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Thu, 26 Feb 2015 12:43:04 +0100
- To: Stefan HÃ¥kansson LK <stefan.lk.hakansson@ericsson.com>
- Cc: Harald Alvestrand <harald@alvestrand.no>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On Thu, Feb 26, 2015 at 12:33 PM, Stefan HÃ¥kansson LK <stefan.lk.hakansson@ericsson.com> wrote: > What is supposed to happen if you do: > > var p = navigator.mediaDevices.getUserMedia(options); > > followed by > > p.constructor.reject(); There's no public way to reject p. Promise.reject() is a static method to create an instance of a rejected promise. -- https://annevankesteren.nl/
Received on Thursday, 26 February 2015 11:43:28 UTC