As I test an HTML page on Firefox Developer, I encounter an issue with an iframe. While the iframe works fine on Google Chrome, it causes the parent page to continuously load on Firefox. This leads to a degradation in performance after a few minutes. The iframe is initially empty but later filled with HTML content retrieved from an AJAX request, with the goal of displaying the body of an email. I am using AngularJS on the page, though I don't believe this is the cause of the problem. I have attempted to remove all JavaScript interactions with the iframe and even tried pointing it to a real empty file, but the issue persists.
<iframe frameborder="0" scrolling="no" sandbox="allow-same-origin" class="p-y" width="100%" ng-init="resizeFrame()"></iframe>
(I added a sandbox attribute in case of origin issues, but it did not solve the problem)
Can anyone identify what the problem might be and suggest a solution?