Bug 1018482 - Switch to release assertions of the security checks in DOMWindowUtils; r=bholley