From 071b05c6deaeb6ed62234242788b81b5e1a87e64 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Wed, 6 Dec 2023 15:41:26 +0100 Subject: [PATCH] New CORS error in the explain console error demo page --- devtools-explain-error/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/devtools-explain-error/index.html b/devtools-explain-error/index.html index aa85b09..f716840 100644 --- a/devtools-explain-error/index.html +++ b/devtools-explain-error/index.html @@ -303,6 +303,14 @@

Explain console errors in Bing Chat

new Date("2014-25-23").toISOString(); ` }, + + { + error: "Access to fetch at '...' from origin '...' has been blocked by CORS policy", + note: "Trying to access a resource from a different origin, but the server doesn't allow it.", + code: ` + fetch("https://www.microsoft.com/"); + ` + } ]; const testCasesEl = document.querySelector(".test-cases");