This is because of https://lists.mozilla.org/pipermail/dev-platform/2014-June/005290.html, and more specifically https://bugzilla.mozilla.org/show_bug.cgi?id=1082450.
The broken script should be using Components.utils.cloneInto() to expose objects from privileged scopes to web content (see https://developer.mozilla.org/en-US/docs/Components.utils.cloneInto)
This is because of https:/ /lists. mozilla. org/pipermail/ dev-platform/ 2014-June/ 005290. html, and more specifically https:/ /bugzilla. mozilla. org/show_ bug.cgi? id=1082450.
The broken script should be using Components. utils.cloneInto () to expose objects from privileged scopes to web content (see https:/ /developer. mozilla. org/en- US/docs/ Components. utils.cloneInto)