Created attachment 224072 [details]
Patch from Gentoo with leading /s removed.
As outlined in the Mozilla bug
And solved in this Gentoo bug
Without it being marked public, the StructuredClone stuff can't be used. I've attached the slightly modified patch from the Gentoo report, which I have tested by dropping into the lang/spidermonkey78/files directory.