| <!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> |