mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 507963 - Intermittent failure of browser_privatebrowsing_findbar.js r=ehsan
This commit is contained in:
parent
92bbf90cfa
commit
9657d2d68d
@ -50,8 +50,14 @@ function test() {
|
||||
const kTestSearchString = "privatebrowsing";
|
||||
let findBox = gFindBar.getElement("findbar-textbox");
|
||||
gFindBar.startFind(gFindBar.FIND_NORMAL);
|
||||
for (let i = 0; i < kTestSearchString.length; ++ i)
|
||||
EventUtils.synthesizeKey(kTestSearchString[i], {});
|
||||
|
||||
// sanity checks
|
||||
is(findBox.editor.transactionManager.numberOfUndoItems, 0,
|
||||
"No items in the undo list of the findbar control");
|
||||
is(findBox.value, "",
|
||||
"findbar text is empty");
|
||||
|
||||
findBox.value = kTestSearchString;
|
||||
|
||||
// enter private browsing mode
|
||||
pb.privateBrowsingEnabled = true;
|
||||
|
Loading…
Reference in New Issue
Block a user