blob: 7e3cf14faca8eb221570d6469e661d766d833f4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
<script>
function boom() {
document.getElementById("k").removeAttribute("href");
ok(true, "changing iframe contents doesn't cause assertions");
SimpleTest.finish();
}
</script>
</head>
<body onload="boom();">
<iframe src="data:text/html,1"><link id="k" href="data:text/html,2" /></iframe>
</body>
</html>
|