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

Unified Diff: LayoutTests/fast/dom/HTMLScriptElement/script-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/HTMLScriptElement/script-crossOrigin-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/script-crossOrigin-expected.txt b/LayoutTests/fast/dom/HTMLScriptElement/script-crossOrigin-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5442e468ff64e35e6f3fa9d75ca4ce8dc47e1fba
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLScriptElement/script-crossOrigin-expected.txt
@@ -0,0 +1,21 @@
+This tests the handling of the script.crossOrigin attribute
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS 'crossOrigin' in script is true
+PASS script.crossOrigin is ""
+PASS script.setAttribute('crossorigin', ''); script.crossOrigin is "anonymous"
+PASS script.removeAttribute('crossorigin'); script.crossOrigin is ""
+PASS script.setAttribute('crossorigin', 'foo'); script.crossOrigin is "anonymous"
+PASS script.setAttribute('crossorigin', 'ANONYMOUS'); script.crossOrigin is "anonymous"
+PASS script.setAttribute('crossorigin', 'use-credentials'); script.crossOrigin is "use-credentials"
+PASS script.crossOrigin = ''; script.getAttribute('crossorigin') is ""
+PASS script.crossOrigin = 'foo'; script.getAttribute('crossorigin') is "foo"
+PASS script.crossOrigin = null; script.getAttribute('crossorigin') is "null"
+PASS script.crossOrigin = 'ANONYMOUS'; script.getAttribute('crossorigin') is "ANONYMOUS"
+PASS script.crossOrigin = 'use-credentials'; script.getAttribute('crossorigin') is "use-credentials"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698