content/base/crashtests/864448.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/864448.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<meta charset="UTF-8">
     1.8 +<script>
     1.9 +
    1.10 +function boom()
    1.11 +{
    1.12 +    document.setUserData('key', {}, null);
    1.13 +
    1.14 +    // Depending on the pref bidi.direction, one of these will hit the page scrollbar.
    1.15 +    window.cpRight = document.caretPositionFromPoint(window.innerWidth - 1, 0);
    1.16 +    window.cpLeft = document.caretPositionFromPoint(0, 0);
    1.17 +}
    1.18 +
    1.19 +</script>
    1.20 +</head>
    1.21 +
    1.22 +<body onload="boom();">
    1.23 +<div style="height: 50000px;"></div>
    1.24 +</body>
    1.25 +</html>

mercurial