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

Unified Diff: LayoutTests/fullscreen/full-screen-inline-split-crash.html

Issue 15165002: Fix assert failure in RenderObjectChildList::removeChildNode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix in split Created 7 years, 7 months 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 | LayoutTests/fullscreen/full-screen-inline-split-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fullscreen/full-screen-inline-split-crash.html
diff --git a/LayoutTests/fullscreen/full-screen-inline-split-crash.html b/LayoutTests/fullscreen/full-screen-inline-split-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..daf3d7aab5636b784ad0609cff40d0e17c556e7b
--- /dev/null
+++ b/LayoutTests/fullscreen/full-screen-inline-split-crash.html
@@ -0,0 +1,18 @@
+<script src="full-screen-test.js"></script>
+<body>
+ Test passes if it doesn't crash.
+ <span><span id="toBeMadeFullScreen"></span></span>
+</body>
+<script>
+
+// Use window.eventSender to fake a user-action, allowing full-screen.
+document.addEventListener("keypress", function() {
+ toBeMadeFullScreen.webkitRequestFullScreen();
+}, false);
+eventSender.keyDown(" ", []);
+
+document.addEventListener("webkitfullscreenchange", function() {
+ toBeMadeFullScreen.parentNode.insertBefore(document.createElement('div'), toBeMadeFullScreen);
+ setTimeout(endTest(), 0);
+}, false);
+</script>
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-inline-split-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698