summaryrefslogtreecommitdiff
path: root/cli/tests/error_016_dynamic_import_permissions2.js
blob: 71c70815ce4cc077526dfb99e129f2144de6a976 (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/tests/subdir/evil_remote_import.js");
})();