| Index: content/test/data/devtools/input_ack_tests.html
|
| diff --git a/content/test/data/devtools/input_ack_tests.html b/content/test/data/devtools/input_ack_tests.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..98461aad8085d9a3e46d24621a9545a5da664bfd
|
| --- /dev/null
|
| +++ b/content/test/data/devtools/input_ack_tests.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <body>
|
| + <div id="target">click target</div>
|
| + <script>
|
| + var handle = function(e) {
|
| + domAutomationController.setAutomationId(0);
|
| + domAutomationController.send(e.constructor.name + ' listener');
|
| + var start = Date.now();
|
| + var end = start + 5000;
|
| + while (Date.now() < end) {
|
| + // spin for 5 seconds to block the key event ack
|
| + }
|
| + }
|
| + document.body.addEventListener('keydown', handle);
|
| + document.getElementById('target').addEventListener('mousemove', handle);
|
| + </script>
|
| + </body>
|
| +</html>
|
|
|