The following iframe uses the allow attribute but not the src attribute -- the contentWindow is navigated by script

Try: iframe src specified at the outset