mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1876518 - Ensure that contextual-identity.ftl is always available for the user context menu. r=Standard8,places-reviewers
Rather than playing whack-a-mole to proactively account for all the places where the menu might show up, let's just make sure its messages are always available. Differential Revision: https://phabricator.services.mozilla.com/D200156
This commit is contained in:
parent
70df3f36e1
commit
1f0f5196ce
@ -194,6 +194,7 @@ function createUserContextMenu(
|
||||
event.target.firstChild.remove();
|
||||
}
|
||||
|
||||
MozXULElement.insertFTLIfNeeded("toolkit/global/contextual-identity.ftl");
|
||||
let docfrag = document.createDocumentFragment();
|
||||
|
||||
// If we are excluding a userContextId, we want to add a 'no-container' item.
|
||||
|
@ -60,7 +60,6 @@
|
||||
<html:link rel="localization" href="browser/places.ftl"/>
|
||||
<html:link rel="localization" href="browser/downloads.ftl"/>
|
||||
<html:link rel="localization" href="browser/editBookmarkOverlay.ftl"/>
|
||||
<html:link rel="localization" href="toolkit/global/contextual-identity.ftl"/>
|
||||
</linkset>
|
||||
|
||||
<script src="chrome://browser/content/places/places.js"/>
|
||||
|
Loading…
Reference in New Issue
Block a user