diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
index 1d81509b584e..c5470ca0f5e4 100644
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -347,6 +347,7 @@ pref("browser.urlbar.match.url", "@");
pref("browser.urlbar.suggest.history", true);
pref("browser.urlbar.suggest.bookmark", true);
pref("browser.urlbar.suggest.openpage", true);
+pref("browser.urlbar.suggest.searches", true);
// Restrictions to current suggestions can also be applied (intersection).
// Typed suggestion works only if history is set to true.
@@ -357,8 +358,8 @@ pref("browser.urlbar.trimURLs", true);
pref("browser.altClickSave", false);
-// Enable logging downloads operations to the Error Console.
-pref("browser.download.debug", false);
+// Enable logging downloads operations to the Console.
+pref("browser.download.loglevel", "Error");
// Number of milliseconds to wait for the http headers (and thus
// the Content-Disposition filename) before giving up and falling back to
diff --git a/browser/base/content/browser-context.inc b/browser/base/content/browser-context.inc
index d7c7992debee..15281d1b74bd 100644
--- a/browser/base/content/browser-context.inc
+++ b/browser/base/content/browser-context.inc
@@ -32,7 +32,7 @@
command="Browser:Stop"/>
diff --git a/browser/base/content/browser-places.js b/browser/base/content/browser-places.js
index d219f9a81fc1..5e1824bf5340 100644
--- a/browser/base/content/browser-places.js
+++ b/browser/base/content/browser-places.js
@@ -1344,11 +1344,13 @@ let BookmarkingUI = {
if (aState == "invalid") {
this.star.setAttribute("disabled", "true");
- this.button.removeAttribute("starred");
- this.button.setAttribute("buttontooltiptext", "");
+ this.broadcaster.setAttribute("stardisabled", "true");
+ this.broadcaster.removeAttribute("starred");
+ this.broadcaster.setAttribute("buttontooltiptext", "");
}
else {
this.star.removeAttribute("disabled");
+ this.broadcaster.removeAttribute("stardisabled");
this._updateStar();
}
this._updateToolbarStyle();
@@ -1523,23 +1525,23 @@ let BookmarkingUI = {
_updateStar: function BUI__updateStar() {
if (!this._shouldUpdateStarState()) {
- if (this.button.hasAttribute("starred")) {
- this.button.removeAttribute("starred");
- this.button.removeAttribute("buttontooltiptext");
+ if (this.broadcaster.hasAttribute("starred")) {
+ this.broadcaster.removeAttribute("starred");
+ this.broadcaster.removeAttribute("buttontooltiptext");
}
return;
}
if (this._itemIds.length > 0) {
- this.button.setAttribute("starred", "true");
- this.button.setAttribute("buttontooltiptext", this._starredTooltip);
+ this.broadcaster.setAttribute("starred", "true");
+ this.broadcaster.setAttribute("buttontooltiptext", this._starredTooltip);
if (this.button.getAttribute("overflowedItem") == "true") {
this.button.setAttribute("label", this._starButtonOverflowedStarredLabel);
}
}
else {
- this.button.removeAttribute("starred");
- this.button.setAttribute("buttontooltiptext", this._unstarredTooltip);
+ this.broadcaster.removeAttribute("starred");
+ this.broadcaster.setAttribute("buttontooltiptext", this._unstarredTooltip);
if (this.button.getAttribute("overflowedItem") == "true") {
this.button.setAttribute("label", this._starButtonOverflowedLabel);
}
@@ -1553,7 +1555,9 @@ let BookmarkingUI = {
_updateBookmarkPageMenuItem: function BUI__updateBookmarkPageMenuItem(forceReset) {
let isStarred = !forceReset && this._itemIds.length > 0;
let label = isStarred ? "editlabel" : "bookmarklabel";
- this.broadcaster.setAttribute("label", this.broadcaster.getAttribute(label));
+ if (this.broadcaster) {
+ this.broadcaster.setAttribute("label", this.broadcaster.getAttribute(label));
+ }
},
onMainMenuPopupShowing: function BUI_onMainMenuPopupShowing(event) {
@@ -1671,6 +1675,10 @@ let BookmarkingUI = {
}
},
+ onCurrentPageContextPopupShowing() {
+ this._updateBookmarkPageMenuItem();
+ },
+
handleEvent: function BUI_handleEvent(aEvent) {
switch (aEvent.type) {
case "ViewShowing":
diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css
index 7539adaa6158..cb4c8833b237 100644
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -1328,3 +1328,28 @@ toolbarpaletteitem[place="palette"][hidden] {
#login-fill-doorhanger:not([inDetailView]) > #login-fill-clickcapturer {
pointer-events: none;
}
+
+.popup-notification-invalid-input {
+ box-shadow: 0 0 1.5px 1px red;
+}
+
+.popup-notification-invalid-input[focused] {
+ box-shadow: 0 0 2px 2px rgba(255,0,0,0.4);
+}
+
+#password-notification-password::after {
+ color: hsl(0,0%,60%);
+ content: attr(show-content);
+ pointer-events: none;
+ position: absolute;
+ right: 0;
+ transition: color 250ms;
+}
+
+#password-notification-password:hover::after {
+ color: hsl(210,100%,50%);
+}
+
+#password-notification-password[focused]::after {
+ content: none;
+}
diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js
index f062a8218299..0f4b5f7b6c88 100644
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -7189,15 +7189,18 @@ let gPrivateBrowsingUI = {
}
}
- if (gURLBar &&
- !PrivateBrowsingUtils.permanentPrivateBrowsing) {
- // Disable switch to tab autocompletion for private windows.
- // We leave it enabled for permanent private browsing mode though.
+ if (gURLBar) {
let value = gURLBar.getAttribute("autocompletesearchparam") || "";
- if (!value.includes("disable-private-actions")) {
- gURLBar.setAttribute("autocompletesearchparam",
- value + " disable-private-actions");
+ if (!PrivateBrowsingUtils.permanentPrivateBrowsing &&
+ !value.includes("disable-private-actions")) {
+ // Disable switch to tab autocompletion for private windows.
+ // We leave it enabled for permanent private browsing mode though.
+ value += " disable-private-actions";
}
+ if (!value.includes("private-window")) {
+ value += " private-window";
+ }
+ gURLBar.setAttribute("autocompletesearchparam", value);
}
}
};
diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul
index e419ecba3a43..485d84c769f1 100644
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -821,6 +821,8 @@
ondrop="PlacesMenuDNDHandler.onDrop(event);"
cui-areatype="toolbar"
oncommand="BookmarkingUI.onCommand(event);">
+
+