blob: d1821188b0cf59b61c2158b79946d25e7b7eb550 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="application/javascript"
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>
|