Bug 952192 - getObjectPrincipal should be script callable. r=bholley