gecko-dev/docshell/test
Marco Bonardo 505406e25d Bug 1636583 - Make the urlbar always go through pickResult. r=adw
This changes the urlbar to always generate a result and then confirm it through
pickResult. This way we obtain a consistent behavior independently from whether
the view has a result or an action like Paste&Go happened.
Before this we used to go through getShortcutOrURIAndPostData, that implements
only a part of the urlbar logic, often causing different behavior depending on
the view state, and thus requiring constant maintenance to sync it up.
In a follow-up bug we will evaluate the complete removal of
getShortcutOrURIAndPostData in favor of direct calls to
UrlbarUtils.getHeuristicResultFor().

This also moves up a bit closer to always pass a final url to the docshell, and
stop trying to do complex URIFixup calls in it. For now we still rely
on its fix-ups for browser.fixup.dns_first_for_single_words, where we pass a
url, and if it's invalid it will instead search. See UrlbarUtils.RESULT_TYPE.URL
handling in pickResult().

Differential Revision: https://phabricator.services.mozilla.com/D75911
2020-05-21 15:00:08 +00:00
..
browser Bug 1636583 - Make the urlbar always go through pickResult. r=adw 2020-05-21 15:00:08 +00:00
chrome Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
iframesandbox Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
mochitest Bug 1467437. Align with other browsers and the spec for whether hashchange and popstate events bubble. r=smaug 2020-03-13 17:45:50 +00:00
navigation Bug 1639195 - Part 2: Add a test. r=ckerschb 2020-05-19 18:59:36 +00:00
unit Bug 1636583 - URIFixup should force a visit when an uri-like search string ends with a slash. r=adw 2020-05-21 14:58:15 +00:00
unit_ipc
moz.build Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart 2020-04-09 00:24:29 +00:00