layout/base/crashtests/421432.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/421432.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +<title>Crash [@ DocumentViewerImpl::LoadComplete] with focusing and removing iframe on reload</title>
     1.7 +</head>
     1.8 +<body>
     1.9 +<iframe id="content" onload="window.frames[0].focus()" style="width:1000px;height: 300px;"></iframe>
    1.10 +<script>
    1.11 +function doe2() {
    1.12 +document.getElementById('content').src = 'data:text/html;charset=utf-8,%3Cscript%3Ewindow.addEventListener%28%27focus%27%2C%20function%28e%29%20%7Bwindow.frameElement.parentNode.removeChild%28window.frameElement%29%3B%7D%2C%20true%29%3C/script%3E';
    1.13 +}
    1.14 +setInterval(doe2, 500);
    1.15 +</script>
    1.16 +</body>
    1.17 +</html>

mercurial