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:
L. David Baron 2009-10-23 07:43:24 -04:00
parent 54d9abee3b
commit 670f0e6149

View File

@ -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>