Sign in
chromium
/
chromium
/
src
/
5e991c1ebeaf47627aef887c8efa9171ec35eca6
/
.
/
chrome
/
test
/
data
/
ads_observer
/
ad_iframe_writer.js
blob: 8bcbb61d3562581dc6ce307df77fb4a797d2fe47 [
file
] [
log
] [
blame
]
// Creates and iframe and appends it to the body element. Make sure the caller
// has a body element!
function
createAdIframe
()
{
let frame
=
document
.
createElement
(
'iframe'
);
document
.
body
.
appendChild
(
frame
);
return
frame
;
}