summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/http/tests/misc/object-image-error.html
blob: 1172c27e4f09d7e54697182836ec593383ac313b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<script>
    if (window.testRunner) {
        testRunner.dumpAsText()
        testRunner.waitUntilDone();
    }

    function finished()
    {
        document.body.offsetTop;
        if (window.testRunner)
            testRunner.notifyDone();
    }
</script>
<p>
    Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=17471">http://bugs.webkit.org/show_bug.cgi?id=17471</a>
    REGRESSION (r30438): Crash in deleteLineBoxes in cursor-adjusting code browsing Acid3</i>.
</p>
<div id="target" style="display: none;">
    <object type="image/jpeg" data="resources/404image.php" onerror="finished()">
        PASS, no crash.
    </object>
</div>
<object type="image/jpeg" data="resources/404image.php" onerror="document.getElementById('target').style.display = ''"></object>