docs: function sanitizeResourceUrl(unsafeResourceUrl) {
      var s = getCurrentSanitizer();
      if (s) {
          return s.sanitize(SecurityContext.RESOURCE_URL, unsafeResourceUrl) || '';
      }
      if (allowSanitizationBypass(unsafeResourceUrl, "ResourceUrl" /* ResourceUrl */)) {
          return unsafeResourceUrl.toString();
      }
      throw new Error('unsafe value used in a resource URL context (see http://g.co/ng/security#xss)');
  }