ensure storage is writable when setting $supports_html5_storage. fixes #6755