mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 04:22:30 -10:00
25 lines
740 B
HTML
25 lines
740 B
HTML
<!DOCTYPE html>
|
|
<title>Script @type: unknown parameters</title>
|
|
<link rel="author" title="Ms2ger" href="mailto:[email protected]">
|
|
<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>
|