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

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: Tab -> spaces 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..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>
« 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