summaryrefslogtreecommitdiff
path: root/tests/testdata/run/error_016_dynamic_import_permissions2.js
blob: f018d4a2efea5e16a6dc6c163bc0c0d13fc98ba7 (plain)
1
2
3
4
5
// If this is executed with --allow-net but not --allow-read the following
// import should cause a permission denied error.
(async () => {
  await import("http://localhost:4545/subdir/evil_remote_import.js");
})();