summaryrefslogtreecommitdiffstats
path: root/dom/worklet/tests/dynamic_import.js
blob: a5196d212fbc18c1123566667b19dbbb98b6f351 (plain)
1
2
3
4
5
6
7
import("./empty-worklet-script.js")
  .then(() => {
    console.log("Fail");
  })
  .catch(e => {
    console.log(e.name + ": Success");
  });