I’d be hard pressed to open a cold emailed PDF. Out of curiosity does anyone have a good way to inspect them prior to downloading?
A giant infographic image of screenshots can convey the same information with less friction.
Probably pdf.js is more secure, as it is more modern than the HTML/js engine, it contains less legacy code, it is written in a higher level language, and they could implement a safer subset of the pdf standard, than they could do with the HTML/js standards.
If you're sending to people who currently aren't hiring, or are never part of the hiring process, and didn't ask for your resume -- I hope they don't open it, but they probably will.