-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FF103 Errors are serializable (support structuredClone) #17008
Conversation
@queengooborg FYI - would be good to get review on this when you are ready. |
They are serializable from FF103. FF104 can clone |
Hi @zloirock - I just noticed I got this wrong - fixed. |
That's incorrect. We will support stack in 104 not just Nightly. But only in |
Ah, thanks @evilpie . Apologies @zloirock I misinterpreted:
So is this right? (just to be very clear):
So for FF103 we'd have a note like this one: https://github.com/mdn/browser-compat-data/pull/17008/files#r922916460 - for FF104 we will update again. |
IIRC |
Correct. There was no stack serialization support at all in FF103 in Nightly or otherwise. 104 supports structuredClone and window.postMessage. |
c2f563f
to
3d2b2cd
Compare
@queengooborg This is now ready for review. |
FF103 adds support for serializing native error classes in https://bugzilla.mozilla.org/show_bug.cgi?id=1556604#c33
Note that
name
,message
,cause
,fileName
,lineNumber
andcolumnNumber
). Thestack
property is still only supported in nightly.errors
field.Related docs work can be tracked in #18208