Move capturing the window into the parent process to use the new drawSnapshot API. Differential Revision: https://phabricator.services.mozilla.com/D104734
mozilla-central