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

Unified Diff: LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-languages-02-expected.txt

Issue 1144143009: W3C Test: Import web-platform-tests/html/semantics (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-languages-02-expected.txt
diff --git a/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-languages-02-expected.txt b/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-languages-02-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0651915376ae7e3959cdbf6a46c3ca5016e38bc
--- /dev/null
+++ b/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-languages-02-expected.txt
@@ -0,0 +1,327 @@
+This is a testharness.js-based test.
+PASS Script should run with type=""
+PASS Script shouldn't run with type=" "
+PASS Script should run with type="application/ecmascript"
+PASS Script should run with type="application/javascript"
+FAIL Script should run with type="application/x-ecmascript" assert_equals: expected true but got false
+PASS Script should run with type="application/x-javascript"
+PASS Script should run with type="APPLICATION/ECMASCRIPT"
+PASS Script should run with type="APPLICATION/JAVASCRIPT"
+FAIL Script should run with type="APPLICATION/X-ECMASCRIPT" assert_equals: expected true but got false
+PASS Script should run with type="APPLICATION/X-JAVASCRIPT"
+PASS Script should run with type="application/ecmascript "
+PASS Script should run with type="application/javascript "
+FAIL Script should run with type="application/x-ecmascript " assert_equals: expected true but got false
+PASS Script should run with type="application/x-javascript "
+PASS Script should run with type=" application/ecmascript"
+PASS Script should run with type=" application/javascript"
+FAIL Script should run with type=" application/x-ecmascript" assert_equals: expected true but got false
+PASS Script should run with type=" application/x-javascript"
+PASS Script should run with type="application/ecmascript\t"
+PASS Script should run with type="application/javascript\t"
+FAIL Script should run with type="application/x-ecmascript\t" assert_equals: expected true but got false
+PASS Script should run with type="application/x-javascript\t"
+PASS Script should run with type="\tapplication/ecmascript"
+PASS Script should run with type="\tapplication/javascript"
+FAIL Script should run with type="\tapplication/x-ecmascript" assert_equals: expected true but got false
+PASS Script should run with type="\tapplication/x-javascript"
+PASS Script should run with type="application/ecmascript\n"
+PASS Script should run with type="application/javascript\n"
+FAIL Script should run with type="application/x-ecmascript\n" assert_equals: expected true but got false
+PASS Script should run with type="application/x-javascript\n"
+PASS Script should run with type="\napplication/ecmascript"
+PASS Script should run with type="\napplication/javascript"
+FAIL Script should run with type="\napplication/x-ecmascript" assert_equals: expected true but got false
+PASS Script should run with type="\napplication/x-javascript"
+PASS Script should run with type="application/ecmascript\r"
+PASS Script should run with type="application/javascript\r"
+FAIL Script should run with type="application/x-ecmascript\r" assert_equals: expected true but got false
+PASS Script should run with type="application/x-javascript\r"
+PASS Script should run with type="\rapplication/ecmascript"
+PASS Script should run with type="\rapplication/javascript"
+FAIL Script should run with type="\rapplication/x-ecmascript" assert_equals: expected true but got false
+PASS Script should run with type="\rapplication/x-javascript"
+PASS Script should run with type="application/ecmascript\f"
+PASS Script should run with type="application/javascript\f"
+FAIL Script should run with type="application/x-ecmascript\f" assert_equals: expected true but got false
+PASS Script should run with type="application/x-javascript\f"
+PASS Script should run with type="\fapplication/ecmascript"
+PASS Script should run with type="\fapplication/javascript"
+FAIL Script should run with type="\fapplication/x-ecmascript" assert_equals: expected true but got false
+PASS Script should run with type="\fapplication/x-javascript"
+PASS Script shouldn't run with type="application/ecmascript\0"
+PASS Script shouldn't run with type="application/javascript\0"
+PASS Script shouldn't run with type="application/x-ecmascript\0"
+PASS Script shouldn't run with type="application/x-javascript\0"
+PASS Script shouldn't run with type="application/ecmascript\0foo"
+PASS Script shouldn't run with type="application/javascript\0foo"
+PASS Script shouldn't run with type="application/x-ecmascript\0foo"
+PASS Script shouldn't run with type="application/x-javascript\0foo"
+PASS Script should run with type="text/ecmascript"
+PASS Script should run with type="text/javascript"
+FAIL Script should run with type="text/javascript1.0" assert_equals: expected true but got false
+PASS Script should run with type="text/javascript1.1"
+PASS Script should run with type="text/javascript1.2"
+PASS Script should run with type="text/javascript1.3"
+FAIL Script should run with type="text/javascript1.4" assert_equals: expected true but got false
+FAIL Script should run with type="text/javascript1.5" assert_equals: expected true but got false
+PASS Script should run with type="text/jscript"
+PASS Script should run with type="text/livescript"
+FAIL Script should run with type="text/x-ecmascript" assert_equals: expected true but got false
+FAIL Script should run with type="text/x-javascript" assert_equals: expected true but got false
+PASS Script should run with type="TEXT/ECMASCRIPT"
+PASS Script should run with type="TEXT/JAVASCRIPT"
+FAIL Script should run with type="TEXT/JAVASCRIPT1.0" assert_equals: expected true but got false
+PASS Script should run with type="TEXT/JAVASCRIPT1.1"
+PASS Script should run with type="TEXT/JAVASCRIPT1.2"
+PASS Script should run with type="TEXT/JAVASCRIPT1.3"
+FAIL Script should run with type="TEXT/JAVASCRIPT1.4" assert_equals: expected true but got false
+FAIL Script should run with type="TEXT/JAVASCRIPT1.5" assert_equals: expected true but got false
+PASS Script should run with type="TEXT/JSCRIPT"
+PASS Script should run with type="TEXT/LIVESCRIPT"
+FAIL Script should run with type="TEXT/X-ECMASCRIPT" assert_equals: expected true but got false
+FAIL Script should run with type="TEXT/X-JAVASCRIPT" assert_equals: expected true but got false
+PASS Script should run with type="text/ecmascript "
+PASS Script should run with type="text/javascript "
+FAIL Script should run with type="text/javascript1.0 " assert_equals: expected true but got false
+PASS Script should run with type="text/javascript1.1 "
+PASS Script should run with type="text/javascript1.2 "
+PASS Script should run with type="text/javascript1.3 "
+FAIL Script should run with type="text/javascript1.4 " assert_equals: expected true but got false
+FAIL Script should run with type="text/javascript1.5 " assert_equals: expected true but got false
+PASS Script should run with type="text/jscript "
+PASS Script should run with type="text/livescript "
+FAIL Script should run with type="text/x-ecmascript " assert_equals: expected true but got false
+FAIL Script should run with type="text/x-javascript " assert_equals: expected true but got false
+PASS Script should run with type=" text/ecmascript"
+PASS Script should run with type=" text/javascript"
+FAIL Script should run with type=" text/javascript1.0" assert_equals: expected true but got false
+PASS Script should run with type=" text/javascript1.1"
+PASS Script should run with type=" text/javascript1.2"
+PASS Script should run with type=" text/javascript1.3"
+FAIL Script should run with type=" text/javascript1.4" assert_equals: expected true but got false
+FAIL Script should run with type=" text/javascript1.5" assert_equals: expected true but got false
+PASS Script should run with type=" text/jscript"
+PASS Script should run with type=" text/livescript"
+FAIL Script should run with type=" text/x-ecmascript" assert_equals: expected true but got false
+FAIL Script should run with type=" text/x-javascript" assert_equals: expected true but got false
+PASS Script should run with type="text/ecmascript\t"
+PASS Script should run with type="text/javascript\t"
+FAIL Script should run with type="text/javascript1.0\t" assert_equals: expected true but got false
+PASS Script should run with type="text/javascript1.1\t"
+PASS Script should run with type="text/javascript1.2\t"
+PASS Script should run with type="text/javascript1.3\t"
+FAIL Script should run with type="text/javascript1.4\t" assert_equals: expected true but got false
+FAIL Script should run with type="text/javascript1.5\t" assert_equals: expected true but got false
+PASS Script should run with type="text/jscript\t"
+PASS Script should run with type="text/livescript\t"
+FAIL Script should run with type="text/x-ecmascript\t" assert_equals: expected true but got false
+FAIL Script should run with type="text/x-javascript\t" assert_equals: expected true but got false
+PASS Script should run with type="\ttext/ecmascript"
+PASS Script should run with type="\ttext/javascript"
+FAIL Script should run with type="\ttext/javascript1.0" assert_equals: expected true but got false
+PASS Script should run with type="\ttext/javascript1.1"
+PASS Script should run with type="\ttext/javascript1.2"
+PASS Script should run with type="\ttext/javascript1.3"
+FAIL Script should run with type="\ttext/javascript1.4" assert_equals: expected true but got false
+FAIL Script should run with type="\ttext/javascript1.5" assert_equals: expected true but got false
+PASS Script should run with type="\ttext/jscript"
+PASS Script should run with type="\ttext/livescript"
+FAIL Script should run with type="\ttext/x-ecmascript" assert_equals: expected true but got false
+FAIL Script should run with type="\ttext/x-javascript" assert_equals: expected true but got false
+PASS Script should run with type="text/ecmascript\n"
+PASS Script should run with type="text/javascript\n"
+FAIL Script should run with type="text/javascript1.0\n" assert_equals: expected true but got false
+PASS Script should run with type="text/javascript1.1\n"
+PASS Script should run with type="text/javascript1.2\n"
+PASS Script should run with type="text/javascript1.3\n"
+FAIL Script should run with type="text/javascript1.4\n" assert_equals: expected true but got false
+FAIL Script should run with type="text/javascript1.5\n" assert_equals: expected true but got false
+PASS Script should run with type="text/jscript\n"
+PASS Script should run with type="text/livescript\n"
+FAIL Script should run with type="text/x-ecmascript\n" assert_equals: expected true but got false
+FAIL Script should run with type="text/x-javascript\n" assert_equals: expected true but got false
+PASS Script should run with type="\ntext/ecmascript"
+PASS Script should run with type="\ntext/javascript"
+FAIL Script should run with type="\ntext/javascript1.0" assert_equals: expected true but got false
+PASS Script should run with type="\ntext/javascript1.1"
+PASS Script should run with type="\ntext/javascript1.2"
+PASS Script should run with type="\ntext/javascript1.3"
+FAIL Script should run with type="\ntext/javascript1.4" assert_equals: expected true but got false
+FAIL Script should run with type="\ntext/javascript1.5" assert_equals: expected true but got false
+PASS Script should run with type="\ntext/jscript"
+PASS Script should run with type="\ntext/livescript"
+FAIL Script should run with type="\ntext/x-ecmascript" assert_equals: expected true but got false
+FAIL Script should run with type="\ntext/x-javascript" assert_equals: expected true but got false
+PASS Script should run with type="text/ecmascript\r"
+PASS Script should run with type="text/javascript\r"
+FAIL Script should run with type="text/javascript1.0\r" assert_equals: expected true but got false
+PASS Script should run with type="text/javascript1.1\r"
+PASS Script should run with type="text/javascript1.2\r"
+PASS Script should run with type="text/javascript1.3\r"
+FAIL Script should run with type="text/javascript1.4\r" assert_equals: expected true but got false
+FAIL Script should run with type="text/javascript1.5\r" assert_equals: expected true but got false
+PASS Script should run with type="text/jscript\r"
+PASS Script should run with type="text/livescript\r"
+FAIL Script should run with type="text/x-ecmascript\r" assert_equals: expected true but got false
+FAIL Script should run with type="text/x-javascript\r" assert_equals: expected true but got false
+PASS Script should run with type="\rtext/ecmascript"
+PASS Script should run with type="\rtext/javascript"
+FAIL Script should run with type="\rtext/javascript1.0" assert_equals: expected true but got false
+PASS Script should run with type="\rtext/javascript1.1"
+PASS Script should run with type="\rtext/javascript1.2"
+PASS Script should run with type="\rtext/javascript1.3"
+FAIL Script should run with type="\rtext/javascript1.4" assert_equals: expected true but got false
+FAIL Script should run with type="\rtext/javascript1.5" assert_equals: expected true but got false
+PASS Script should run with type="\rtext/jscript"
+PASS Script should run with type="\rtext/livescript"
+FAIL Script should run with type="\rtext/x-ecmascript" assert_equals: expected true but got false
+FAIL Script should run with type="\rtext/x-javascript" assert_equals: expected true but got false
+PASS Script should run with type="text/ecmascript\f"
+PASS Script should run with type="text/javascript\f"
+FAIL Script should run with type="text/javascript1.0\f" assert_equals: expected true but got false
+PASS Script should run with type="text/javascript1.1\f"
+PASS Script should run with type="text/javascript1.2\f"
+PASS Script should run with type="text/javascript1.3\f"
+FAIL Script should run with type="text/javascript1.4\f" assert_equals: expected true but got false
+FAIL Script should run with type="text/javascript1.5\f" assert_equals: expected true but got false
+PASS Script should run with type="text/jscript\f"
+PASS Script should run with type="text/livescript\f"
+FAIL Script should run with type="text/x-ecmascript\f" assert_equals: expected true but got false
+FAIL Script should run with type="text/x-javascript\f" assert_equals: expected true but got false
+PASS Script should run with type="\ftext/ecmascript"
+PASS Script should run with type="\ftext/javascript"
+FAIL Script should run with type="\ftext/javascript1.0" assert_equals: expected true but got false
+PASS Script should run with type="\ftext/javascript1.1"
+PASS Script should run with type="\ftext/javascript1.2"
+PASS Script should run with type="\ftext/javascript1.3"
+FAIL Script should run with type="\ftext/javascript1.4" assert_equals: expected true but got false
+FAIL Script should run with type="\ftext/javascript1.5" assert_equals: expected true but got false
+PASS Script should run with type="\ftext/jscript"
+PASS Script should run with type="\ftext/livescript"
+FAIL Script should run with type="\ftext/x-ecmascript" assert_equals: expected true but got false
+FAIL Script should run with type="\ftext/x-javascript" assert_equals: expected true but got false
+PASS Script shouldn't run with type="text/ecmascript\0"
+PASS Script shouldn't run with type="text/javascript\0"
+PASS Script shouldn't run with type="text/javascript1.0\0"
+PASS Script shouldn't run with type="text/javascript1.1\0"
+PASS Script shouldn't run with type="text/javascript1.2\0"
+PASS Script shouldn't run with type="text/javascript1.3\0"
+PASS Script shouldn't run with type="text/javascript1.4\0"
+PASS Script shouldn't run with type="text/javascript1.5\0"
+PASS Script shouldn't run with type="text/jscript\0"
+PASS Script shouldn't run with type="text/livescript\0"
+PASS Script shouldn't run with type="text/x-ecmascript\0"
+PASS Script shouldn't run with type="text/x-javascript\0"
+PASS Script shouldn't run with type="text/ecmascript\0foo"
+PASS Script shouldn't run with type="text/javascript\0foo"
+PASS Script shouldn't run with type="text/javascript1.0\0foo"
+PASS Script shouldn't run with type="text/javascript1.1\0foo"
+PASS Script shouldn't run with type="text/javascript1.2\0foo"
+PASS Script shouldn't run with type="text/javascript1.3\0foo"
+PASS Script shouldn't run with type="text/javascript1.4\0foo"
+PASS Script shouldn't run with type="text/javascript1.5\0foo"
+PASS Script shouldn't run with type="text/jscript\0foo"
+PASS Script shouldn't run with type="text/livescript\0foo"
+PASS Script shouldn't run with type="text/x-ecmascript\0foo"
+PASS Script shouldn't run with type="text/x-javascript\0foo"
+PASS Script should run with language=""
+PASS Script shouldn't run with language=" "
+PASS Script should run with language="ecmascript"
+PASS Script should run with language="javascript"
+PASS Script should run with language="javascript1.0"
+PASS Script should run with language="javascript1.1"
+PASS Script should run with language="javascript1.2"
+PASS Script should run with language="javascript1.3"
+PASS Script should run with language="javascript1.4"
+PASS Script should run with language="javascript1.5"
+PASS Script should run with language="jscript"
+PASS Script should run with language="livescript"
+FAIL Script should run with language="x-ecmascript" assert_equals: expected true but got false
+FAIL Script should run with language="x-javascript" assert_equals: expected true but got false
+PASS Script should run with language="ECMASCRIPT"
+PASS Script should run with language="JAVASCRIPT"
+PASS Script should run with language="JAVASCRIPT1.0"
+PASS Script should run with language="JAVASCRIPT1.1"
+PASS Script should run with language="JAVASCRIPT1.2"
+PASS Script should run with language="JAVASCRIPT1.3"
+PASS Script should run with language="JAVASCRIPT1.4"
+PASS Script should run with language="JAVASCRIPT1.5"
+PASS Script should run with language="JSCRIPT"
+PASS Script should run with language="LIVESCRIPT"
+FAIL Script should run with language="X-ECMASCRIPT" assert_equals: expected true but got false
+FAIL Script should run with language="X-JAVASCRIPT" assert_equals: expected true but got false
+PASS Script shouldn't run with language="ecmascript "
+PASS Script shouldn't run with language="javascript "
+PASS Script shouldn't run with language="javascript1.0 "
+PASS Script shouldn't run with language="javascript1.1 "
+PASS Script shouldn't run with language="javascript1.2 "
+PASS Script shouldn't run with language="javascript1.3 "
+PASS Script shouldn't run with language="javascript1.4 "
+PASS Script shouldn't run with language="javascript1.5 "
+PASS Script shouldn't run with language="jscript "
+PASS Script shouldn't run with language="livescript "
+PASS Script shouldn't run with language="x-ecmascript "
+PASS Script shouldn't run with language="x-javascript "
+PASS Script shouldn't run with language=" ecmascript"
+PASS Script shouldn't run with language=" javascript"
+PASS Script shouldn't run with language=" javascript1.0"
+PASS Script shouldn't run with language=" javascript1.1"
+PASS Script shouldn't run with language=" javascript1.2"
+PASS Script shouldn't run with language=" javascript1.3"
+PASS Script shouldn't run with language=" javascript1.4"
+PASS Script shouldn't run with language=" javascript1.5"
+PASS Script shouldn't run with language=" jscript"
+PASS Script shouldn't run with language=" livescript"
+PASS Script shouldn't run with language=" x-ecmascript"
+PASS Script shouldn't run with language=" x-javascript"
+PASS Script shouldn't run with language="ecmascriptxyz"
+PASS Script shouldn't run with language="javascriptxyz"
+PASS Script shouldn't run with language="javascript1.0xyz"
+PASS Script shouldn't run with language="javascript1.1xyz"
+PASS Script shouldn't run with language="javascript1.2xyz"
+PASS Script shouldn't run with language="javascript1.3xyz"
+PASS Script shouldn't run with language="javascript1.4xyz"
+PASS Script shouldn't run with language="javascript1.5xyz"
+PASS Script shouldn't run with language="jscriptxyz"
+PASS Script shouldn't run with language="livescriptxyz"
+PASS Script shouldn't run with language="x-ecmascriptxyz"
+PASS Script shouldn't run with language="x-javascriptxyz"
+PASS Script shouldn't run with language="xyzecmascript"
+PASS Script shouldn't run with language="xyzjavascript"
+PASS Script shouldn't run with language="xyzjavascript1.0"
+PASS Script shouldn't run with language="xyzjavascript1.1"
+PASS Script shouldn't run with language="xyzjavascript1.2"
+PASS Script shouldn't run with language="xyzjavascript1.3"
+PASS Script shouldn't run with language="xyzjavascript1.4"
+PASS Script shouldn't run with language="xyzjavascript1.5"
+PASS Script shouldn't run with language="xyzjscript"
+PASS Script shouldn't run with language="xyzlivescript"
+PASS Script shouldn't run with language="xyzx-ecmascript"
+PASS Script shouldn't run with language="xyzx-javascript"
+PASS Script shouldn't run with language="ecmascript\0"
+PASS Script shouldn't run with language="javascript\0"
+PASS Script shouldn't run with language="javascript1.0\0"
+PASS Script shouldn't run with language="javascript1.1\0"
+PASS Script shouldn't run with language="javascript1.2\0"
+PASS Script shouldn't run with language="javascript1.3\0"
+PASS Script shouldn't run with language="javascript1.4\0"
+PASS Script shouldn't run with language="javascript1.5\0"
+PASS Script shouldn't run with language="jscript\0"
+PASS Script shouldn't run with language="livescript\0"
+PASS Script shouldn't run with language="x-ecmascript\0"
+PASS Script shouldn't run with language="x-javascript\0"
+PASS Script shouldn't run with language="ecmascript\0foo"
+PASS Script shouldn't run with language="javascript\0foo"
+PASS Script shouldn't run with language="javascript1.0\0foo"
+PASS Script shouldn't run with language="javascript1.1\0foo"
+PASS Script shouldn't run with language="javascript1.2\0foo"
+PASS Script shouldn't run with language="javascript1.3\0foo"
+PASS Script shouldn't run with language="javascript1.4\0foo"
+PASS Script shouldn't run with language="javascript1.5\0foo"
+PASS Script shouldn't run with language="jscript\0foo"
+PASS Script shouldn't run with language="livescript\0foo"
+PASS Script shouldn't run with language="x-ecmascript\0foo"
+PASS Script shouldn't run with language="x-javascript\0foo"
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698