mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 06:08:24 +02:00
--HG-- rename : browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js => browser/devtools/webconsole/test/browser_webconsole_output_01.js
23 lines
564 B
HTML
23 lines
564 B
HTML
<!DOCTYPE HTML>
|
|
<html dir="ltr" lang="en-US">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Test the web console output for DOM events</title>
|
|
<!--
|
|
- Any copyright is dedicated to the Public Domain.
|
|
- http://creativecommons.org/publicdomain/zero/1.0/
|
|
-->
|
|
</head>
|
|
<body>
|
|
<p>hello world!</p>
|
|
<script type="text/javascript">
|
|
function testDOMEvents() {
|
|
function eventLogger(ev) {
|
|
console.log("eventLogger", ev);
|
|
}
|
|
document.addEventListener("mousemove", eventLogger);
|
|
document.addEventListener("keypress", eventLogger);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|