pdf.js tries to send test array (we can also do that to figure out the strategy).
if it fails, they just disable worker.
That's what I'd also do.