mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backing out my test
This commit is contained in:
parent
f4aa1d8d05
commit
652f538173
@ -229,7 +229,7 @@
|
||||
element.setAttribute("siteURI", siteURI.spec);
|
||||
}
|
||||
var popup = document.createElementNS(XULNS, "menupopup");
|
||||
//popup.setAttribute("type", "places");
|
||||
popup.setAttribute("type", "places");
|
||||
element.appendChild(popup);
|
||||
#ifndef XP_MACOSX
|
||||
// No context menus on menus on Mac
|
||||
@ -246,7 +246,7 @@
|
||||
// get applied correctly.
|
||||
if (this._needsBindingAttachment) {
|
||||
const MENU_URI = "chrome://browser/content/places/menu.xml#places-menupopup";
|
||||
// document.addBinding(popup, MENU_URI);
|
||||
document.addBinding(popup, MENU_URI);
|
||||
}
|
||||
#endif
|
||||
popup._containerNodesMap = this._containerNodesMap;
|
||||
|
@ -220,7 +220,7 @@
|
||||
button.setAttribute("siteURI", siteURIString);
|
||||
}
|
||||
var popup = document.createElementNS(XULNS, "menupopup");
|
||||
//popup.setAttribute("type", "places");
|
||||
popup.setAttribute("type", "places");
|
||||
// This is set here and not in the XBL constructor for the menu because
|
||||
// it doesn't get initialized properly in the constructor.
|
||||
#ifndef XP_MACOSX
|
||||
|
Loading…
Reference in New Issue
Block a user