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

Unified Diff: third_party/WebKit/LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLTrackElement/kind.html

Issue 1947033002: Change "invalid value default" for HTMLTrackElement 'kind' to "metadata" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/media/track/opera/interfaces/HTMLElement/HTMLTrackElement/kind.html
diff --git a/third_party/WebKit/LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLTrackElement/kind.html b/third_party/WebKit/LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLTrackElement/kind.html
index d8b7c32331616d49acc5fc0e289156a65381dc88..17da8c8788d753c8ee12a1b2a3a1b8b37a62d5b0 100644
--- a/third_party/WebKit/LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLTrackElement/kind.html
+++ b/third_party/WebKit/LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLTrackElement/kind.html
@@ -13,7 +13,7 @@ test(function(){
test(function(){
var track = document.createElement('track');
track.setAttribute('kind', 'invalid');
- assert_equals(track.kind, 'subtitles');
+ assert_equals(track.kind, 'metadata');
assert_equals(track.getAttribute('kind'), 'invalid');
}, document.title + ' invalid value in content attribute');
@@ -27,14 +27,14 @@ test(function(){
test(function(){
var track = document.createElement('track');
track.setAttribute('kind', 'CAPT\u0130ONS');
- assert_equals(track.kind, 'subtitles');
+ assert_equals(track.kind, 'metadata');
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.kind, 'metadata');
assert_equals(track.getAttribute('kind'), 'capt\u0131ons');
}, document.title + ' content attribute with lowercase turkish i (dotless)');
@@ -76,7 +76,7 @@ test(function(){
test(function(){
var track = document.createElement('track');
track.setAttribute('kind', 'captions\u0000');
- assert_equals(track.kind, 'subtitles');
+ assert_equals(track.kind, 'metadata');
assert_equals(track.getAttribute('kind'), 'captions\u0000');
}, document.title + ' content attribute "captions\\u0000"');
@@ -126,21 +126,21 @@ test(function(){
var track = document.createElement('track');
track.kind = 'CAPT\u0130ONS';
assert_equals(track.getAttribute('kind'), 'CAPT\u0130ONS');
- assert_equals(track.kind, 'subtitles');
+ assert_equals(track.kind, 'metadata');
}, 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');
+ assert_equals(track.kind, 'metadata');
}, 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');
+ assert_equals(track.kind, 'metadata');
}, document.title + ' setting IDL attribute with \\u0000');
-</script>
+</script>

Powered by Google App Engine
This is Rietveld 408576698