Daisuke Akatsuka
0f36be0da7
Bug 1664814: Stop to use regex that identifies string that is uri like. r=adw,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D122818
2021-08-24 10:39:24 +00:00
Daisuke Akatsuka
b92a37cc10
Bug 1726305: Avoid throwing NS_ERROR_FAILURE when referring to the host in nsIURI. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D123176
2021-08-23 01:58:16 +00:00
Gijs Kruitbosch
8c639aaff3
Bug 1719442 - stop doing alternate fixup for 'http' or 'https' strings as host names, r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D119391
2021-07-09 12:49:54 +00:00
Valentin Gosu
7c670aecf4
Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-31 13:08:12 +00:00
Brindusan Cristian
2a324428d6
Backed out changeset 8fea79dcd428 (bug 1708125) for causing xpcshell failures in test_DownloadCore.js.
...
CLOSED TREE
2021-05-31 15:28:19 +03:00
Valentin Gosu
02335617c8
Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-31 07:33:29 +00:00
Dorel Luca
0a5ef97272
Backed out changeset 73abb8b1b4b5 (bug 1708125) for xpcshell failures in browser/components/urlbar/tests/unit/test_avoid_stripping_to_empty_tokens.js. CLOSED TREE
2021-05-07 12:15:35 +03:00
Valentin Gosu
bf24e6a36f
Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-07 08:20:14 +00:00
Daisuke Akatsuka
3e591d051a
Bug 1580881: Make consecutive dots to single.r=adw,mak
...
Differential Revision: https://phabricator.services.mozilla.com/D111350
2021-04-29 21:13:00 +00:00
Daisuke Akatsuka
316a92df5e
Bug 1693503: Do search if the format inputed is user@host but might be intented as keyword. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D106748
2021-04-02 10:05:37 +00:00
Gijs Kruitbosch
7f3e59e909
Bug 1689598 r=tkikuchi,mhowell,dmajor,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D103523
2021-02-02 12:36:56 +00:00
Daisuke Akatsuka
b4ec5e858f
Bug 1638215: Use https for canonization the URL. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D97942
2020-12-07 01:54:05 +00:00
Narcis Beleuzu
07361535cd
Backed out changeset f59efe5a5ef8 (bug 1638215) for bc failures on browser_tabDrop.js. CLOSED TREE
2020-12-03 17:25:28 +02:00
Daisuke Akatsuka
e5a9f1aeee
Bug 1638215: Use https for canonization the URL. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D97942
2020-12-03 11:21:36 +00:00
Daisuke Akatsuka
0f2a371c85
Bug 1643850: Handle 'www.<something>' as a URI. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D97282
2020-11-21 00:48:43 +00:00
Daisuke Akatsuka
1fc9660ab0
Bug 1181081: Fix up typos for string that user would have intented as protocol. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D95982
2020-11-15 22:26:02 +00:00
Marco Bonardo
1019bbf009
Bug 1626016 - Remove createFixupURI and move postData inside URIFixupInfo. r=Gijs,geckoview-reviewers,preferences-reviewers,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D93189
2020-10-13 10:20:16 +00:00
Marco Bonardo
7e76f843c7
Bug 1641467 - Remove temporary browser.fixup.defaultToSearch feature pref and its code. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D83554
2020-07-15 09:53:04 +00:00
Kris Maglione
b6be72f351
Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D81749
2020-07-10 23:58:30 +00:00
Kris Maglione
9d78661f88
Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Marco Bonardo
d606440481
Bug 1646928 - Bogus scheme typo correction in URIFixup. r=harry
...
Differential Revision: https://phabricator.services.mozilla.com/D81329
2020-06-29 14:06:06 +00:00
Jared Wein
7639e4f712
Bug 1643093 - Remove references to 'whitelist' in browser/components/urlbar. r=jaws
...
Depends on D78124
Differential Revision: https://phabricator.services.mozilla.com/D78122
2020-06-24 15:59:04 +00:00
Dorel Luca
1761e9c3af
Backed out changeset c3f3c52bb13d (bug 1643093) for Browser-chrome failures in components/urlbar/tests/browser/browser_autoFill_backspaced.js. CLOSED TREE
2020-06-09 06:23:42 +03:00
Jared Wein
3d209f79ac
Bug 1643093 - Remove references to 'whitelist' in browser/components/urlbar. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D78122
2020-06-09 00:26:46 +00:00
Marco Bonardo
e8fd1b7c50
Bug 1398567 - Invert URIFixup default behavior to search unless the string looks like a URI. r=Gijs
...
With recent fixes that can properly identify whitelisted domains, whitelisted
domain suffixed, valid known public suffixes, and forcing to visit URI-like
strings that end with a slash, it's time to re-evaluate the URIFixup behavior.
Until now URIFixup considered everything a URI unless it had specific search
characteristics, this patch inverts that behavior.
The scope of this change is to improve the urlbar behavior as the main Search
Access Point, since that's the direction we're moving towards.
This lands with a temporary hidden feature pref browser.fixup.defaultToSearch,
that will be removed once the feature has been released.
Differential Revision: https://phabricator.services.mozilla.com/D76852
2020-05-27 16:55:14 +00:00
Marco Bonardo
27e6788fd3
Bug 1636583 - URIFixup should force a visit when an uri-like search string ends with a slash. r=adw
...
Differential Revision: https://phabricator.services.mozilla.com/D75910
2020-05-23 13:24:44 +00:00
Dorel Luca
1b427eb7aa
Backed out 3 changesets (bug 1636583) for Browser-chrome failures in browser/components/urlbar/tests/browser/browser_handleCommand_fallback.js. CLOSED TREE
...
Backed out changeset a2e636ff03c2 (bug 1636583)
Backed out changeset 660b7de89215 (bug 1636583)
Backed out changeset 9fd142817919 (bug 1636583)
2020-05-22 19:07:07 +03:00
Marco Bonardo
36118c93a3
Bug 1636583 - URIFixup should force a visit when an uri-like search string ends with a slash. r=adw
...
Differential Revision: https://phabricator.services.mozilla.com/D75910
2020-05-21 14:58:15 +00:00
Marco Bonardo
b53ba0122e
Bug 1634650 - Add whitelisting of domain suffixes for URIFixup. r=harry
...
Differential Revision: https://phabricator.services.mozilla.com/D74015
2020-05-13 16:05:04 +00:00
Dorel Luca
bdddaad896
Backed out changeset 57d78ba110be (bug 1634650) for marionette failures in migration/tests/marionette/test_refresh_firefox.py. CLOSED TREE
2020-05-07 19:36:39 +03:00
Marco Bonardo
410cff4774
Bug 1634650 - Add whitelisting of domain suffixes for URIFixup. r=harry
...
Differential Revision: https://phabricator.services.mozilla.com/D74015
2020-05-07 08:42:10 +00:00
Marco Bonardo
b66936c3e8
Bug 1623383 - Merge some conditions in URIFixup.jsm. r=harry
...
Differential Revision: https://phabricator.services.mozilla.com/D73688
2020-05-06 15:40:18 +00:00
Marco Bonardo
7a00a2e24a
Bug 1623383 - Cleanup URIFixup.jsm. r=harry
...
Differential Revision: https://phabricator.services.mozilla.com/D73687
2020-05-06 15:37:43 +00:00
Marco Bonardo
45a8a38b0b
Bug 1080682 - Use the Public Suffix List to distinguish foo.bar searches in URIFixup (and consequently the Address Bar). r=Gijs,dao
...
Use the PSL list to evaluate whether user typed strings in urlbar are valid URLs.
Cleanup the URIFixupInfo.fixupChangedProtocol property to be set appropriately.
Auto-correct the most common suffix typos for com, net, org.
Stop using URIFixup to trim urls when the urlbar value is set, instead always trim,
then untrim on focus if the trimmed string would cause, on navigation, a search
instead of a visit. This saves us from doing the URIfixup work on page load and
tab switch, running it only when strictly necessary.
Fix the "Did you mean to go to" prompt to show a protocol, avoiding the
confusing (but funny) "did you mean to go to 'space'" prompts.
Differential Revision: https://phabricator.services.mozilla.com/D68796
2020-04-20 12:39:08 +00:00
Marco Bonardo
fb0662edda
Bug 1628906 - First search in a tab from location bar could trigger an "Invalid URL" error page. r=Gijs,nika,mattwoodrow
...
Before 1496578, URIFixup::keywordToURI used to do a synchronous IPC call to be
able to access search engines from the content process. Consumers of URIFixup
didn't care. Bug 1496578 moved the IPC messaging to the callers, in particular
nsDocShell, but assumed nsDocShellLoadState wasn't loading from content.
It looks like in some cases it does, so this adds another sync IPC call for
GetFixupURIInfo.
The total numer of sync IPCs should not change from before Bug 1496578, URIFIxup
was just doing it internally, while now it happens at the call point.
Note the long term plan would be for these docshell objects callers to just
handle URIs, while the UI code should do fixup.
Bug 1375244 tracks the removal of these sync IPC messages.
Differential Revision: https://phabricator.services.mozilla.com/D70607
--HG--
extra : moz-landing-system : lando
2020-04-15 22:39:38 +00:00
Marco Bonardo
758aa4f647
Bug 1496578 - convert nsDefaultURIFixup to URIFixup.jsm. r=Gijs,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D66579
--HG--
extra : moz-landing-system : lando
2020-04-08 11:30:14 +00:00
Razvan Maries
3b66f5f729
Backed out changeset b86e8f2cc5db (bug 1496578) for build bustages on nsDocShell.cpp. CLOSED TREE
2020-04-08 01:16:33 +03:00
Marco Bonardo
7457a384f2
Bug 1496578 - convert nsDefaultURIFixup to URIFixup.jsm. r=Gijs,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D66579
--HG--
extra : moz-landing-system : lando
2020-04-07 21:55:24 +00:00