What happens if I create a worker than fetches a known pinshing link by my browser

Continuing the discussion from Blacklist the link discorde.gift from being added to someone's Cloudflare dashboard:

Ok, I have a question regarding Cloudflare workers!

  1. What happens if the fetch URL is a URL known to be deceptive or malicious by my browser? Do I get the browser’s warning or Cloudflare’s “Warning! The site ahead contains phishing content!”?