summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/551631-1.html
blob: 90a84ce5845fb49d5e3c6e8f24b98af4b618278f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE HTML>
<html>
<head>
<base href="javascript:5">
<script>

function boom()
{
  var head = document.getElementsByTagName("head")[0];
  var s = document.createElement("script");
  s.async = "async";
  s.src = "useBaseHrefAndFail";
  s.q = "q";
  head.appendChild(s);
  head.removeChild(s);
}

</script>
</head>

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