Skip to content
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

WebAssembly:Exception.stack and option.traceStack and platform support #15954

Merged
merged 4 commits into from
Apr 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
200 changes: 168 additions & 32 deletions javascript/builtins/webassembly/Exception.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"spec_url": "https://webassembly.github.io/exception-handling/js-api/#runtime-exceptions",
"support": {
"chrome": {
"version_added": false
"version_added": "95"
},
"chrome_android": {
"version_added": false
"version_added": "95"
},
"deno": {
"version_added": false
},
"edge": {
"version_added": false
"version_added": "95"
},
"firefox": [
{
Expand All @@ -42,13 +42,13 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "17.0.0"
},
"opera": {
"version_added": false
"version_added": "81"
},
"opera_android": {
"version_added": false
"version_added": "67"
},
"safari": {
"version_added": "15.2"
Expand All @@ -57,10 +57,10 @@
"version_added": "15.2"
},
"samsunginternet_android": {
"version_added": false
"version_added": "17.0"
},
"webview_android": {
"version_added": false
"version_added": "95"
}
},
"status": {
Expand All @@ -76,16 +76,16 @@
"spec_url": "https://webassembly.github.io/exception-handling/js-api/#dom-exception-exception",
"support": {
"chrome": {
"version_added": false
"version_added": "95"
},
"chrome_android": {
"version_added": false
"version_added": "95"
},
"deno": {
"version_added": false
},
"edge": {
"version_added": false
"version_added": "95"
},
"firefox": [
{
Expand All @@ -110,13 +110,13 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "17.0.0"
},
"opera": {
"version_added": false
"version_added": "81"
},
"opera_android": {
"version_added": false
"version_added": "67"
},
"safari": {
"version_added": "15.2"
Expand All @@ -125,17 +125,85 @@
"version_added": "15.2"
},
"samsunginternet_android": {
"version_added": false
"version_added": "17.0"
},
"webview_android": {
"version_added": false
"version_added": "95"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
},
"options_parameter_traceStack": {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, it occurs to be that this is not necessary, as it is the only option so far. I included it because it is is non-spec. But even if we decide it is spec I'd keep it - since then other options have something to compare again. Up to you though.

"__compat": {
"description": "<code>options.traceStack</code> parameter",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Exception/Exception",
"support": {
"chrome": {
"version_added": "95"
},
"chrome_android": {
"version_added": "95"
},
"deno": {
"version_added": false
},
"edge": {
"version_added": "95"
},
"firefox": [
{
"version_added": "100"
},
{
"version_added": "98",
"version_removed": "100",
"flags": [
{
"type": "preference",
"name": "javascript.options.wasm_exceptions",
"value_to_set": "true"
}
]
}
],
"firefox_android": {
"version_added": "100"
},
"ie": {
"version_added": false
},
"nodejs": {
"version_added": "17.0.0"
},
"opera": {
"version_added": "81"
},
"opera_android": {
"version_added": "67"
},
"safari": {
"version_added": "15.2"
},
"safari_ios": {
"version_added": "15.2"
},
"samsunginternet_android": {
"version_added": "17.0"
},
"webview_android": {
"version_added": "95"
}
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": false
}
}
}
},
"getArg": {
Expand All @@ -144,16 +212,16 @@
"spec_url": "https://webassembly.github.io/exception-handling/js-api/#dom-exception-getarg",
"support": {
"chrome": {
"version_added": false
"version_added": "95"
},
"chrome_android": {
"version_added": false
"version_added": "95"
},
"deno": {
"version_added": false
},
"edge": {
"version_added": false
"version_added": "95"
},
"firefox": [
{
Expand All @@ -178,13 +246,13 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "17.0.0"
},
"opera": {
"version_added": false
"version_added": "81"
},
"opera_android": {
"version_added": false
"version_added": "67"
},
"safari": {
"version_added": "15.2"
Expand All @@ -193,10 +261,10 @@
"version_added": "15.2"
},
"samsunginternet_android": {
"version_added": false
"version_added": "17.0"
},
"webview_android": {
"version_added": false
"version_added": "95"
}
},
"status": {
Expand All @@ -212,16 +280,16 @@
"spec_url": "https://webassembly.github.io/exception-handling/js-api/#dom-exception-is",
"support": {
"chrome": {
"version_added": false
"version_added": "95"
},
"chrome_android": {
"version_added": false
"version_added": "95"
},
"deno": {
"version_added": false
},
"edge": {
"version_added": false
"version_added": "95"
},
"firefox": [
{
Expand All @@ -246,13 +314,13 @@
"version_added": false
},
"nodejs": {
"version_added": false
"version_added": "17.0.0"
},
"opera": {
"version_added": false
"version_added": "81"
},
"opera_android": {
"version_added": false
"version_added": "67"
},
"safari": {
"version_added": "15.2"
Expand All @@ -261,10 +329,10 @@
"version_added": "15.2"
},
"samsunginternet_android": {
"version_added": false
"version_added": "17.0"
},
"webview_android": {
"version_added": false
"version_added": "95"
}
},
"status": {
Expand All @@ -273,6 +341,74 @@
"deprecated": false
}
}
},
"stack": {
"__compat": {
"description": "Stack trace",
"mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Exception",
"support": {
"chrome": {
"version_added": "95"
},
"chrome_android": {
"version_added": "95"
},
"deno": {
"version_added": false
},
"edge": {
"version_added": "95"
},
"firefox": [
{
"version_added": "100"
},
{
"version_added": "98",
"version_removed": "100",
"flags": [
{
"type": "preference",
"name": "javascript.options.wasm_exceptions",
"value_to_set": "true"
}
]
}
],
"firefox_android": {
"version_added": "100"
},
"ie": {
"version_added": false
},
"nodejs": {
"version_added": "17.0.0"
},
"opera": {
"version_added": "81"
},
"opera_android": {
"version_added": "67"
},
"safari": {
"version_added": "15.2"
},
"safari_ios": {
"version_added": "15.2"
},
"samsunginternet_android": {
"version_added": "17.0"
},
"webview_android": {
"version_added": "95"
}
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": false
}
}
}
}
}
Expand Down
Loading