Bug 940685 - adjust UI test to expect about:home, r=gavin

--HG--
extra : rebase_source : 14c563626da311ee6c87aa5a73f92e8dbae3c97c
This commit is contained in:
Mike Connor 2014-03-31 14:56:03 -04:00
parent 4e9ce83b50
commit c33b03c196

View File

@ -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) {