This filters out blob: URIs from being reported in the third_parties scanner. Like data: URIs, blob: URIs don't actually generate external connections, but do get processed as a network request through Chrome DevTools.
I also moved the checking for both URI types to be before URL.parse(), since URL.parse() (reasonably) doesn't properly parse non-URLs.
This filters out
blob:
URIs from being reported in thethird_parties
scanner. Likedata:
URIs,blob:
URIs don't actually generate external connections, but do get processed as a network request through Chrome DevTools.I also moved the checking for both URI types to be before
URL.parse()
, sinceURL.parse()
(reasonably) doesn't properly parse non-URLs.