title | slug | tags | ||||
---|---|---|---|---|---|---|
Firefox 103 for developers |
Mozilla/Firefox/Releases/103 |
|
{{FirefoxSidebar}}
This article provides information about the changes in Firefox 103 that will affect developers. Firefox 103 is the current Beta version of Firefox and will ship on July 26, 2022.
- Native Error types can now be serialized using the structured clone algorithm.
This includes {{JSxRef("Error")}}, {{JSxRef("EvalError")}}, {{JSxRef("RangeError")}}, {{JSxRef("ReferenceError")}}, {{JSxRef("SyntaxError")}}, {{JSxRef("TypeError")}}, {{JSxRef("URIError")}} and {{JSxRef("AggregateError")}}.
Serialized properties include the
name
,message
,cause
,fileName
,lineNumber
andcolumnNumber
.stack
is only serialized in the nightly builds ({{bug(1774866)}}). For {{JSxRef("AggregateError")}} themessage
,name
,cause
anderrors
properties are serialized See {{bug(1556604)}} for more details.
-
ReadableStream
,WritableStream
,TransformStream
are now Transferable objects, which means that ownership can be transferred when sharing the objects between a window and workers usingpostMessage
, or when using structuredClone() to copy an object. After transferring, the original object cannot be used. See {{bug(1659025)}} for more details. -
caches
,CacheStorage
, andCache
now require a secure context; the properties/interfaces are not defined if used in an insecure context. Previouslycache
would return aCacheStorage
that would throw an exception if used outside of a secure context. See {{bug(1112134)}} for more details.
{{Firefox_for_developers(102)}}