tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

url-specifiers-schemes.json (1880B)


      1 {
      2  "importMap": {
      3    "imports": {
      4      "data:text/": "/lib/test-data/",
      5      "about:text/": "/lib/test-about/",
      6      "blob:text/": "/lib/test-blob/",
      7      "blah:text/": "/lib/test-blah/",
      8      "http:text/": "/lib/test-http/",
      9      "https:text/": "/lib/test-https/",
     10      "file:text/": "/lib/test-file/",
     11      "ftp:text/": "/lib/test-ftp/",
     12      "ws:text/": "/lib/test-ws/",
     13      "wss:text/": "/lib/test-wss/"
     14    }
     15  },
     16  "importMapBaseURL": "https://example.com/app/index.html",
     17  "baseURL": "https://example.com/js/app.mjs",
     18  "name": "URL-like specifiers",
     19  "tests": {
     20    "Non-special vs. special schemes": {
     21      "expectedResults": {
     22        "data:text/javascript,console.log('foo')": "data:text/javascript,console.log('foo')",
     23        "data:text/": "https://example.com/lib/test-data/",
     24        "about:text/foo": "about:text/foo",
     25        "about:text/": "https://example.com/lib/test-about/",
     26        "blob:text/foo": "blob:text/foo",
     27        "blob:text/": "https://example.com/lib/test-blob/",
     28        "blah:text/foo": "blah:text/foo",
     29        "blah:text/": "https://example.com/lib/test-blah/",
     30        "http:text/foo": "https://example.com/lib/test-http/foo",
     31        "http:text/": "https://example.com/lib/test-http/",
     32        "https:text/foo": "https://example.com/lib/test-https/foo",
     33        "https:text/": "https://example.com/lib/test-https/",
     34        "ftp:text/foo": "https://example.com/lib/test-ftp/foo",
     35        "ftp:text/": "https://example.com/lib/test-ftp/",
     36        "file:text/foo": "https://example.com/lib/test-file/foo",
     37        "file:text/": "https://example.com/lib/test-file/",
     38        "ws:text/foo": "https://example.com/lib/test-ws/foo",
     39        "ws:text/": "https://example.com/lib/test-ws/",
     40        "wss:text/foo": "https://example.com/lib/test-wss/foo",
     41        "wss:text/": "https://example.com/lib/test-wss/"
     42      }
     43    }
     44  }
     45 }