Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug.
Bug 1009628 - Part 2: Asynchronous tab switching for tabbrowser that waits on MozAfterRemotePaint to fire from a remote browser. r=dao, Enn.
Bug 1009628 - Part 3: Tests for XUL deck changes. r=Enn.