Firefox contains a function toJSON that exists inside the performance.ti...

...ming object. Checking for numerical property types should prevent any similiar issue.