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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/historical.html

Issue 1144143009: W3C Test: Import web-platform-tests/html/semantics (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <title>Historical media element features should not be supported</title>
3 <script src="../../../../../../resources/testharness.js"></script>
4 <script src="../../../../../../resources/testharnessreport.js"></script>
5 <div id=log></div>
6 <script>
7 function t(property, tagName) {
8 var tagNames = tagName ? [tagName] : ['audio', 'video'];
9 tagNames.forEach(function(tagName) {
10 test(function() {
11 assert_false(property in document.createElement(tagName));
12 }, tagName + '.' + property + ' should not be supported');
13 });
14 }
15
16 t('bufferingRate'); // added in r678, removed in r2872.
17 t('start'); // added in r692, removed in r2401.
18 t('end'); // added in r692, removed in r2401.
19 t('loopStart'); // added in r692, removed in r2401.
20 t('loopEnd'); // added in r692, removed in r2401.
21 t('loopCount'); // added in r692, replaced with playCount in r1105.
22 t('currentLoop'); // added in r692, removed in r2401.
23 t('addCuePoint'); // added in r721, replaced with addCueRange in r1106.
24 t('removeCuePoint'); // added in r721, replaced with removeCueRanges in r1106.
25 t('media', 'source'); // added in r724, removed in r8472.
26 t('playCount'); // added in r1105, removed in r2401.
27 t('addCueRange'); // added in r1106, removed in r5070.
28 t('removeCueRanges'); // added in r1106, removed in r5070.
29 t('pixelratio', 'source'); // added in r1629, removed in r2493.
30 t('bufferedBytes'); // added in r1630, removed in r2405.
31 t('totalBytes'); // added in r1630, removed in r2405.
32 t('bufferingThrottled'); // added in r1632, removed in r2872.
33 t('autobuffer'); // added in r2855, replaced with preload in r4811.
34 t('startTime'); // added in r3035, replaced with initialTime in r5310.
35 t('startOffsetTime'); // added in r5310, replaced with startDate in r7045.
36 t('initialTime'); // added in r5310, removed in r7046.
37 t('audio', 'video'); // added in r5636, replaced with muted in r5991.
38 t('startDate'); // added in r7045, replaced with getStartDate() in r8113.
39
40 // TextTrackCue constructor: added in r5723, removed in r7742.
41 test(function() {
42 assert_throws(new TypeError(), function() {
43 new TextTrackCue(0, 0, '');
44 });
45 }, 'TextTrackCue constructor should not be supported');
46 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698