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

Unified Diff: LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt

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
Index: LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt b/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt
index 51ed6fa13145b0cee2b4c70a18bcd4e0eea4c248..0c1c0cdbf4d05bb24507f99cc6f8faf795dad05a 100644
--- a/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt
@@ -4,15 +4,15 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS 'crossOrigin' in img is true
-PASS img.crossOrigin is ""
+PASS img.crossOrigin is null
PASS img.setAttribute('crossorigin', ''); img.crossOrigin is "anonymous"
-PASS img.removeAttribute('crossorigin'); img.crossOrigin is ""
+PASS img.removeAttribute('crossorigin'); img.crossOrigin is null
PASS img.setAttribute('crossorigin', 'foo'); img.crossOrigin is "anonymous"
PASS img.setAttribute('crossorigin', 'ANONYMOUS'); img.crossOrigin is "anonymous"
PASS img.setAttribute('crossorigin', 'use-credentials'); img.crossOrigin is "use-credentials"
PASS img.crossOrigin = ''; img.getAttribute('crossorigin') is ""
PASS img.crossOrigin = 'foo'; img.getAttribute('crossorigin') is "foo"
-PASS img.crossOrigin = null; img.getAttribute('crossorigin') is "null"
+PASS img.crossOrigin = null; img.hasAttribute('crossorigin') is false
PASS img.crossOrigin = 'ANONYMOUS'; img.getAttribute('crossorigin') is "ANONYMOUS"
PASS img.crossOrigin = 'use-credentials'; img.getAttribute('crossorigin') is "use-credentials"
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698