Bug 986542 - Don't categorically disable script for detached docshells. r=bz