chromium/third_party/blink/web_tests/wpt_internal/import-maps/resources/parsing-addresses-invalid.json

{
  "name": "Other invalid addresses",
  "tests": {
    "should ignore unprefixed strings that are not absolute URLs": {
      "importMap": {
        "imports": {
          "foo1": "bar",
          "foo2": "\\bar",
          "foo3": "~bar",
          "foo4": "#bar",
          "foo5": "?bar"
        }
      },
      "importMapBaseURL": "https://base.example/path1/path2/path3",
      "expectedParsedImportMap": {
        "imports": {
          "foo1": null,
          "foo2": null,
          "foo3": null,
          "foo4": null,
          "foo5": null
        },
        "scopes": {},
        "integrity": {}
      }
    }
  }
}