mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 815229 - Make search completion test for private browsing test all autocomplete entries. r=ehsan
This commit is contained in:
parent
b6cd1fb640
commit
8f54709b0a
@ -22,7 +22,7 @@ function doPrivateTest(searchBar) {
|
||||
popup.addEventListener("popupshowing", function showing() {
|
||||
let entries = getMenuEntries(searchBar);
|
||||
for (var i = 0; i < entries.length; i++)
|
||||
isnot(entries[0], "private test", "shouldn't see private autocomplete entries");
|
||||
isnot(entries[i], "private test", "shouldn't see private autocomplete entries");
|
||||
popup.removeEventListener("popupshowing", showing, false);
|
||||
|
||||
searchBar.textbox.toggleHistoryPopup();
|
||||
|
@ -89,7 +89,7 @@ function checkSearchPopup(aWin, aCallback) {
|
||||
|
||||
let entries = getMenuEntries(searchBar);
|
||||
for (let i = 0; i < entries.length; i++) {
|
||||
isnot(entries[0], "private test",
|
||||
isnot(entries[i], "private test",
|
||||
"shouldn't see private autocomplete entries");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user