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

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

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 unified diff | Download patch
OLDNEW
(Empty)
1 This tests the handling of the img.crossOrigin attribute
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS 'crossOrigin' in img is true
7 PASS img.crossOrigin is ""
8 PASS img.setAttribute('crossorigin', ''); img.crossOrigin is "anonymous"
9 PASS img.removeAttribute('crossorigin'); img.crossOrigin is ""
arv (Not doing code reviews) 2014/01/13 14:35:09 I found this strange but I double checked with the
10 PASS img.setAttribute('crossorigin', 'foo'); img.crossOrigin is "anonymous"
11 PASS img.setAttribute('crossorigin', 'ANONYMOUS'); img.crossOrigin is "anonymous "
12 PASS img.setAttribute('crossorigin', 'use-credentials'); img.crossOrigin is "use -credentials"
13 PASS img.crossOrigin = ''; img.getAttribute('crossorigin') is ""
14 PASS img.crossOrigin = 'foo'; img.getAttribute('crossorigin') is "foo"
arv (Not doing code reviews) 2014/01/13 14:35:09 This is also very strange. Maybe the spec should c
sof 2014/01/13 14:45:58 I do wonder why crossOrigin wasn't given an IDL en
15 PASS img.crossOrigin = null; img.getAttribute('crossorigin') is "null"
16 PASS img.crossOrigin = 'ANONYMOUS'; img.getAttribute('crossorigin') is "ANONYMOU S"
17 PASS img.crossOrigin = 'use-credentials'; img.getAttribute('crossorigin') is "us e-credentials"
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698