mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 426546 Fix for mochitest of bug 392746 on Linux r=martijn
This commit is contained in:
parent
9cd7837bf1
commit
5ce824c71b
@ -14,9 +14,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=392746
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=392746">Mozilla Bug 392746</a>
|
||||
<div id="content">
|
||||
text text text text text text <span id="d">ddd text text </span>text text text text <br>
|
||||
text <span id="c">ccc text</span> text text text <span id="e">eee text</span> text text text text <span id="b">bbb text</span><br>
|
||||
text text text text text text text <span id="a">aaa text</span> text text text <br>
|
||||
text text text text text <span id="d">ddd text text </span>text text text <br>
|
||||
text <span id="c">ccc text</span> text text <span id="e">eee text</span> text text text <span id="b">bbb text</span><br>
|
||||
text text text text text text <span id="a">aaa text</span> text text text <br>
|
||||
</div>
|
||||
<pre id="test">
|
||||
<script class="testbody" type="text/javascript">
|
||||
@ -28,7 +28,7 @@ function ctrlselect(aX,aY, aX2, aY2) {
|
||||
var modifyers = (navigator.platform.indexOf("Mac") >= 0) ? 8 : 2;
|
||||
wu.sendMouseEvent('mousedown', aX, aY, 0, 1, modifyers);
|
||||
wu.sendMouseEvent('mousemove', aX2, aY2, 0, 0, modifyers);
|
||||
wu.sendMouseEvent('mouseup', aY2, aY2, 0, 1, modifyers);
|
||||
wu.sendMouseEvent('mouseup', aX2, aY2, 0, 1, modifyers);
|
||||
}
|
||||
|
||||
function test() {
|
||||
@ -68,14 +68,6 @@ function ctrlselect(aX,aY, aX2, aY2) {
|
||||
}
|
||||
|
||||
window.onload=function() {
|
||||
// XXX: This test causes subsequent tests to fail on Linux,
|
||||
// so disable on Linux for now.
|
||||
if (navigator.platform.indexOf("Linux") >= 0) {
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
SimpleTest.finish();
|
||||
return;
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
setTimeout(test, 0);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user