From 543dc7d4b2a5bc2c3166b512678f9bdd9a86beda Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Thu, 22 Oct 2020 19:54:37 -0700 Subject: works on FF!! key thing was... to add indexedDB permission... (I guess FF uses the DB in the backend? it makes async errors work...) --- extension/background.js | 1 - extension/manifest.json | 2 +- fs/tabfs.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/extension/background.js b/extension/background.js index b0ce713..f3db46c 100644 --- a/extension/background.js +++ b/extension/background.js @@ -294,7 +294,6 @@ function log(...ss) { } let port; -/* let ws;*/ async function onMessage(req) { log('req', req); diff --git a/extension/manifest.json b/extension/manifest.json index 7900406..f99567b 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -5,7 +5,7 @@ "description": "Connects to TabFS filesystem", "version": "1.0", - "permissions": ["tabs", "debugger", "nativeMessaging"], + "permissions": ["tabs", "debugger", "nativeMessaging", "unlimitedStorage"], "browser_action": {}, diff --git a/fs/tabfs.c b/fs/tabfs.c index dcd55a8..3e5c243 100644 --- a/fs/tabfs.c +++ b/fs/tabfs.c @@ -240,6 +240,6 @@ main(int argc, char **argv) for (int i = 0; i < argc; i++) { fprintf(log, "arg%d: [%s]\n", i, argv[i]); fflush(log); } - char* fuse_argv[] = {argv[0], "-odirect_io", "-s", "-f", "mnt"}; + char* fuse_argv[] = {argv[0], "-odirect_io,noappledouble", "-s", "-f", "mnt"}; return fuse_main(5, fuse_argv, &tabfs_filesystem_operations, NULL); } -- cgit v1.2.3