Closed at46 closed 6 years ago
Can you check if it still happens in v7.18.1?
Still the same with 7.18.1. Only the number changed:
TypeError: context is undefined esgst.js:39952:5
Does this prevent the menu from opening or does the menu open fine?
If it opens fine, can you detect anything that might be missing?
Settings menu opens fine and as far as I can see / have used the settings everything is there and works as intended. Error is still there with 7.19.0:
TypeError: context is undefined esgst.js:40465:5
Utils: Failed to serialize principal '[xpconnect wrapped nsIPrincipal]' [Exception... "Could not convert JavaScript argument arg 0 [nsISerializationHelper.serializeToString]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: resource://gre/modules/sessionstore/Utils.jsm :: serializePrincipal :: line 122" data: no]
Still an issue? I cannot reproduce at all. Would be helpful if you shared your settings so I can try to reproduce.
With 7.20.5:
TypeError: context is undefined esgst.js:39634:5
Utils: Failed to serialize principal '[xpconnect wrapped nsIPrincipal]' [Exception... "Could not convert JavaScript argument arg 0 [nsISerializationHelper.serializeToString]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: resource://gre/modules/sessionstore/Utils.jsm :: serializePrincipal :: line 122" data: no]
esgst_settings_2018-06-04T20_47_28.504Z.zip
Since everything seems to work I would consider this low priority
Please post the output from the console in the latest version.
The output changed with 7.22.0 console.txt
Oh, wait, this error only happens when you open the actual settings page (https://www.steamgifts.com/esgst/settings)? Not when you open the popup through the normal SG pages?
No error when using the popup but error when using the new tab. I thought I had that written in my first post but seems I missed to clarify it completely. I always use 8.20 "Open settings menu in a separate tab". Sorry that I forgot to mention that.
Ah ok, then I have that error as well. It's because it doesn't find a header to insert the ESGST button in that page. I'll fix it for the next version.
FF59 with ESGST addon 7.17.8.