mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Remove unneeded focus check in order to fix bug 508188
This commit is contained in:
parent
932c67eb08
commit
53843d4954
@ -65,11 +65,7 @@
|
||||
|
||||
// Search for some text that's on the second page (but not on
|
||||
// the first page), and verify that it can be found.
|
||||
var findFocused = false;
|
||||
gFindBar = document.getElementById("FindToolbar");
|
||||
gFindBar._findField.inputField.onfocus = function () {
|
||||
findFocused = true;
|
||||
};
|
||||
document.getElementById("cmd_find").doCommand();
|
||||
ok(!gFindBar.hidden, "failed to open findbar");
|
||||
gFindBar._findField.value = "A generic page";
|
||||
@ -91,8 +87,6 @@
|
||||
}, nextTest, 20);
|
||||
yield;
|
||||
|
||||
ok(findFocused,
|
||||
"find input field doesn't have the focus, find operation will fail!");
|
||||
is(gFindBar._findField.inputField.value, "A generic page",
|
||||
"expected text not present in find input field");
|
||||
is(TestWindow.getWindow().getSelection().toString().toLowerCase(),
|
||||
|
Loading…
Reference in New Issue
Block a user