Will this workaround break anything?

Board for discussions around the Basilisk web browser.

Moderator: satrow

User avatar
helloimustbegoing
Board Warrior
Board Warrior
Posts: 1896
Joined: Thu, 28 Jun 2012, 01:20

Will this workaround break anything?

Unread postby helloimustbegoing » Fri, 04 May 2018, 22:34

The background to this question is this thread about a bug I posted here. With the help of some members of the Mint forum, I found out a workaround. The workaround is to make the file xulstore.json found in the profile folder "read only." I've done that on Firefox ESR but not yet on Basilisk. My question is this: are there any drawbacks to making this file read only that I haven't come across yet?

Also I hope this workaround will give some clues as to how this bug can be solved. :)

User avatar
adesh
Astronaut
Astronaut
Posts: 569
Joined: Tue, 06 Jun 2017, 07:38

Re: Will this workaround break anything?

Unread postby adesh » Sat, 05 May 2018, 13:24

https://support.mozilla.org/en-US/kb/firefox-support-troubleshooting-guide#w_reset-xulstore-or-localstore-file wrote:The xulstore.json file in the Firefox profile folder stores information about toolbars, window positioning, and other interface elements in Firefox 34 and above (the localstore.rdf file was used in previous versions). If changes to toolbars and window sizes are not saved, toolbar icons are missing, or if there are strange problems with the browser interface, resetting this file can help.

So, there should not be any problems other than missing out any interface changes you make (unless the browser considers the file being read-only as a critical condition).

User avatar
helloimustbegoing
Board Warrior
Board Warrior
Posts: 1896
Joined: Thu, 28 Jun 2012, 01:20

Re: Will this workaround break anything?

Unread postby helloimustbegoing » Sat, 28 Jul 2018, 22:22

So after all this time I made the file xulstore.json "read only" just today. Right after doing that, I noticed I was still on the older version of Decentraleyes (1.4.1). When I tried to update it with the same .xpi file I used for Pale Moon, I got a message that it wasn't compatible which perplexes me because I'm pretty sure I used the same .xpi on both browsers last time. Anyway I downloaded the version marked for FF from here, and that one installed, but then I had both versions (1.4.1 and 1.4.2) installed. I had to manually remove version 1.4.1.

My question is, did making xulstore.json "read only" cause this issue?

User avatar
helloimustbegoing
Board Warrior
Board Warrior
Posts: 1896
Joined: Thu, 28 Jun 2012, 01:20

Re: Will this workaround break anything?

Unread postby helloimustbegoing » Thu, 02 Aug 2018, 22:48

I wrote:
So after all this time I made the file xulstore.json "read only" just today. Right after doing that, I noticed I was still on the older version of Decentraleyes (1.4.1). When I tried to update it with the same .xpi file I used for Pale Moon, I got a message that it wasn't compatible which perplexes me because I'm pretty sure I used the same .xpi on both browsers last time. Anyway I downloaded the version marked for FF from here, and that one installed, but then I had both versions (1.4.1 and 1.4.2) installed. I had to manually remove version 1.4.1.

My question is, did making xulstore.json "read only" cause this issue?

I'll answer my own question. I just updated Decentrayleyes on my wife's Firefox ESR, and the same thing happened, so I guess the answer is "no." I will ask about what happened on the Decentrayleyes thread.

User avatar
therube
Astronaut
Astronaut
Posts: 683
Joined: Fri, 08 Jun 2018, 17:02

Re: Will this workaround break anything?

Unread postby therube » Fri, 03 Aug 2018, 11:34

When I tried to update it with the same .xpi file I used for Pale Moon, I got a message that it wasn't compatible

Does Basilisk use it's own UUID (GUID, whatever it might be called)?

The "PM" Decentraleyes only lists <em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id> (& 27 to 28 at that).

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22424
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Will this workaround break anything?

Unread postby Moonchild » Fri, 03 Aug 2018, 11:37

Basilisk uses the Firefox GUID
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
therube
Astronaut
Astronaut
Posts: 683
Joined: Fri, 08 Jun 2018, 17:02

Re: Will this workaround break anything?

Unread postby therube » Fri, 03 Aug 2018, 11:53

Then that explains why a PM specific version (no mention of "FF") will not install in Basilisk.


Return to “Basilisk”

Who is online

Users browsing this forum: No registered users and 3 guests