summaryrefslogtreecommitdiff
path: root/tests/jserror.ur
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/jserror.ur
parent949880b71b6b3d105ff5d73b1cf6958509b85c1e (diff)
onError
Diffstat (limited to 'tests/jserror.ur')
-rw-r--r--tests/jserror.ur3
1 files changed, 3 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>