failing "fetch" throws "TypeError"

This issue has been tracked since 2022-07-27.

that sounds a bit strange:

a fetch failing with

Access to fetch at '' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

throws a "TypeError"

VM858 about:srcdoc:167 TypeError: Failed to fetch
    at Object.op (
    at o.unifiedEval (
    at o.unifiedExec (
    at a.execute (
    at n (
    at Object.op (
    at o.unifiedEval (
    at Object.evaluate (
    at o.unifiedEval (
    at o.unifiedExec (

although the underlying reason does not match the official description of a "TypeError" (see MDN)

A live example can be found here (just remove mode:'no-cors' from the fetch command)

More Details About Repo
Owner Name bigskysoftware
Repo Name _hyperscript
Full Name bigskysoftware/_hyperscript
Language JavaScript
Created Date 2020-05-27
Updated Date 2022-11-25
Star Count 1265
Watcher Count 18
Fork Count 75
Issue Count 86


Issue Title Created Date Updated Date