Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/full-screen-ruleset-crash.html

Issue 2590793003: Don't update global ruleset when active style is dirty. (Closed)
Patch Set: window.eventSender Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/StyleEngine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/StyleEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698