Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
1 <script type="application/javascript" src="chrome://global/content/macWindowMenu.js"/>
2 <commandset id="baseMenuCommandSet">
3 <command id="minimizeWindow"
4 label="&minimizeWindow.label;"
5 oncommand="window.minimize();" />
6 <command id="zoomWindow"
7 label="&zoomWindow.label;"
8 oncommand="zoomWindow();" />
9 </commandset>
10 <keyset id="baseMenuKeyset">
11 <key id="key_minimizeWindow"
12 command="minimizeWindow"
13 key="&minimizeWindow.key;"
14 modifiers="accel"/>
15 </keyset>
16 <menu id="windowMenu"
17 label="&windowMenu.label;"
18 datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot"
19 onpopupshowing="macWindowMenuDidShow();"
20 hidden="false">
21 <template>
22 <rule>
23 <menupopup>
24 <menuitem uri="rdf:*"
25 label="rdf:http://home.netscape.com/NC-rdf#Name"
26 type="radio"
27 name="windowList"
28 oncommand="ShowWindowFromResource(event.target)"/>
29 </menupopup>
30 </rule>
31 </template>
32 <menupopup id="windowPopup">
33 <menuitem command="minimizeWindow" key="key_minimizeWindow"/>
34 <menuitem command="zoomWindow"/>
35 <!-- decomment when "BringAllToFront" is implemented
36 <menuseparator/>
37 <menuitem label="&bringAllToFront.label;" disabled="true"/> -->
38 <menuseparator id="sep-window-list"/>
39 </menupopup>
40 </menu>