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

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

Issue 529933002: Make 'crossOrigin' IDL attributes nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 3 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
« no previous file with comments | « LayoutTests/fast/dom/element-attribute-js-null-expected.txt ('k') | Source/core/html/HTMLImageElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f171217882fae2361ce2376ed61050b3cf9e0742..fa39685029bfadb17687ad2d4d536bf82429489c 100644
--- a/LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin.html
+++ b/LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin.html
@@ -10,7 +10,7 @@ test(function(){
});
test(function(){
var video = document.createElement('video');
- assert_equals(video.crossOrigin, '');
+ assert_equals(video.crossOrigin, null);
}, document.title+', content attribute missing');
test(function(){
var video = document.createElement('video');
@@ -40,7 +40,7 @@ test(function(){
test(function(){
var video = document.createElement('video');
video.crossOrigin = null;
- assert_equals(video.getAttribute('crossorigin'), 'null');
+ assert_false(video.hasAttribute('crossorigin'));
}, document.title+', setting to null');
test(function(){
var video = document.createElement('video');
« no previous file with comments | « LayoutTests/fast/dom/element-attribute-js-null-expected.txt ('k') | Source/core/html/HTMLImageElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698