import-subgraph-404.html (519B)
1 <!DOCTYPE html> 2 <script src="/resources/testharness.js"></script> 3 <script src="/resources/testharnessreport.js"></script> 4 <script type="module"> 5 import { delayedLoaded } from "./resources/delayed-modulescript.py"; 6 import { A } from "./404.js"; 7 window.loadSuccess = delayedLoaded; 8 </script> 9 <script type="module"> 10 test(function () { 11 assert_equals(window.loadSuccess, undefined, 12 "module tree w/ its sub graph 404 should fail to load without crashing"); 13 }, "Import a module graph w/ sub-graph 404."); 14 </script>