Bug 1028002 - Make sure an appWindow is in 'opened' state once we got the animationend and mozbrowserloadened instead of waiting for the opening timeout.
Merge pull request #20901 from etiennesegonzac/bug-1028002

Bug 1028002 - Make sure an appWindow is in 'opened' state once we got the animationend and mozbrowserloadened instead of waiting for the opening timeout. r=timdream