Add support for data: blob: and blank to remote-content-helper. (#46893)
This adds support for creating iframes that use these URLs. It does
so by adding an optional urlType parameter to addIframe. It removes
the recently added addIframeSrcdoc and handles that as another case of
urlType=srcdoc
.
This also fixes the bug whereby a srcdoc iframe would end up with its src
attribute set to the string "null"
.
Bug: 40286851
Change-Id: I1dddae4d46bf58ae09298831d1157a7543f9ebf4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5632767
Auto-Submit: Fergal Daly fergal@chromium.org
Reviewed-by: Domenic Denicola domenic@chromium.org
Commit-Queue: Fergal Daly fergal@chromium.org
Reviewed-by: Fergal Daly fergal@chromium.org
Cr-Commit-Position: refs/heads/main@{#1319561}
Co-authored-by: Fergal Daly fergal@chromium.org