static parseURL(url) {
    const parsedUrl = new URL(url);
    return {
      file: Util.getURLDisplayName(parsedUrl),
      hostname: parsedUrl.hostname,
      // Node's URL parsing behavior is different than Chrome and returns 'null'
      // for chrome-extension:// URLs. See https://github.com/nodejs/node/issues/21955.
      origin: parsedUrl.protocol === 'chrome-extension:' ?
        Util.getChromeExtensionOrigin(url) : parsedUrl.origin,
    };
  }
Split a URL into a file, hostname and origin for easy display.
@param {string} url
@return {{file: string, hostname: string, origin: string}}