Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html |
| diff --git a/third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html b/third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6c8235e6410bb52e69150384b496113789a88573 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html |
| @@ -0,0 +1,16 @@ |
| +<!DOCTYPE html> |
| +<script src="../resources/testharness.js"></script> |
| +<script src="../resources/testharnessreport.js"></script> |
| +<style> |
| + @media screen {} |
| +</style> |
| +<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.
|
| + Clicking this element should go fullscreen and not crash. |
| +</div> |
| +<script> |
| + test(() => { |
| + 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.
|
| + eventSender.mouseDown(); |
| + eventSender.mouseUp(); |
| + }, "Check that going fullscreen does not crash"); |
| +</script> |