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..23ea36c993145b1d796c9b3092ba7d0953e74ec6 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<style> |
+ @media screen {} |
+</style> |
+<div id="fullscreen" onclick="requestFullscreen()"> |
+ Clicking this element should go fullscreen and not crash. |
+</div> |
+<script> |
+ test(() => { |
+ if (window.eventSender) { |
+ eventSender.mouseMoveTo(fullscreen.offsetLeft + 1, fullscreen.offsetTop + 1); |
+ eventSender.mouseDown(); |
+ eventSender.mouseUp(); |
+ } |
+ }, "Check that going fullscreen does not crash"); |
+</script> |