chromium/third_party/blink/web_tests/external/wpt/web-bundle/resources/corp.har

{
  "log": {
    "entries": [
      {
        "request": {
          "method": "GET",
          "url": "https://www1.web-platform.test:8444/web-bundle/resources/wbn/cors/no-corp.js",
          "headers": []
        },
        "response": {
          "status": 200,
          "headers": [
            {
              "name": "Content-type",
              "value": "text/javascript"
            }
          ],
          "content": {
            "text": "scriptLoaded('no-corp.js');"
          }
        }
      },
      {
        "request": {
          "method": "GET",
          "url": "https://www1.web-platform.test:8444/web-bundle/resources/wbn/cors/corp-same-origin.js",
          "headers": []
        },
        "response": {
          "status": 200,
          "headers": [
            {
              "name": "Content-type",
              "value": "text/javascript"
            },
            {
              "name": "Cross-Origin-Resource-Policy",
              "value": "same-origin"
            }
          ],
          "content": {
            "text": "scriptLoaded('corp-same-origin.js');"
          }
        }
      },
      {
        "request": {
          "method": "GET",
          "url": "https://www1.web-platform.test:8444/web-bundle/resources/wbn/cors/corp-cross-origin.js",
          "headers": []
        },
        "response": {
          "status": 200,
          "headers": [
            {
              "name": "Content-type",
              "value": "text/javascript"
            },
            {
              "name": "Cross-Origin-Resource-Policy",
              "value": "cross-origin"
            }
          ],
          "content": {
            "text": "scriptLoaded('corp-cross-origin.js');"
          }
        }
      },
      {
        "request": {
          "method": "GET",
          "url": "uuid-in-package:5eafff38-e0a0-4661-bde0-434255aa9d93",
          "headers": []
        },
        "response": {
          "status": 200,
          "headers": [
            {
              "name": "Content-type",
              "value": "text/html"
            }
          ],
          "content": {
            "text": "<script>\nwindow.addEventListener('message', (e) =>{e.source.postMessage(eval(e.data), e.origin);});\n</script>"
          }
        }
      },
      {
        "request": {
          "method": "GET",
          "url": "uuid-in-package:7e13b47a-8b91-4a0e-997c-993a5e2f3a34",
          "headers": []
        },
        "response": {
          "status": 200,
          "headers": [
            {
              "name": "Content-type",
              "value": "text/html"
            },
            {
              "name": "Cross-Origin-Resource-Policy",
              "value": "same-origin"
            }
          ],
          "content": {
            "text": "<script>\nwindow.addEventListener('message', (e) =>{e.source.postMessage(eval(e.data), e.origin);});\n</script>"
          }
        }
      },
      {
        "request": {
          "method": "GET",
          "url": "uuid-in-package:86d5b696-8867-4454-8b07-51239a0817f7",
          "headers": []
        },
        "response": {
          "status": 200,
          "headers": [
            {
              "name": "Content-type",
              "value": "text/html"
            },
            {
              "name": "Cross-Origin-Embedder-Policy",
              "value": "require-corp"
            },
            {
              "name": "Cross-Origin-Resource-Policy",
              "value": "cross-origin"
            }
          ],
          "content": {
            "text": "<script>\nwindow.addEventListener('message', (e) =>{e.source.postMessage(eval(e.data), e.origin);});\n</script>"
          }
        }
      }
    ]
  }
}