Firefox contains a function toJSON that exists inside the performance.timing object. Checking for numerical property types should prevent any similiar issue.