Bug 842627 - On cold app launch, wait for the app to be loaded and
painted before screenshoting.
r=vingtetun
Merge pull request #8192 from etiennesegonzac/wm-level-optims

Bug 842627 - On cold app launch, wait for the app to be loaded and painted before screenshoting.