Bug 1453638 - 'Open site' in live bookmarks is not working. r=jkt draft
authorMarco Bonardo <mbonardo@mozilla.com>
Thu, 12 Apr 2018 17:41:12 +0200
changeset 781162 48d04191db3f5f22c2d121ba5020d3b9bfa6e8af
parent 781042 ee1d1bf1dc8a83eec16967ddb61dd5024c8d6058
push id106223
push usermak77@bonardo.net
push dateThu, 12 Apr 2018 15:39:36 +0000
reviewersjkt
bugs1453638
milestone61.0a1
Bug 1453638 - 'Open site' in live bookmarks is not working. r=jkt MozReview-Commit-ID: 5KV8jDRxEjf
browser/components/places/content/browserPlacesViews.js
--- a/browser/components/places/content/browserPlacesViews.js
+++ b/browser/components/places/content/browserPlacesViews.js
@@ -432,17 +432,17 @@ PlacesViewBase.prototype = {
       aPopup._siteURIMenuitem = document.createElement("menuitem");
       aPopup._siteURIMenuitem.className = "openlivemarksite-menuitem";
       if (typeof this.options.extraClasses.entry == "string") {
         aPopup._siteURIMenuitem.classList.add(this.options.extraClasses.entry);
       }
       aPopup._siteURIMenuitem.setAttribute("targetURI", siteUrl);
       aPopup._siteURIMenuitem.setAttribute("oncommand",
         "openUILink(this.getAttribute('targetURI'), event, {" +
-        " triggeringPrincipal: Services.scriptSecurityManger.createNullPrincipal({})});");
+        " triggeringPrincipal: Services.scriptSecurityManager.createNullPrincipal({})});");
 
       // If a user middle-clicks this item we serve the oncommand event.
       // We are using checkForMiddleClick because of Bug 246720.
       // Note: stopPropagation is needed to avoid serving middle-click
       // with BT_onClick that would open all items in tabs.
       aPopup._siteURIMenuitem.setAttribute("onclick",
         "checkForMiddleClick(this, event); event.stopPropagation();");
       let label =