Skip to content

Commit

Permalink
FF104 Error stacks are serialized for window.postMessage and structur…
Browse files Browse the repository at this point in the history
…edClone() (#19038)
  • Loading branch information
hamishwillee authored Aug 2, 2022
1 parent c18e317 commit c398faf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions files/en-us/mozilla/firefox/releases/104/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ This article provides information about the changes in Firefox 104 that will aff
These are used to find the value and index (respectively) of the last element in an {{jsxref("Array")}} or {{jsxref("TypedArray")}} that matches a supplied test function.
(See {{bug(1775026)}} for more details.)

- Serialization of [native Error types](h/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error#error_types) additionally includes the [`stack`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/stack) property when used with [`window.postMessage()`](/en-US/docs/Web/API/Window/postMessage) and [`structuredClone()`](/en-US/docs/Web/API/structuredClone) (on error types that include `stack`).
The `stack` is not yet serialized when errors are sent using other APIs, such as [`Worker.postMessage()`](/en-US/docs/Web/API/Worker/postMessage)
(See {{bug(1774866)}} for more details.)

#### Removals

### HTTP
Expand Down

0 comments on commit c398faf

Please sign in to comment.