Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Makes SafeUrl.isSafeMimeType package private
Browse files Browse the repository at this point in the history
RELNOTES: Makes SafeUrl.isSafeMimeType package private.

PiperOrigin-RevId: 559698430
Change-Id: I59ead5a95e9d2384311c756af599596c19317646
  • Loading branch information
Closure Team authored and copybara-github committed Aug 24, 2023
1 parent dbbd347 commit 304bafe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions closure/goog/html/safeurl.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ goog.html.SAFE_MIME_TYPE_PATTERN_ = new RegExp(
* @return {boolean} True if the MIME type is safe and creating a Blob via
* `SafeUrl.fromBlob()` with that type will not fail due to the type. False
* otherwise.
* @package
*/
goog.html.SafeUrl.isSafeMimeType = function(mimeType) {
'use strict';
Expand Down

0 comments on commit 304bafe

Please sign in to comment.