{
  "checkedAt": "2026-10-02T01:07:42.904Z",
  "browser": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Safari/537.36",
  "fixture": {
    "width": 120,
    "height": 80,
    "rgb": [
      36,
      132,
      184
    ],
    "sample": [
      60,
      40
    ]
  },
  "cases": [
    {
      "name": "same-origin image",
      "mode": "image",
      "url": "/deny.png",
      "anonymous": false,
      "load": "loaded",
      "read": "readable",
      "rgba": [
        36,
        132,
        184,
        255
      ]
    },
    {
      "name": "cross-origin image, no CORS",
      "mode": "image",
      "url": "http://127.0.0.1:8767/deny.png",
      "anonymous": false,
      "load": "loaded",
      "read": "blocked",
      "errorName": "SecurityError",
      "error": "Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data."
    },
    {
      "name": "anonymous image, no CORS",
      "mode": "image",
      "url": "http://127.0.0.1:8767/deny.png",
      "anonymous": true,
      "load": "not loaded",
      "read": "not attempted",
      "errorName": "Error",
      "error": "Image load error"
    },
    {
      "name": "anonymous image, CORS allowed",
      "mode": "image",
      "url": "http://127.0.0.1:8767/allow.png",
      "anonymous": true,
      "load": "loaded",
      "read": "readable",
      "rgba": [
        36,
        132,
        184,
        255
      ]
    },
    {
      "name": "ordinary image, CORS header only",
      "mode": "image",
      "url": "http://127.0.0.1:8767/allow.png",
      "anonymous": false,
      "load": "loaded",
      "read": "blocked",
      "errorName": "SecurityError",
      "error": "Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data."
    },
    {
      "name": "fetch cors, no CORS",
      "mode": "cors",
      "url": "http://127.0.0.1:8767/deny.png",
      "anonymous": false,
      "load": "not loaded",
      "read": "not attempted",
      "errorName": "TypeError",
      "error": "Failed to fetch"
    },
    {
      "name": "fetch cors, CORS allowed",
      "mode": "cors",
      "url": "http://127.0.0.1:8767/allow.png",
      "anonymous": false,
      "load": "loaded",
      "read": "readable",
      "responseType": "cors",
      "status": 200,
      "blobBytes": 260,
      "rgba": [
        36,
        132,
        184,
        255
      ]
    },
    {
      "name": "fetch no-cors, no CORS",
      "mode": "no-cors",
      "url": "http://127.0.0.1:8767/deny.png",
      "anonymous": false,
      "load": "not loaded",
      "read": "not attempted",
      "responseType": "opaque",
      "status": 0,
      "blobBytes": 0,
      "errorName": "Error",
      "error": "Image load error"
    }
  ]
}