Bug 972341 - Mark a hidden window's docShell as inactive r=bz
Bug 972341 - Propagate docShell.isActive to remote browsers
Bug 972341 - Simplify changes from bug 910036 to use document.hidden r=adw