Bug 962490 - Add a search field to the new tab page (Bing test follow-up). r=me

This commit is contained in:
Drew Willcoxon 2014-04-28 17:43:43 -07:00
parent f266d11dbd
commit 1a3140b9d5

View File

@ -34,6 +34,8 @@ function test() {
is(url, base + "&form=MOZSBR", "Check search bar search URL for 'foo'"); is(url, base + "&form=MOZSBR", "Check search bar search URL for 'foo'");
url = engine.getSubmission("foo", null, "homepage").uri.spec; url = engine.getSubmission("foo", null, "homepage").uri.spec;
is(url, base + "&form=MOZSPG", "Check homepage search URL for 'foo'"); is(url, base + "&form=MOZSPG", "Check homepage search URL for 'foo'");
url = engine.getSubmission("foo", null, "newtab").uri.spec;
is(url, base + "&form=MOZTSB", "Check newtab search URL for 'foo'");
// Check search suggestion URL. // Check search suggestion URL.
url = engine.getSubmission("foo", "application/x-suggestions+json").uri.spec; url = engine.getSubmission("foo", "application/x-suggestions+json").uri.spec;