mozilla-b2g/gaia — pull request #1959 by davidflanagan (2012-06-26 23:30:07+00:00)
Title: new version of screenshot code

This pull request modifies the screenshot code in apps/system/js/screenshot.js to match the shell.js changes in https://bugzilla.mozilla.org/show_bug.cgi?id=768701

Please land this change at around the same time that bugzilla bug lands in m-c.

This new version of the screenshot code does the device storage work in Gaia rather than in Gecko. Gecko just passes the screenshot as a blob in a mozChromeEvent and the system app does the work of storing it.