Bug 742444 - Rejigger unsafeWindow definition to not rely on passing waivers across origins. r=gabor