mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
55021b6577
Otherwise, if a tab is closed when we have a request pending, we'll end up leaking the page forever, due to CC optimizations. MozReview-Commit-ID: E5NC0jxWCur --HG-- extra : rebase_source : ac9b068dbf7166daf90d4143a190e7caa03aa88e
26 lines
572 B
HTML
26 lines
572 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
Test page for https://bugzilla.mozilla.org/show_bug.cgi?id=1336811
|
|
-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Test page for Bug 1336811</title>
|
|
</head>
|
|
<body onload="onload();">
|
|
<p><span id="samplepage">sample page</span></p>
|
|
<script type="application/javascript">
|
|
function onload() {
|
|
var request = new XMLHttpRequest;
|
|
request.open("GET", "about:blank");
|
|
request.onreadystatechange = function() {
|
|
request.foo = request;
|
|
}
|
|
request.foo = request;
|
|
request.send();
|
|
request.foo = request;
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|