I have used an iframe which looks like this:
var myFrame = document.getElementById('myFrame'); myFrame.src = 'http://example.com';
It has memory leakage. After the iframe src has changed many times, your browser slows down to a crawl.