Skip to content

Commit 96e3e27

Browse files
committed
Add copybara strip comments for safe_iframe.ts
1 parent 2ac16be commit 96e3e27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mesop/web/src/safe_iframe/safe_iframe.ts

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export function setIframeSrc(iframe: HTMLIFrameElement, src: string) {
1111
setIframeSrcImpl(iframe, src);
1212
}
1313

14+
// copybara:strip_begin(external-only)
1415
function setIframeSrcImpl(iframe: HTMLIFrameElement, src: string) {
1516
// This is a tightly controlled list of attributes that enables us to
1617
// secure sandbox iframes. Do not add additional attributes without
@@ -29,3 +30,4 @@ function setIframeSrcImpl(iframe: HTMLIFrameElement, src: string) {
2930

3031
iframe.src = sanitizeJavaScriptUrl(src)!;
3132
}
33+
// copybara:strip_end

0 commit comments

Comments
 (0)