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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..51ed6fa13145b0cee2b4c70a18bcd4e0eea4c248 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt |
@@ -0,0 +1,21 @@ |
+This tests the handling of the img.crossOrigin attribute |
+ |
+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.setAttribute('crossorigin', ''); img.crossOrigin is "anonymous" |
+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
|
+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" |
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
|
+PASS img.crossOrigin = null; img.getAttribute('crossorigin') is "null" |
+PASS img.crossOrigin = 'ANONYMOUS'; img.getAttribute('crossorigin') is "ANONYMOUS" |
+PASS img.crossOrigin = 'use-credentials'; img.getAttribute('crossorigin') is "use-credentials" |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |