works on FF!! key thing was... to add indexedDB permission...

(I guess FF uses the DB in the backend? it makes async errors work...)
This commit is contained in:
Omar Rizwan 2020-10-22 19:54:37 -07:00
parent 8bbcaf9343
commit 543dc7d4b2
3 changed files with 2 additions and 3 deletions

View file

@ -294,7 +294,6 @@ function log(...ss) {
}
let port;
/* let ws;*/
async function onMessage(req) {
log('req', req);

View file

@ -5,7 +5,7 @@
"description": "Connects to TabFS filesystem",
"version": "1.0",
"permissions": ["tabs", "debugger", "nativeMessaging"],
"permissions": ["tabs", "debugger", "nativeMessaging", "unlimitedStorage"],
"browser_action": {},

View file

@ -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);
}