Bug 972478 - Docshell scriptability should only affect non-immune principals. r=bz