mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-08 23:17:45 +02:00
21 lines
491 B
HTML
21 lines
491 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>TestException</title>
|
|
<script src="errordemo.js"></script>
|
|
</head>
|
|
<body>
|
|
<button id="btn">Throw exception</button>
|
|
<button id="btnhook">Hook events</button>
|
|
<script>
|
|
// Uncomment to test setting hook.
|
|
// rtl.showUncaughtExceptions=true;
|
|
rtl.run();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|