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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/historical.html

Issue 2572333003: Import wpt@4970d7334aaf8977c5b617075aa48be1b6e482c7 (Closed)
Patch Set: Update TestExpectations 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <title>Historical Fullscreen features</title>
3 <script src=/resources/testharness.js></script>
4 <script src=/resources/testharnessreport.js></script>
5 <script>
6 [
7 "onwebkitfullscreenchange",
8 "onwebkitfullscreenerror",
9 "webkitCurrentFullScreenElement",
10 "webkitFullscreenElement",
11 "webkitFullscreenEnabled",
12 "webkitIsFullScreen",
13 "webkitRequestFullScreen",
14 "webkitRequestFullscreen",
15 "webkitDisplayingFullscreen",
16 "webkitEnterFullScreen",
17 "webkitEnterFullscreen",
18 "webkitExitFullScreen",
19 "webkitExitFullscreen",
20 "webkitSupportsFullscreen",
21 ].forEach(function(member) {
22 ["webkit", "moz", "ms"].forEach(function(prefix) {
23 var alias = member.replace("webkit", prefix);
24 var clarifyTestName = (alias.indexOf('FullScreen') != -1 ? ' (uppercase S)' : '');
25
26 test(function() {
27 assert_false(alias in document.createElement('video'));
28 }, '<video> member must not be supported: ' + alias + clarifyTestName);
29
30 test(function() {
31 assert_false(alias in document);
32 }, 'Document member must not be supported: ' + alias + clarifyTestName);
33
34 // Some of the combinations tested here have never been supported, but
35 // it is convenient to just test all names on both <video> and document.
36 });
37 });
38 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698