#javascript
- The date that was yesterday until 3amA one-line date bug that only existed between midnight and 03:00, in an app whose heaviest users work nights. Then my fix for it turned out to be wrong in two of the three places I applied it.
- Enforcing a Content-Security-Policy without noncesMy app's pages each carried thousands of lines of inline JavaScript, which is exactly what a strict Content-Security-Policy forbids. Getting to an enforcing policy took one line of JSON per page and no nonce machinery at all.
- Safari could not download the fileA download button in an app I maintain failed on a Mac with WebKitBlobResource error 1. The fix was to delete code: the server had been able to do the job by itself all along.