Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 1421 → Rev 1422

/mozilla/nomodal/trunk/test/index.html
0,0 → 1,32
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body onclick="dump('body.onclick\n')">
 
<script>
setInterval(function() {
dump((new Date()) + "\n");
}, 1000);
 
/*dump("before alert\n");
alert("here");
dump("after alert\n");*/
 
/*dump("window.alert " + (window.alert != null) + "\n");
dump("window.alertCheck " + (window.alertCheck != null) + "\n");
dump("window.confirm " + (window.confirm != null) + "\n");
dump("window.confirmCheck " + (window.confirmCheck != null) + "\n");
dump("window.confirmEx " + (window.confirmEx != null) + "\n");
dump("window.prompt " + (window.prompt != null) + "\n");
dump("window.promptUsernameAndPassword " + (window.promptUsernameAndPassword != null) + "\n");
dump("window.promptPassword " + (window.promptPassword != null) + "\n");
dump("window.select " + (window.select != null) + "\n");*/
</script>
 
<button onclick="dump('before alert\n'); alert('again'); dump('after alert\n');">alert</button><br>
<button onclick="dump('before confirm\n'); dump('confirm: ' + confirm('yes?') + '\n'); dump('after confirm\n');">confirm</button>
<button onclick="dump('before prompt\n'); dump('prompt: ' + prompt('hmmm?', 'aaa') + '\n'); dump('after prompt\n');">prompt</button>
 
</body>
</html>