Bug 669217 - Remove nsISecurityCheckedComponent from videocontrols. r=mrbkap
authorJustin Dolske <dolske@mozilla.com>
Wed, 03 Aug 2011 17:52:45 -0700
changeset 73833 5c7fc05dc9e35c1f388ea956e79c4f04b75d0499
parent 73832 11c3b74e18e7ced94dd60a506fddbda65632d6ae
child 73834 dec70c8e139c15dae35b46a69e55b6e7c956ab7a
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersmrbkap
bugs669217
milestone8.0a1
Bug 669217 - Remove nsISecurityCheckedComponent from videocontrols. r=mrbkap
toolkit/content/widgets/videocontrols.xml
--- a/toolkit/content/widgets/videocontrols.xml
+++ b/toolkit/content/widgets/videocontrols.xml
@@ -222,59 +222,17 @@
                         <box class="volumeBackgroundBar"/>
                         <scale class="volumeControl" orient="vertical" dir="reverse" movetoclick="true"/>
                     </stack>
                 </hbox>
             </vbox>
         </stack>
     </xbl:content>
 
-    <implementation implements="nsISecurityCheckedComponent">
-        <!-- nsISecurityCheckedComponent -->
-        <method name="canCreateWrapper">
-            <parameter name="aIID"/>
-            <body>
-                return "AllAccess";
-            </body>
-        </method> 
-
-        <method name="canCallMethod">
-            <parameter name="aIID"/>
-            <parameter name="aMethodName"/> 
-            <body>
-                return "AllAccess";
-            </body>
-        </method> 
-
-        <method name="canGetProperty">
-            <parameter name="aIID"/>
-            <parameter name="aPropertyName"/> 
-            <body>
-                return "AllAccess";
-            </body>
-        </method> 
-
-        <method name="canSetProperty">
-            <parameter name="aIID"/>
-            <parameter name="aPropertyName"/>
-            <body>
-                return "AllAccess";
-            </body>
-        </method> 
-
-        <method name="QueryInterface">
-            <parameter name="aIID"/>
-            <body>
-            <![CDATA[
-            if (!iid.equals(Components.interfaces.nsISecurityCheckedComponent))
-                throw Components.results.NS_ERROR_NO_INTERFACE;
-            return this;
-            ]]>
-            </body>
-        </method>
+    <implementation>
 
         <constructor>
             <![CDATA[
             this.Utils.init(this);
             ]]>
         </constructor>
 
         <field name="randomID">0</field>