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

Unified Diff: LayoutTests/media/video-prefixed-fullscreen.html

Issue 178003008: Remove the HTMLVideoElement-specific prefixed fullscreen API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
Index: LayoutTests/media/video-prefixed-fullscreen.html
diff --git a/LayoutTests/media/video-prefixed-fullscreen.html b/LayoutTests/media/video-prefixed-fullscreen.html
new file mode 100644
index 0000000000000000000000000000000000000000..c9c3a201542656cf004adf1a081159ec2feb11cd
--- /dev/null
+++ b/LayoutTests/media/video-prefixed-fullscreen.html
@@ -0,0 +1,27 @@
+<!doctype html>
+<html>
+ <head>
+ <title>The video-specific prefixed fullscreen API should not be supported.</title>
+ <script src="../resources/testharness.js"></script>
+ <script src="../resources/testharnessreport.js"></script>
+ </head>
+ <body>
+ <div id="log"></div>
+ <script>
+ var video = document.createElement('video');
+ function t(property)
+ {
+ test(function()
+ {
+ assert_false(property in video);
+ }, 'video.' + property + ' should not be supported');
+ }
+ t('webkitSupportsFullscreen');
acolwell GONE FROM CHROMIUM 2014/02/25 17:37:43 Why create a test that verifies that you successfu
philipj_slow 2014/02/25 18:00:39 OK, I'll remove the test.
+ t('webkitDisplayingFullscreen');
+ t('webkitEnterFullscreen');
+ t('webkitExitFullscreen');
+ t('webkitEnterFullScreen');
+ t('webkitExitFullScreen');
+ </script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698