blob: 2b82289d7d33752f01d7e5addb254a059d9a95d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<html>
<head>
<script type="text/javascript">
function finish()
{
if (window.testRunner)
testRunner.notifyDone();
}
function crash_step2()
{
var target = document.getElementById("target");
target.contentDocument.body.parentNode.removeChild(target.contentDocument.body);
target.parentNode.removeChild(target);
setTimeout(finish, 10);
}
function test()
{
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
var target = document.getElementById("target");
eventSender.mouseMoveTo(target.offsetLeft + target.offsetWidth / 2, target.offsetTop + target.offsetHeight / 2);
setTimeout(crash_step2, 100);
}
}
</script>
</head>
<body onload="test()">
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13124">http://bugs.webkit.org/show_bug.cgi?id=13124</a>
REGRESSION: Reproducible crash in Widget::getView</i>.
</p>
<p>
To test interactively, move the mouse into the yellow rect and wait a second.
</p>
<p>
No crash means SUCCESS.
</p>
<iframe onmouseover="if (!window.testRunner) setTimeout(crash_step2, 1000)" id="target" src="data:text/html,<body bgcolor='yellow'></body>" style="border: solid black"></iframe>
</body>
</html>
|