Allow toString on InstallTrigger (toSource is already allowed, bug 628410).
authorAndreas Gal <gal@mozilla.com>
Sat, 29 Jan 2011 20:20:17 -0800
changeset 61695 771d5cb2c5a38f575ca947486ea98c3acd3c62a6
parent 61694 59d84fe951ba848ad0ebb05cb17d1ee3fcc97883
child 61696 81c46a78201f1650ae9f3472a47411a1e646687a
child 61870 086d21e38a579966267afe338a9a225e50a893dd
push idunknown
push userunknown
push dateunknown
bugs628410
milestone2.0b11pre
Allow toString on InstallTrigger (toSource is already allowed, bug 628410).
toolkit/mozapps/extensions/content/extensions-content.js
--- a/toolkit/mozapps/extensions/content/extensions-content.js
+++ b/toolkit/mozapps/extensions/content/extensions-content.js
@@ -57,16 +57,17 @@ function createInstallTrigger(window) {
       LOCALE: "r",
       CONTENT: "r",
       PACKAGE: "r",
       enabled: "r",
       updateEnabled: "r",
       install: "r",
       installChrome: "r",
       startSoftwareUpdate: "r",
+      toString: "r",
       toSource: "r", // XXX workaround for bug 582100
     },
 
     // == Public interface ==
 
     SKIN: Ci.amIInstallTrigger.SKIN,
     LOCALE: Ci.amIInstallTrigger.LOCALE,
     CONTENT: Ci.amIInstallTrigger.CONTENT,