summaryrefslogtreecommitdiffstats
path: root/docshell/base/crashtests/1257730-1.html
blob: 028a1adb883c5925e8c4ab9611afdc652200e8c0 (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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!--
user_pref("browser.send_pings", true);
-->
<script>

function boom() {
  var aLink = document.createElement('a');
  document.body.appendChild(aLink);
  aLink.ping = "ping";
  aLink.href = "href";
  aLink.click();

  var baseElement = document.createElement('base');
  baseElement.setAttribute("href", "javascript:void 0");
  document.head.appendChild(baseElement);
}

</script>
</head>
<body onload="boom();"></body>
</html>