summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/test/mochitest/helper_test_tab_drag_event_counts.html
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/apz/test/mochitest/helper_test_tab_drag_event_counts.html')
-rw-r--r--gfx/layers/apz/test/mochitest/helper_test_tab_drag_event_counts.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/gfx/layers/apz/test/mochitest/helper_test_tab_drag_event_counts.html b/gfx/layers/apz/test/mochitest/helper_test_tab_drag_event_counts.html
new file mode 100644
index 0000000000..7ad1093d3e
--- /dev/null
+++ b/gfx/layers/apz/test/mochitest/helper_test_tab_drag_event_counts.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+ <meta charset="utf-8">
+ <script src="/tests/SimpleTest/SimpleTest.js"></script>
+ <script src='/tests/SimpleTest/paint_listener.js'></script>
+ <script src='apz_test_utils.js'></script>
+ <script src='apz_test_native_event_utils.js'></script>
+</head>
+
+<body style="background-color:powderblue;">
+ <script>
+ document.addEventListener("keydown", function () {
+ document.body.style.backgroundColor = "red";
+ });
+ document.addEventListener("keyup", function () {
+ document.body.style.backgroundColor = "green";
+ });
+ SimpleTest.waitForExplicitFinish();
+ </script>
+</body>
+
+</html>