Open jeroenheijmans opened 1 day ago
I have a hunch, but not a clear idea of what's causing this issue, or how to properly solve it. I presume it is because I rely on mutating an object here:
Especially line 265 (where it crashes).
Perhaps the solution would be to clone the json before I start mutating it like that?
I don't feel much for including Firefox-specific code in the addon to battle this (something with "waiving xray stuff" seems an alternative otherwise).
At this particular moment I have no bandwidth to fix it myself, but would welcome a simple PR that would fix things.
Luckily it seems Firefox will load the addon after a single refresh.
In Firefox the addon sometimes fails to load. It reliably fails the first time a leaderboard should be loaded for the first time.
Reproduce
Steps to reproduce this bug:
Relevant console output:
In a screenshot:
Details
At least reproducible on:
Further resources
https://firefox-source-docs.mozilla.org/dom/scriptSecurity/xray_vision.html