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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/kind.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/kind.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/kind.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/kind.html
deleted file mode 100644
index b59757d062a3c883db7da3591cd2f495985c866f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/kind.html
+++ /dev/null
@@ -1,146 +0,0 @@
-<!doctype html>
-<title>HTMLTrackElement.kind</title>
-<script src=../../../../../../../../../resources/testharness.js></script>
-<script src=../../../../../../../../../resources/testharnessreport.js></script>
-<div id=log></div>
-<script>
-test(function(){
- var track = document.createElement('track');
- assert_equals(track.kind, 'subtitles');
- assert_equals(track.getAttribute('kind'), null);
-}, document.title + ' missing value');
-
-test(function(){
- var track = document.createElement('track');
- track.setAttribute('kind', 'invalid');
- assert_equals(track.kind, 'subtitles');
- assert_equals(track.getAttribute('kind'), 'invalid');
-}, document.title + ' invalid value in content attribute');
-
-test(function(){
- var track = document.createElement('track');
- track.setAttribute('kind', 'CAPTIONS');
- assert_equals(track.kind, 'captions');
- assert_equals(track.getAttribute('kind'), 'CAPTIONS');
-}, document.title + ' content attribute uppercase');
-
-test(function(){
- var track = document.createElement('track');
- track.setAttribute('kind', 'CAPT\u0130ONS');
- assert_equals(track.kind, 'subtitles');
- assert_equals(track.getAttribute('kind'), 'CAPT\u0130ONS');
-}, document.title + ' content attribute with uppercase turkish I (with dot)');
-
-test(function(){
- var track = document.createElement('track');
- track.setAttribute('kind', 'capt\u0131ons');
- assert_equals(track.kind, 'subtitles');
- assert_equals(track.getAttribute('kind'), 'capt\u0131ons');
-}, document.title + ' content attribute with lowercase turkish i (dotless)');
-
-test(function(){
- var track = document.createElement('track');
- track.setAttribute('kind', 'subtitles');
- assert_equals(track.kind, 'subtitles');
- assert_equals(track.getAttribute('kind'), 'subtitles');
-}, document.title + ' content attribute "subtitles"');
-
-test(function(){
- var track = document.createElement('track');
- track.setAttribute('kind', 'captions');
- assert_equals(track.kind, 'captions');
- assert_equals(track.getAttribute('kind'), 'captions');
-}, document.title + ' content attribute "captions"');
-
-test(function(){
- var track = document.createElement('track');
- track.setAttribute('kind', 'descriptions');
- assert_equals(track.kind, 'descriptions');
- assert_equals(track.getAttribute('kind'), 'descriptions');
-}, document.title + ' content attribute "descriptions"');
-
-test(function(){
- var track = document.createElement('track');
- track.setAttribute('kind', 'chapters');
- assert_equals(track.kind, 'chapters');
- assert_equals(track.getAttribute('kind'), 'chapters');
-}, document.title + ' content attribute "chapters"');
-
-test(function(){
- var track = document.createElement('track');
- track.setAttribute('kind', 'metadata');
- assert_equals(track.kind, 'metadata');
- assert_equals(track.getAttribute('kind'), 'metadata');
-}, document.title + ' content attribute "metadata"');
-
-test(function(){
- var track = document.createElement('track');
- track.setAttribute('kind', 'captions\u0000');
- assert_equals(track.kind, 'subtitles');
- assert_equals(track.getAttribute('kind'), 'captions\u0000');
-}, document.title + ' content attribute "captions\\u0000"');
-
-test(function(){
- var track = document.createElement('track');
- track.kind = 'subtitles';
- assert_equals(track.getAttribute('kind'), 'subtitles');
- assert_equals(track.kind, 'subtitles');
-}, document.title + ' setting IDL attribute to "subtitles"');
-
-test(function(){
- var track = document.createElement('track');
- track.kind = 'captions';
- assert_equals(track.getAttribute('kind'), 'captions');
- assert_equals(track.kind, 'captions');
-}, document.title + ' setting IDL attribute to "captions"');
-
-test(function(){
- var track = document.createElement('track');
- track.kind = 'descriptions';
- assert_equals(track.getAttribute('kind'), 'descriptions');
- assert_equals(track.kind, 'descriptions');
-}, document.title + ' setting IDL attribute to "descriptions"');
-
-test(function(){
- var track = document.createElement('track');
- track.kind = 'chapters';
- assert_equals(track.getAttribute('kind'), 'chapters');
- assert_equals(track.kind, 'chapters');
-}, document.title + ' setting IDL attribute to "chapters"');
-
-test(function(){
- var track = document.createElement('track');
- track.kind = 'metadata';
- assert_equals(track.getAttribute('kind'), 'metadata');
- assert_equals(track.kind, 'metadata');
-}, document.title + ' setting IDL attribute to "metadata"');
-
-test(function(){
- var track = document.createElement('track');
- track.kind = 'CAPTIONS';
- assert_equals(track.getAttribute('kind'), 'CAPTIONS');
- assert_equals(track.kind, 'captions');
-}, document.title + ' setting IDL attribute to "CAPTIONS"');
-
-test(function(){
- var track = document.createElement('track');
- track.kind = 'CAPT\u0130ONS';
- assert_equals(track.getAttribute('kind'), 'CAPT\u0130ONS');
- assert_equals(track.kind, 'subtitles');
-}, document.title + ' setting IDL attribute with uppercase turkish I (with dot)');
-
-test(function(){
- var track = document.createElement('track');
- track.kind = 'capt\u0131ons';
- assert_equals(track.getAttribute('kind'), 'capt\u0131ons');
- assert_equals(track.kind, 'subtitles');
-}, document.title + ' setting IDL attribute with lowercase turkish I (dotless)');
-
-test(function(){
- var track = document.createElement('track');
- track.kind = 'captions\u0000';
- assert_equals(track.getAttribute('kind'), 'captions\u0000');
- assert_equals(track.kind, 'subtitles');
-}, document.title + ' setting IDL attribute with \\u0000');
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698