22 lines
532 B
HTML
22 lines
532 B
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||
|
"http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<html>
|
||
|
<head>
|
||
|
<title> Test JS console message </title>
|
||
|
</head>
|
||
|
|
||
|
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
|
||
|
var err = new Error();
|
||
|
err.name = 'My Console Message test';
|
||
|
err.message = 'Test error message';
|
||
|
throw(err);
|
||
|
</SCRIPT>
|
||
|
|
||
|
<body>
|
||
|
<h1>test js console messsage</h1>
|
||
|
<br>
|
||
|
This test should send a message to console. The default handling function is to print
|
||
|
to stdout.
|
||
|
</body>
|
||
|
</html>
|