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

Unified Diff: LayoutTests/media/controls-in-frameless-document.html

Issue 190463002: Remove document().page() null checks in MediaControls (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test Created 6 years, 9 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/media/controls-in-frameless-document-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/controls-in-frameless-document.html
diff --git a/LayoutTests/media/controls-in-frameless-document.html b/LayoutTests/media/controls-in-frameless-document.html
new file mode 100644
index 0000000000000000000000000000000000000000..83d295728ac68727fda85ad06bd564490ff08d89
--- /dev/null
+++ b/LayoutTests/media/controls-in-frameless-document.html
@@ -0,0 +1,20 @@
+<!doctype html>
+<html>
+ <head>
+ <title>video controls in a frameless document</title>
+ <script src="../resources/testharness.js"></script>
+ <script src="../resources/testharnessreport.js"></script>
+ </head>
+ <body>
+ <script>
+ test(function()
+ {
+ var doc = document.implementation.createHTMLDocument();
+ var video = doc.createElement("video");
+ doc.body.appendChild(video);
+ video.controls = true;
+ // pass if we didn't crash
+ });
+ </script>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/media/controls-in-frameless-document-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698