summaryrefslogtreecommitdiff
path: root/tests/jserror.ur
diff options
context:
space:
mode:
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>