accessible/tests/mochitest/treeupdate/test_bug884251.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/accessible/tests/mochitest/treeupdate/test_bug884251.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.5 +<head>
     1.6 +  <script type="application/javascript"
     1.7 +          src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     1.8 +
     1.9 +<script>
    1.10 +
    1.11 +function boom()
    1.12 +{
    1.13 +  document.getElementById("k").removeAttribute("href");
    1.14 +  ok(true, "changing iframe contents doesn't cause assertions");
    1.15 +  SimpleTest.finish();
    1.16 +}
    1.17 +
    1.18 +</script>
    1.19 +</head>
    1.20 +
    1.21 +<body onload="boom();">
    1.22 +<iframe src="data:text/html,1"><link id="k" href="data:text/html,2" /></iframe>
    1.23 +</body>
    1.24 +</html>

mercurial