As a follow on to https://www.drupal.org/node/462950
JS errors below when inline JS (drupal settings) is inserted into the page:
Refused to execute script from 'http://dev.example.localhost/' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Possibly related to https://bugs.chromium.org/p/chromium/issues/detail?id=180007#c14
Chrome 50.0.2661.102 (64-bit), Ubuntu 16.04
This is particularly hard to reproduce because it occurs in my VM, but not on any other similarly provisioned VMs or similarly provisioned servers. Uploaded the difference in headers between my VM with the above issue and server without, same code in both scenarios.