Skip to content

Commit

Permalink
FF103 Errors are serializable (support structuredClone)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee committed Jul 19, 2022
1 parent a116376 commit 3d2b2cd
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 14 deletions.
41 changes: 41 additions & 0 deletions javascript/builtins/AggregateError.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,47 @@
"deprecated": false
}
}
},
"serializable_object": {
"__compat": {
"description": "<code>AggregateError</code> is serializable",
"mdn_url": "https://developer.mozilla.org/docs/Glossary/Serializable_object",
"support": {
"chrome": {
"version_added": false
},
"chrome_android": "mirror",
"deno": {
"version_added": false
},
"edge": "mirror",
"firefox": {
"version_added": "103",
"notes": "Serialized properties: <code>name</code>, <code>message</code>, <code>cause</code>, <code>errors</code>."
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"nodejs": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror"
},
"status": {
"experimental": true,
"standard_track": false,
"deprecated": false
}
}
}
}
}
Expand Down
8 changes: 6 additions & 2 deletions javascript/builtins/Error.json
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@
"serializable_object": {
"__compat": {
"description": "<code>Error</code> is serializable",
"mdn_url": "https://developer.mozilla.org/docs/Glossary/Serializable_object",
"spec_url": "https://html.spec.whatwg.org/multipage/structured-data.html#serializable-objects",
"support": {
"chrome": {
Expand All @@ -479,8 +480,11 @@
},
"edge": "mirror",
"firefox": {
"version_added": false,
"notes": "See <a href='https://bugzil.la/1556604'>bug 1556604</a>."
"version_added": "103",
"notes": [
"Version 103 serialized properties: <code>name</code>, <code>message</code>, <code>cause</code>, <code>fileName</code>, <code>lineNumber</code> and <code>columnNumber</code>.",
"Version 104 additionally supports serialization of <code>stack</code> in <a href='https://developer.mozilla.org/docs/Web/API/Window/postMessage'><code>window.postMessage()</code></a> and <a href='https://developer.mozilla.org/docs/Web/API/structuredClone'><code>structuredClone()</code></a>."
]
},
"firefox_android": "mirror",
"ie": {
Expand Down
8 changes: 6 additions & 2 deletions javascript/builtins/EvalError.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"serializable_object": {
"__compat": {
"description": "<code>EvalError</code> is serializable",
"mdn_url": "https://developer.mozilla.org/docs/Glossary/Serializable_object",
"spec_url": "https://html.spec.whatwg.org/multipage/structured-data.html#serializable-objects",
"support": {
"chrome": {
Expand All @@ -107,8 +108,11 @@
},
"edge": "mirror",
"firefox": {
"version_added": false,
"notes": "See <a href='https://bugzil.la/1556604'>bug 1556604</a>."
"version_added": "103",
"notes": [
"Version 103 serializable properties: <code>name</code>, <code>message</code>, <code>cause</code>, <code>fileName</code>, <code>lineNumber</code> and <code>columnNumber</code>.",
"Version 104 also serializes <code>stack</code> in <a href='https://developer.mozilla.org/docs/Web/API/Window/postMessage'><code>window.postMessage()</code></a> and <a href='https://developer.mozilla.org/docs/Web/API/structuredClone'><code>structuredClone()</code></a>)."
]
},
"firefox_android": "mirror",
"ie": {
Expand Down
8 changes: 6 additions & 2 deletions javascript/builtins/RangeError.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"serializable_object": {
"__compat": {
"description": "<code>RangeError</code> is serializable",
"mdn_url": "https://developer.mozilla.org/docs/Glossary/Serializable_object",
"spec_url": "https://html.spec.whatwg.org/multipage/structured-data.html#serializable-objects",
"support": {
"chrome": {
Expand All @@ -107,8 +108,11 @@
},
"edge": "mirror",
"firefox": {
"version_added": false,
"notes": "See <a href='https://bugzil.la/1556604'>bug 1556604</a>."
"version_added": "103",
"notes": [
"Version 103 serializable properties: <code>name</code>, <code>message</code>, <code>cause</code>, <code>fileName</code>, <code>lineNumber</code> and <code>columnNumber</code>.",
"Version 104 also serializes <code>stack</code> in <a href='https://developer.mozilla.org/docs/Web/API/Window/postMessage'><code>window.postMessage()</code></a> and <a href='https://developer.mozilla.org/docs/Web/API/structuredClone'><code>structuredClone()</code></a>)."
]
},
"firefox_android": "mirror",
"ie": {
Expand Down
8 changes: 6 additions & 2 deletions javascript/builtins/ReferenceError.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"serializable_object": {
"__compat": {
"description": "<code>ReferenceError</code> is serializable",
"mdn_url": "https://developer.mozilla.org/docs/Glossary/Serializable_object",
"spec_url": "https://html.spec.whatwg.org/multipage/structured-data.html#serializable-objects",
"support": {
"chrome": {
Expand All @@ -107,8 +108,11 @@
},
"edge": "mirror",
"firefox": {
"version_added": false,
"notes": "See <a href='https://bugzil.la/1556604'>bug 1556604</a>."
"version_added": "103",
"notes": [
"Version 103 serializable properties: <code>name</code>, <code>message</code>, <code>cause</code>, <code>fileName</code>, <code>lineNumber</code> and <code>columnNumber</code>.",
"Version 104 also serializes <code>stack</code> in <a href='https://developer.mozilla.org/docs/Web/API/Window/postMessage'><code>window.postMessage()</code></a> and <a href='https://developer.mozilla.org/docs/Web/API/structuredClone'><code>structuredClone()</code></a>)."
]
},
"firefox_android": "mirror",
"ie": {
Expand Down
8 changes: 6 additions & 2 deletions javascript/builtins/SyntaxError.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"serializable_object": {
"__compat": {
"description": "<code>SyntaxError</code> is serializable",
"mdn_url": "https://developer.mozilla.org/docs/Glossary/Serializable_object",
"spec_url": "https://html.spec.whatwg.org/multipage/structured-data.html#serializable-objects",
"support": {
"chrome": {
Expand All @@ -107,8 +108,11 @@
},
"edge": "mirror",
"firefox": {
"version_added": false,
"notes": "See <a href='https://bugzil.la/1556604'>bug 1556604</a>."
"version_added": "103",
"notes": [
"Version 103 serializable properties: <code>name</code>, <code>message</code>, <code>cause</code>, <code>fileName</code>, <code>lineNumber</code> and <code>columnNumber</code>.",
"Version 104 also serializes <code>stack</code> in <a href='https://developer.mozilla.org/docs/Web/API/Window/postMessage'><code>window.postMessage()</code></a> and <a href='https://developer.mozilla.org/docs/Web/API/structuredClone'><code>structuredClone()</code></a>)."
]
},
"firefox_android": "mirror",
"ie": {
Expand Down
8 changes: 6 additions & 2 deletions javascript/builtins/TypeError.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"serializable_object": {
"__compat": {
"description": "<code>TypeError</code> is serializable",
"mdn_url": "https://developer.mozilla.org/docs/Glossary/Serializable_object",
"spec_url": "https://html.spec.whatwg.org/multipage/structured-data.html#serializable-objects",
"support": {
"chrome": {
Expand All @@ -107,8 +108,11 @@
},
"edge": "mirror",
"firefox": {
"version_added": false,
"notes": "See <a href='https://bugzil.la/1556604'>bug 1556604</a>."
"version_added": "103",
"notes": [
"Version 103 serializable properties: <code>name</code>, <code>message</code>, <code>cause</code>, <code>fileName</code>, <code>lineNumber</code> and <code>columnNumber</code>.",
"Version 104 also serializes <code>stack</code> in <a href='https://developer.mozilla.org/docs/Web/API/Window/postMessage'><code>window.postMessage()</code></a> and <a href='https://developer.mozilla.org/docs/Web/API/structuredClone'><code>structuredClone()</code></a>)."
]
},
"firefox_android": "mirror",
"ie": {
Expand Down
8 changes: 6 additions & 2 deletions javascript/builtins/URIError.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"serializable_object": {
"__compat": {
"description": "<code>URIError</code> is serializable",
"mdn_url": "https://developer.mozilla.org/docs/Glossary/Serializable_object",
"spec_url": "https://html.spec.whatwg.org/multipage/structured-data.html#serializable-objects",
"support": {
"chrome": {
Expand All @@ -107,8 +108,11 @@
},
"edge": "mirror",
"firefox": {
"version_added": false,
"notes": "See <a href='https://bugzil.la/1556604'>bug 1556604</a>."
"version_added": "103",
"notes": [
"Version 103 serializable properties: <code>name</code>, <code>message</code>, <code>cause</code>, <code>fileName</code>, <code>lineNumber</code> and <code>columnNumber</code>.",
"Version 104 also serializes <code>stack</code> in <a href='https://developer.mozilla.org/docs/Web/API/Window/postMessage'><code>window.postMessage()</code></a> and <a href='https://developer.mozilla.org/docs/Web/API/structuredClone'><code>structuredClone()</code></a>)."
]
},
"firefox_android": "mirror",
"ie": {
Expand Down

0 comments on commit 3d2b2cd

Please sign in to comment.