OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script src="../resources/testharness.js"></script> | |
3 <script src="../resources/testharnessreport.js"></script> | |
4 <style> | |
5 @media screen {} | |
6 </style> | |
7 <div id="fullscreen" onclick="this.requestFullscreen()"> | |
mstensho (USE GERRIT)
2016/12/20 10:46:33
Don't need "this.", I think.
rune
2016/12/20 10:55:40
Done.
| |
8 Clicking this element should go fullscreen and not crash. | |
9 </div> | |
10 <script> | |
11 test(() => { | |
12 eventSender.mouseMoveTo(fullscreen.offsetLeft + 1, fullscreen.offsetTop + 1); | |
mstensho (USE GERRIT)
2016/12/20 10:46:33
Should check if eventSender exists.
rune
2016/12/20 10:55:40
Done.
| |
13 eventSender.mouseDown(); | |
14 eventSender.mouseUp(); | |
15 }, "Check that going fullscreen does not crash"); | |
16 </script> | |
OLD | NEW |