I am having the same issue with a .cfg file. I filed an issue with Chromium Here. Unfortunately this is not an issue with the API but the browser itself. They replied that this is intended behavior and they won't fix.