Bug 911864 - Annotate the members of marquee that correspond to properties in HTMLMarqueeElement per HTML5. r=smaug
authorBobby Holley <bobbyholley@gmail.com>
Fri, 01 Nov 2013 15:31:57 +0100
changeset 153063 fa25d7921c33ecd72f5f5ad2484693508d2d5bd4
parent 153062 720546f7c02ddd42c234c58b07df9ede68c7a6e0
child 153064 922be1ea7e61a786b3641676d1225af0dd1fd833
push id25566
push userryanvm@gmail.com
push dateFri, 01 Nov 2013 18:40:05 +0000
treeherdermozilla-central@5bb07c1ae9f5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs911864
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 911864 - Annotate the members of marquee that correspond to properties in HTMLMarqueeElement per HTML5. r=smaug
layout/style/xbl-marquee/xbl-marquee.xml
--- a/layout/style/xbl-marquee/xbl-marquee.xml
+++ b/layout/style/xbl-marquee/xbl-marquee.xml
@@ -12,49 +12,49 @@
 
   <binding id="marquee">
 
     <resources>
       <stylesheet src="chrome://xbl-marquee/content/xbl-marquee.css"/>
     </resources>
     <implementation>
 
-      <property name="scrollAmount">
+      <property name="scrollAmount" exposeToUntrustedContent="true">
         <getter>
           <![CDATA[
           var val = parseInt(this.getAttribute("scrollamount"));
 
           if (val <= 0 || isNaN(val))
             return this._scrollAmount;
 
           return val;
           ]]>
         </getter>
         <setter>
           this.setAttribute("scrollamount", val);
         </setter>
       </property>
 
-      <property name="scrollDelay">
+      <property name="scrollDelay" exposeToUntrustedContent="true">
         <getter>
           <![CDATA[
           var val = parseInt(this.getAttribute("scrolldelay"));
 
           if (val <= 0 || isNaN(val))
             return this._scrollDelay;
 
           return val;
           ]]>
         </getter>
         <setter>
           this.setAttribute("scrolldelay", val);
         </setter>
       </property>
 
-      <property name="trueSpeed">
+      <property name="trueSpeed" exposeToUntrustedContent="true">
         <getter>
           <![CDATA[
           if (!this.hasAttribute("truespeed"))
             return false;
 
           return true;
           ]]>
         </getter>
@@ -63,73 +63,73 @@
           if (val)
             this.setAttribute("truespeed", "truespeed");
           else
             this.removeAttribute('truespeed');
           ]]>
         </setter>
       </property>
 
-      <property name="direction">
+      <property name="direction" exposeToUntrustedContent="true">
         <getter>
           return this.getAttribute("direction");
         </getter>
         <setter>
           this.setAttribute("direction", val);
         </setter>
       </property>
 
-      <property name="behavior">
+      <property name="behavior" exposeToUntrustedContent="true">
         <getter>
           return this._behavior;
         </getter>
         <setter>
           this.setAttribute("behavior", val);
         </setter>
       </property>
 
 
-      <property name="loop">
+      <property name="loop" exposeToUntrustedContent="true">
         <getter>
           <![CDATA[
           var val = parseInt(this.getAttribute('loop'));
     
           if (val < -1 || isNaN(val))
             return this._loop;
 
           return val;
           ]]>
         </getter>
         <setter>
           this.setAttribute("loop", val);
         </setter>
       </property>
 
 
-      <property name="onstart">
+      <property name="onstart" exposeToUntrustedContent="true">
         <getter>
           return this.getAttribute("onstart");
         </getter>
         <setter>
           this._setEventListener("start", val, true);
           this.setAttribute("onstart", val);
         </setter>
       </property>
 
-      <property name="onfinish">
+      <property name="onfinish" exposeToUntrustedContent="true">
         <getter>
           return this.getAttribute("onfinish");
         </getter>
         <setter>
           this._setEventListener("finish", val, true);
           this.setAttribute("onfinish", val);
         </setter>
       </property>
 
-      <property name="onbounce">
+      <property name="onbounce" exposeToUntrustedContent="true">
         <getter>
           return this.getAttribute("onbounce");
         </getter>
         <setter>
           this._setEventListener("bounce", val, true);
           this.setAttribute("onbounce", val);
         </setter>
       </property>
@@ -137,22 +137,22 @@
       <property name="outerDiv"
         onget="return document.getAnonymousNodes(this)[0]"
       />
 
       <property name="innerDiv"
         onget="return document.getAnonymousElementByAttribute(this, 'class', 'innerDiv');"
       />
 
-      <property name="height"
+      <property name="height" exposeToUntrustedContent="true"
         onget="return this.getAttribute('height');"
         onset="this.setAttribute('height', val);"
       />
 
-      <property name="width"
+      <property name="width" exposeToUntrustedContent="true"
         onget="return this.getAttribute('width');"
         onset="this.setAttribute('width', val);"
       />
 
       <method name="_set_scrollDelay">
         <parameter name="aValue"/>
         <body>
         <![CDATA[
@@ -298,30 +298,30 @@
         <![CDATA[
           var e = document.createEvent("Events");
           e.initEvent(aName, aBubbles, aCancelable);
           this.dispatchEvent(e);
         ]]>
         </body>
       </method>
 
-      <method name="start">
+      <method name="start" exposeToUntrustedContent="true">
         <body>
         <![CDATA[
           if (this.runId == 0) {
             var myThis = this;
             var lambda = function myTimeOutFunction(){myThis._doMove(false);}
             this.runId = window.setTimeout(lambda, this._scrollDelay - this._deltaStartStop);
             this._deltaStartStop = 0;
           }
         ]]>
         </body>
       </method>
 
-      <method name="stop">
+      <method name="stop" exposeToUntrustedContent="true">
         <body>
         <![CDATA[
           if (this.runId != 0) {
             this._deltaStartStop = Date.now()- this._lastMoveDate;
             clearTimeout(this.runId);
           }
 
           this.runId = 0;