Support application/x-javascript for the text review UI
Review Request #9611 — Created Feb. 10, 2018 and submitted — Latest diff uploaded
JavaScript files seem to have mimetype
application/x-javascriptwhen
uploaded instead of the oldtext/javascript. This patch makes
JavaScript files uploaded as attachments viewable and reviewable again.
Uploaded a JavaScript attachment and saw it was detected as
application/x-javascript. With this patch I was able to review it