On 23/10/2014 22:10, Jet Villegas wrote:
Roc wrote up a proposal last year for a web-facing screen capture API:
https://wiki.mozilla.org/User:Roc/ScreenCaptureAPI
Even if not web-facing, we could use the implementation code to cover chrome
use cases like this one:
https://bugzilla.mozilla.org/show_bug.cgi?id=933389
At a recent GFx/Layout work week, we discussed using the Compositor to extract
the screen-grab in an efficient, cross-platform manner. It seems we've got
enough infrastructure in place to implement this quickly.
I'd like options on the API to allow for obscuring text layers so that we could
use the images for UI tiles, and other privacy-sensitive use cases.
Kicking off this thread to get a discussion on:
1. Web-facing or not?
Not. Feels like there would be a lot of security issues
2. Security/Privacy concerns
Addon's would need to be flagged for using this API. E.g. what if it did
screenshots when visiting your bank?
3. Implementation concerns
Just for clarification, this would only return the viewport? If so,
would full document (at the time call so we don't have to scroll and get
into a parallax painful world) be doable?
4. Feature requests (eg. blurred or lorem-ipsum text)
David
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform