User Timing API in workers might expose high resolution time to content

We should ensure that the User Timing API used in workers is disabled there as well.

See: legacy/trac#18597 (moved) for the testing.