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