We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f122183 commit 8e017b2Copy full SHA for 8e017b2
mozilla-release/browser/components/urlbar/UrlbarInput.jsm
@@ -1090,7 +1090,17 @@ class UrlbarInput {
1090
1091
this.valueIsTyped = false;
1092
this._resultForCurrentValue = null;
1093
- this.inputField.value = val;
+
1094
+ // DB-2378 => CLIQZ-SPECIAL: do not set url if freshtabURL exists,
1095
+ let setVal = val;
1096
+ if (val.startsWith("moz-ext")) {
1097
+ const homeUrl = Services.prefs.getCharPref("browser.startup.homepage", "");
1098
+ if (val === homeUrl) {
1099
+ setVal = "";
1100
+ }
1101
1102
+ this.inputField.value = setVal;
1103
1104
this.formatValue();
1105
this.removeAttribute("actiontype");
1106
if (!this.view.isOpen) {
0 commit comments