Sha256: d3c7c0c1694c457be2a4a99ea59638512b519acd654de87740db2a3bc0f16bd9

Contents?: true

Size: 1.38 KB

Versions: 4

Compression:

Stored size: 1.38 KB

Contents

<html>
<head>
    <script type="text/javascript" src="../lib/MochiKit/MockDOM.js"></script>
    <script type="text/javascript" src="../lib/MochiKit/Base.js"></script>
    <script type="text/javascript" src="../lib/MochiKit/Iter.js"></script>
    <script type="text/javascript" src="../lib/MochiKit/DOM.js"></script>
    <script type="text/javascript" src="../lib/MochiKit/Style.js"></script>    
    <script type="text/javascript" src="SimpleTest/SimpleTest.js"></script>        
    <link rel="stylesheet" type="text/css" href="SimpleTest/test.css">
</head>
<body>

<pre id="test">
<script type="text/javascript">
try {

    for (var i = 0; i < 10000; i++) {
        var n = document.createElement("DIV");
        n.appendChild(document.createTextNode(""));
        var list = MochiKit.Iter.list(n.childNodes);
        var n2 = document.createElement("DIV");
        appendChildNodes(n2, n.childNodes);
        var n3 = document.createElement("DIV");
        replaceChildNodes(n3, n2.childNodes);
    }
    ok( true, "Safari didn't crash! #213" );
    ok( true, "test suite finished!");
    
    
} catch (err) {
    
    var s = "test suite failure!\n";
    var o = {};
    var k = null;
    for (k in err) {
        // ensure unique keys?!
        if (!o[k]) {
            s +=  k + ": " + err[k] + "\n";
            o[k] = err[k];
        }
    }
    ok ( false, s );

}
</script>
</pre>
</body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
old_sql-1.16.0 public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html
old_sql-1.15.0 public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html
old_sql-1.14.0 public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html
old_sql-1.13.0 public/javascripts/old_sql/MochiKit-1.4.2/tests/test_MochiKit-DOM-Safari.html