annotate tests/jserror.ur @ 2070:382911d72e63

Check realloc's return code to prevent segfault on out of memory condition (Part 3)
author Sergey Mironov <grrwlf@gmail.com>
date Tue, 02 Sep 2014 17:37:22 +0000
parents ba4c230b7231
children
rev   line source
adamc@726 1 fun main () : transaction page = return <xml>
adamc@727 2 <body onload={onError (fn s => alert ("There was an error: " ^ show s)); error <xml>Badder</xml>}/>
adamc@726 3 </xml>