mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 940685 - adjust UI test to expect about:home, r=gavin
--HG-- extra : rebase_source : 14c563626da311ee6c87aa5a73f92e8dbae3c97c
This commit is contained in:
parent
4e9ce83b50
commit
c33b03c196
@ -8,7 +8,7 @@ let openUILinkInCalled = false;
|
||||
let expectOpenUILinkInCall = false;
|
||||
this.originalOpenUILinkIn = openUILinkIn;
|
||||
openUILinkIn = (aUrl, aWhichTab) => {
|
||||
is(aUrl, Services.search.defaultEngine.searchForm, "Search page should be requested to open.");
|
||||
is(aUrl, "about:home", "about:home should be requested to open.");
|
||||
is(aWhichTab, "current", "Should use the current tab for the search page.");
|
||||
openUILinkInCalled = true;
|
||||
if (!expectOpenUILinkInCall) {
|
||||
|
Loading…
Reference in New Issue
Block a user