Bug 946815 - Hoist system-principal checks into CommonTestPermission. r=baku
Bug 946815 - Handle nsIExpandedPrincipal instances in the permission manager API. r=baku