Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Hmm. I couldn't find an indication of whether this requires Secure Context (ie only works with HTTPS or localhost) ?

Secure Context seems (coupled with the permission check) like it's an appropriate requirement here but I didn't see whether it's actually enforced, and obviously as an HTML attribute rather than say a Javascript API it might have been forgotten.



MDN [1] does not list the Screen Capture API, so presumably the capture HTML element is not included either.

[1] https://developer.mozilla.org/en-US/docs/Web/Security/Secure...


Secure context has never applied for form data and i see no reason why it would here.

If it's acceptable to send the picture as a file upload over http then i see no reason why it wouldn't be acceptable to send a webcam captured picture.

Why do you think it should or would?




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: