Index: LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-languages-01.html |
diff --git a/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-languages-01.html b/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-languages-01.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..049be70692a1f969ddeac2671ba4f94fa5c43f3c |
--- /dev/null |
+++ b/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-languages-01.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<title>Script @type: unknown parameters</title> |
+<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"> |
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#scriptingLanguages"> |
+<script src="../../../../../../resources/testharness.js"></script> |
+<script src="../../../../../../resources/testharnessreport.js"></script> |
+<div id="log"></div> |
+<div id="test"> |
+<script type="text/javascript;charset=UTF-8"> |
+test(function() { |
+ assert_unreached("'charset' should have prevented this script from executing."); |
+}) |
+</script> |
+<script type="text/javascript;x-test=abc"> |
+test(function() { |
+ assert_unreached("'x-test' should have prevented this script from executing."); |
+}) |
+</script> |
+</div> |
+<script> |
+test(function() { |
+ assert_true(true) |
+}) |
+</script> |