Skip to content

Commit e1a6eec

Browse files
authored
Merge pull request #312 from eehakkin/feature/expose-image-capture-only-to-secure-context
Expose ImageCapture only to secure context
2 parents d5e54a1 + 603e21e commit e1a6eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ For instance, embedding the user’s location in the metadata of the digitzed im
6060
The User Agent must support Promises in order to implement the Image Capture API. Any {{Promise}} object is assumed to have a resolver object, with <code>resolve()</code> and <code>reject()</code> methods associated with it.
6161

6262
<pre class="idl">
63-
[Exposed=Window]
63+
[Exposed=Window, SecureContext]
6464
interface ImageCapture {
6565
constructor(MediaStreamTrack videoTrack);
6666
Promise&lt;Blob&gt; takePhoto(optional PhotoSettings photoSettings = {});

0 commit comments

Comments
 (0)