Content scripts are allowed to run on file:-URLs, but other forms of file access from extensions are not allowed. This has been the behavior for a while, but there were no tests. This commit adds tests to ensure that the functionality continues to work as intended. Differential Revision: https://phabricator.services.mozilla.com/D54541