mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1050049 - Whitelist bindings that we actually expect to use in content. r=smaug
This commit is contained in:
parent
dbfddd83d7
commit
1fb855d00b
@ -11,7 +11,7 @@
|
||||
<bindings id="feedBindings"
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<binding id="feedreaderUI">
|
||||
<binding id="feedreaderUI" bindToUntrustedContent="true">
|
||||
<content>
|
||||
<xul:vbox>
|
||||
<xul:hbox align="center">
|
||||
|
@ -8,7 +8,7 @@
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<binding id="inputFields">
|
||||
<binding id="inputFields" bindToUntrustedContent="true">
|
||||
<handlers>
|
||||
#include ../input-fields-base.inc
|
||||
<handler event="keypress" key="a" modifiers="accel" command="cmd_selectAll"/>
|
||||
@ -34,7 +34,7 @@
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="textAreas">
|
||||
<binding id="textAreas" bindToUntrustedContent="true">
|
||||
<handlers>
|
||||
#include ../textareas-base.inc
|
||||
<handler event="keypress" key="a" modifiers="accel" command="cmd_selectAll"/>
|
||||
|
@ -8,7 +8,7 @@
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<binding id="inputFields">
|
||||
<binding id="inputFields" bindToUntrustedContent="true">
|
||||
<handlers>
|
||||
#include ../input-fields-base.inc
|
||||
<!-- Emacsish single-line motion and delete keys -->
|
||||
@ -76,7 +76,7 @@
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="textAreas">
|
||||
<binding id="textAreas" bindToUntrustedContent="true">
|
||||
<handlers>
|
||||
#include ../textareas-base.inc
|
||||
<!-- Emacsish single-line motion and delete keys -->
|
||||
|
@ -8,7 +8,7 @@
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<binding id="inputFields">
|
||||
<binding id="inputFields" bindToUntrustedContent="true">
|
||||
<handlers>
|
||||
<handler event="keypress" key="c" modifiers="accel" command="cmd_copy"/>
|
||||
<handler event="keypress" key="x" modifiers="accel" command="cmd_cut"/>
|
||||
@ -19,7 +19,7 @@
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="textAreas">
|
||||
<binding id="textAreas" bindToUntrustedContent="true">
|
||||
<handlers>
|
||||
<handler event="keypress" key="c" modifiers="accel" command="cmd_copy"/>
|
||||
<handler event="keypress" key="x" modifiers="accel" command="cmd_cut"/>
|
||||
|
@ -8,7 +8,7 @@
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<binding id="inputFields">
|
||||
<binding id="inputFields" bindToUntrustedContent="true">
|
||||
<handlers>
|
||||
#include ../input-fields-base.inc
|
||||
<handler event="keypress" key="a" modifiers="alt"
|
||||
@ -20,7 +20,7 @@
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="textAreas">
|
||||
<binding id="textAreas" bindToUntrustedContent="true">
|
||||
<handlers>
|
||||
#include ../textareas-base.inc
|
||||
<handler event="keypress" key="a" modifiers="alt"
|
||||
|
@ -8,7 +8,7 @@
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<binding id="inputFields">
|
||||
<binding id="inputFields" bindToUntrustedContent="true">
|
||||
<handlers>
|
||||
#include ../input-fields-base.inc
|
||||
<handler event="keypress" key="a" modifiers="accel" command="cmd_selectAll"/>
|
||||
@ -52,7 +52,7 @@
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="textAreas">
|
||||
<binding id="textAreas" bindToUntrustedContent="true">
|
||||
<handlers>
|
||||
#include ../textareas-base.inc
|
||||
<handler event="keypress" key="a" modifiers="accel" command="cmd_selectAll"/>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<bindings id="testBindings" xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
<binding id="testAllowScript">
|
||||
<binding id="testAllowScript" bindToUntrustedContent="true">
|
||||
<implementation>
|
||||
<property name="someProp" onget="return 2;" readonly="true"></property>
|
||||
<method name="someMethod"><body> return 3; </body></method>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<bindings id="chromeTestBindings" xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="testBinding">
|
||||
<binding id="testBinding" bindToUntrustedContent="true">
|
||||
<implementation implements="nsIObserver">
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
|
@ -6,7 +6,7 @@
|
||||
<bindings xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<binding id="prettyprint">
|
||||
<binding id="prettyprint" bindToUntrustedContent="true">
|
||||
|
||||
<content><html:div id='top'/>
|
||||
<html:span style="display: none;"><children/></html:span>
|
||||
|
@ -10,7 +10,7 @@
|
||||
xmlns:xbl="http://www.mozilla.org/xbl">
|
||||
|
||||
|
||||
<binding id="marquee">
|
||||
<binding id="marquee" bindToUntrustedContent="true">
|
||||
|
||||
<resources>
|
||||
<stylesheet src="chrome://xbl-marquee/content/xbl-marquee.css"/>
|
||||
@ -623,7 +623,7 @@
|
||||
|
||||
</binding>
|
||||
|
||||
<binding id="marquee-horizontal"
|
||||
<binding id="marquee-horizontal" bindToUntrustedContent="true"
|
||||
extends="chrome://xbl-marquee/content/xbl-marquee.xml#marquee"
|
||||
inheritstyle="false">
|
||||
|
||||
@ -643,7 +643,7 @@
|
||||
|
||||
</binding>
|
||||
|
||||
<binding id="marquee-vertical"
|
||||
<binding id="marquee-vertical" bindToUntrustedContent="true"
|
||||
extends="chrome://xbl-marquee/content/xbl-marquee.xml#marquee"
|
||||
inheritstyle="false">
|
||||
|
||||
@ -659,7 +659,7 @@
|
||||
|
||||
</binding>
|
||||
|
||||
<binding id="marquee-horizontal-editable"
|
||||
<binding id="marquee-horizontal-editable" bindToUntrustedContent="true"
|
||||
inheritstyle="false">
|
||||
|
||||
<!-- White-space isn't allowed because a marquee could be
|
||||
@ -672,7 +672,7 @@
|
||||
|
||||
</binding>
|
||||
|
||||
<binding id="marquee-vertical-editable"
|
||||
<binding id="marquee-vertical-editable" bindToUntrustedContent="true"
|
||||
inheritstyle="false">
|
||||
|
||||
<!-- White-space isn't allowed because a marquee could be
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
<binding id="thumb" extends="xul:button" />
|
||||
|
||||
<binding id="scrollbar-base">
|
||||
<binding id="scrollbar-base" bindToUntrustedContent="true">
|
||||
<handlers>
|
||||
<handler event="contextmenu" preventdefault="true" action="event.stopPropagation();"/>
|
||||
<handler event="click" preventdefault="true" action="event.stopPropagation();"/>
|
||||
@ -20,7 +20,7 @@
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="scrollbar" extends="chrome://global/content/bindings/scrollbar.xml#scrollbar-base">
|
||||
<binding id="scrollbar" bindToUntrustedContent="true" extends="chrome://global/content/bindings/scrollbar.xml#scrollbar-base">
|
||||
<content clickthrough="always">
|
||||
<xul:scrollbarbutton sbattr="scrollbar-up-top" type="decrement" xbl:inherits="curpos,maxpos,disabled,sborient=orient"/>
|
||||
<xul:scrollbarbutton sbattr="scrollbar-down-top" type="increment" xbl:inherits="curpos,maxpos,disabled,sborient=orient"/>
|
||||
|
@ -15,7 +15,7 @@
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
<binding id="pluginProblem" inheritstyle="false" chromeOnlyContent="true">
|
||||
<binding id="pluginProblem" inheritstyle="false" chromeOnlyContent="true" bindToUntrustedContent="true">
|
||||
<resources>
|
||||
<stylesheet src="chrome://mozapps/content/plugins/pluginProblemContent.css"/>
|
||||
<stylesheet src="chrome://mozapps/skin/plugins/pluginProblem.css"/>
|
||||
|
Loading…
Reference in New Issue
Block a user