Check capture type before it's potentially changed. (#3968)
Check capture type before it's potentially changed. (#3968)

mozilla-services/pageshot,mozilla-services/pageshot,mozilla-services/screenshots,mozilla-services/pageshot,mozilla-services/screenshots,mozilla-services/pageshot,mozilla-services/screenshots,mozilla-services/screenshots