mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Work around bug 524037 by sending a mouse up event in addition to the mouse down event so that we don't leak and the tree goes green again.
This commit is contained in:
parent
54d9abee3b
commit
670f0e6149
@ -121,6 +121,17 @@ catch(e) {
|
||||
}
|
||||
ok(success, "shouldn't throw");
|
||||
|
||||
// TEMPORARY workaround for leak bug 524037: send a mouseup event as
|
||||
// well so that we don't leak.
|
||||
var success = true;
|
||||
try {
|
||||
utils.sendMouseEvent("mouseup", 0, 0, 0, 1, 0);
|
||||
}
|
||||
catch(e) {
|
||||
success = false;
|
||||
}
|
||||
ok(success, "shouldn't throw");
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user