LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Seamonkey: "ReferenceError: structuredClone is not defined" (https://www.linuxquestions.org/questions/programming-9/seamonkey-referenceerror-structuredclone-is-not-defined-4175725790/)

MakeTopSite 06-07-2023 04:05 AM

Seamonkey: "ReferenceError: structuredClone is not defined"
 
on jsx code:

Code:

const clone = structuredClone(someVariable);
This code works in Firefox, Chromium.

Seamonkey is not present in the Browser compatibility list:
https://developer.mozilla.org/en-US/...tructuredClone

Does it please mean this function is not supported in Seamonkey ?

astrogeek 06-07-2023 11:03 AM

The first question I would ask is whether it works in Seamonkey. Have you tried it?

I doubt anyone here can give a definitive answer as to why Seamonkey is not included in a list on the Mozilla website. You should direct that question to Mozilla.

dugan 06-07-2023 12:49 PM

I think it's fairly self-evident that yes, that means that that function is not supported in the version of seamonkey you tested with.

Get a polyfill. Or transpile it.

MakeTopSite 06-10-2023 02:09 AM

Quote:

Originally Posted by astrogeek (Post 6435190)
The first question I would ask is whether it works in Seamonkey. Have you tried it?

Yes I posted the result in the first post.

MakeTopSite 06-10-2023 02:11 AM

Quote:

Originally Posted by dugan (Post 6435210)
I think it's fairly self-evident that yes, that means that that function is not supported in the version of seamonkey you tested with.

Get a polyfill. Or transpile it.

Thank you. I'm sorry seamonkey is not present in the Supported Browsers list https://polyfill.io/v3/supported-browsers

boughtonp 06-10-2023 07:52 AM


 
SeaMonkey uses Gecko - the same engine as Firefox.

As per the the SeaMonkey FAQ, the second digit in the version number corresponds to the Firefox version (with an offset of three), thus the current SeaMonkey 2.53.16 is equivalent to Firefox 56.


MakeTopSite 06-10-2023 09:31 AM

Quote:

Originally Posted by boughtonp (Post 6435792)
SeaMonkey uses Gecko - the same engine as Firefox.

As per the the SeaMonkey FAQ, the second digit in the version number corresponds to the Firefox version (with an offset of three), thus the current SeaMonkey 2.53.16 is equivalent to Firefox 56.


Thank you, Firefox 56 is pretty old and unsecure now. So current SeaMonkey is as secure as Firefox 56 ?

boughtonp 06-10-2023 10:03 AM


 
Security cannot be simplified to version numbers and age.

It is clear SeaMonkey makes regular releases and they explicitly state that they backport important fixes from newer Firefox versions.

The reason SeaMonkey is based on Firefox 56 is probably because Firefox 57 is when Mozilla introduced major changes with Quantum.


MakeTopSite 07-12-2023 02:24 AM

Quote:

Originally Posted by boughtonp (Post 6435816)
Security cannot be simplified to version numbers and age.

It is clear SeaMonkey makes regular releases and they explicitly state that they backport important fixes from newer Firefox versions.

The reason SeaMonkey is based on Firefox 56 is probably because Firefox 57 is when Mozilla introduced major changes with Quantum.


thank you.


All times are GMT -5. The time now is 03:05 AM.