blob: 923eb7d8b616052377967ff35e980c1b3752122e (
plain)
1
2
3
|
// import()s in an event handler are resolved relative to the document base.
window.dummyDiv.setAttribute("onclick", `import('./imports-a.js?label=' + window.label).then(window.continueTest, window.errorTest)`);
window.dummyDiv.onclick();
|