diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/script-element-json-src.html')
-rw-r--r-- | tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/script-element-json-src.html | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/script-element-json-src.html b/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/script-element-json-src.html deleted file mode 100644 index c6d7c9a76e8..00000000000 --- a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/script-element-json-src.html +++ /dev/null @@ -1,14 +0,0 @@ -<!DOCTYPE html> -<title><script> with JSON src</title> -<script src="/resources/testharness.js"></script> -<script src="/resources/testharnessreport.js"></script> -<script> - window.log = []; - - const test_load = async_test( - "Test that <script> doesn't load when the src is JSON."); - window.addEventListener("load", test_load.step_func_done(ev => { - assert_array_equals(log, ["error"]); - })); -</script> -<script type="module" src="./module.json" onload="t.unreached_func('JSON src should fail to load')" onerror="log.push('error')"></script> |