test_bug1788532.html (584B)
1 <!DOCTYPE html> 2 <html> 3 <!-- 4 Test interaction of dynamic module loading and synchronous XHR. 5 6 Load a module A that starts a dynamic import of module B which imports A, then 7 run a sync XHR at top level. The dynamic import should complete successfully 8 after the XHR has finished loading. 9 --> 10 <head> 11 <script src="/tests/SimpleTest/SimpleTest.js"></script> 12 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> 13 14 <script> 15 SimpleTest.waitForExplicitFinish(); 16 </script> 17 18 <script type="module" src="./test_bug1788532_moduleA.mjs"></script> 19 </head> 20 21 </html>