Bug 838547 - We are only interested to the pagehide event from the root document. r=smaug a=leo+