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

Commit

Permalink
The function will be deleted in future versions of the library.
Browse files Browse the repository at this point in the history
RELNOTES:Deprecate setFrameSrc.

PiperOrigin-RevId: 528723154
Change-Id: Ib9d941b46ccfa002a4529d1d2571292c14982112
  • Loading branch information
Closure Team authored and copybara-github committed May 2, 2023
1 parent 211bb65 commit 1763bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion closure/goog/dom/safe.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ goog.dom.safe.setEmbedSrc = function(embed, url) {
* frameEl.src = url;
* The latter can result in loading untrusted code unless it is ensured that
* the URL refers to a trustworthy resource.
*
* @deprecated Use safevalues.dom.safeIframeEl.setSrc instead.
* @param {!HTMLFrameElement} frame The frame element whose src property
* is to be assigned to.
* @param {!goog.html.TrustedResourceUrl} url The URL to assign.
Expand Down

0 comments on commit 1763bed

Please sign in to comment.