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