1577196.html (528B)
1 <!DOCTYPE html> 2 <html> 3 <body> 4 <script> 5 6 function test() { 7 const xhr = new XMLHttpRequest(); 8 const frame = document.createElement("frame"); 9 document.documentElement.appendChild(frame); 10 const win = frame.contentWindow; 11 const div = document.createElement("div"); 12 div.insertBefore(frame, div.childNodes[0]); 13 SpecialPowers.forceCC(); 14 SpecialPowers.gc(); 15 xhr.open("P", "", false); 16 xhr.send(); 17 win.fetch(null, {}).then(function(arg14) {}); 18 } 19 20 for (let i = 0; i < 10; i++) { 21 test(); 22 } 23 24 </script> 25 </body> 26 </html>