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

Unified Diff: LayoutTests/media/adopt-node-video-controls-crash.html

Issue 575563002: Fix adopting a video element with controls (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix philipj@'s comments Created 6 years, 3 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 | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/adopt-node-video-controls-crash.html
diff --git a/LayoutTests/media/adopt-node-video-controls-crash.html b/LayoutTests/media/adopt-node-video-controls-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..7a5125241b2ffd25dcdba16e8bdf050f9d63ada3
--- /dev/null
+++ b/LayoutTests/media/adopt-node-video-controls-crash.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<title>Insert a video element with controls into another document</title>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<div id="log"></div>
+<script>
+test(function()
+{
+ var video = document.createElement("video");
+ video.controls = true;
+ video.src = "data:,";
+
+ var otherDocument = document.implementation.createHTMLDocument();
+ otherDocument.body.appendChild(video);
+});
+</script>
+</html>
+
+
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698