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

Unified Diff: LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin.html

Issue 131483006: Correctly reflect the 'crossOrigin' attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove empty line Created 6 years, 11 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/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin.html
diff --git a/LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin.html b/LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin.html
index bfadeac437334cdb59b5cdbd5622bc06e6fbbc30..f171217882fae2361ce2376ed61050b3cf9e0742 100644
--- a/LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin.html
+++ b/LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin.html
@@ -15,17 +15,17 @@ test(function(){
test(function(){
var video = document.createElement('video');
video.setAttribute('crossorigin', 'foo');
- assert_equals(video.crossOrigin, 'foo');
+ assert_equals(video.crossOrigin, 'anonymous');
}, document.title+', content attribute invalid value');
test(function(){
var video = document.createElement('video');
video.setAttribute('crossorigin', '');
- assert_equals(video.crossOrigin, '');
+ assert_equals(video.crossOrigin, 'anonymous');
}, document.title+', content attribute empty string');
test(function(){
var video = document.createElement('video');
video.setAttribute('crossorigin', 'ANONYMOUS');
- assert_equals(video.crossOrigin, 'ANONYMOUS');
+ assert_equals(video.crossOrigin, 'anonymous');
}, document.title+', content attribute uppercase ANONYMOUS');
test(function(){
var video = document.createElement('video');
@@ -57,4 +57,4 @@ test(function(){
video.crossOrigin = 'use-credentials';
assert_equals(video.getAttribute('crossorigin'), 'use-credentials');
}, document.title+', setting to use-credentials');
-</script>
+</script>

Powered by Google App Engine
This is Rietveld 408576698