Safari 10.1 seems to send now an error when accessing to the `localstorage` object when loading a local file. note: a workaround is to activate local file access from the developer tool menu.