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

[mediacapture-image] Make PhotoCapabilities object keys enumerable

From: François Beaufort via GitHub <sysbot+gh@w3.org>
Date: Wed, 12 Oct 2016 09:54:10 +0000
To: public-media-capture@w3.org
Message-ID: <issues.opened-182483076-1476266048-sysbot+gh@w3.org>
beaufortfrancois has just created a new issue for 
https://github.com/w3c/mediacapture-image:

== Make PhotoCapabilities object keys enumerable ==
It would be nice if we could simply use `JSON.stringify` on the object
 returned by `getPhotoCapabilities`.

```js
imageCapture.getPhotoCapabilities().then(photoCapabilities => {
  console.log(JSON.stringify(photoCapabilities));
});
```

For now, it simply returns `{}`

Please view or discuss this issue at 
https://github.com/w3c/mediacapture-image/issues/97 using your GitHub 
account
Received on Wednesday, 12 October 2016 09:54:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 12 October 2016 09:54:17 UTC