aboutsummaryrefslogtreecommitdiff
path: root/JS.md
diff options
context:
space:
mode:
authorgahaas <ahaas@google.com>2016-12-14 18:39:49 +0100
committerGitHub <noreply@github.com>2016-12-14 18:39:49 +0100
commitb595bb032b8345056cea55f27633c484823ee2e9 (patch)
tree32d0e6ea3b566d4b1396d228e688777e56c22654 /JS.md
parenta87e58c34107a44da2e3c86e3e12de669ee3b30d (diff)
downloadnanowasm-design-b595bb032b8345056cea55f27633c484823ee2e9.tar.gz
Define the exception type for stack overflows in JS.md
Diffstat (limited to 'JS.md')
-rw-r--r--JS.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/JS.md b/JS.md
index 4fa5690..4b19a87 100644
--- a/JS.md
+++ b/JS.md
@@ -23,6 +23,12 @@ Because JavaScript exceptions can be handled, and JavaScript can continue to
call WebAssembly exports after a trap has been handled, traps do not, in
general, prevent future execution.
+## Stack Overflow
+
+Whenever a [stack overflow](Semantics.md#stack-overflow) is happening in
+WebAssembly code, the same exception is thrown as for a stack overflow in
+JavaScript.
+
## The `WebAssembly` object
The `WebAssembly` object is the initial value of the `WebAssembly` property of