Comment 2 for bug 1426581

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

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)