summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-16 12:36:01 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-16 12:36:01 -0400
commit51e34115de1d243904e9b49c3839fde9c91c96c9 (patch)
treee5b913873d3ffcd5abcc024dbc7d74e8d1c2aad2 /tests
parent949880b71b6b3d105ff5d73b1cf6958509b85c1e (diff)
onError
Diffstat (limited to 'tests')
-rw-r--r--tests/jserror.ur3
-rw-r--r--tests/jserror.urp3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/jserror.ur b/tests/jserror.ur
new file mode 100644
index 00000000..ab2c955c
--- /dev/null
+++ b/tests/jserror.ur
@@ -0,0 +1,3 @@
+fun main () : transaction page = return <xml>
+ <body onload={onError (fn s => alert "There was an error."); error <xml>Badder</xml>}/>
+</xml>
diff --git a/tests/jserror.urp b/tests/jserror.urp
new file mode 100644
index 00000000..74cceb4f
--- /dev/null
+++ b/tests/jserror.urp
@@ -0,0 +1,3 @@
+debug
+
+jserror