Calling performance.now() is failing in Audio Worklets. However the inferior Date.now() does exist there.
It would be great to get performance.now() there as well, since most audio applications are likely about calculating audio synthesis timing, so will be looking at precise wallclock times, rather than imprecise Date calculations.