summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/reload-non-styled-element-crash.html
blob: 246dbb5f3b1995849167fe137ba5532893c2d129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
<head>
<script>
    function start() {
        document.body.innerHTML='<p>laserator<p>#f'
        document.body.innerHTML = ''
        var m = document.createElementNS('http://www.w3.org/1998/Math/MathML','free');
        document.body.appendChild(m);
        location.reload();
        document.body.offsetTop;
        document.body.innerHTML='PASS if no crash or assert in debug';
        if (window.testRunner)
            testRunner.dumpAsText();
    }
</script>
</head>
<body  onload='start()'></body>
</html>