mozilla/addon-sdk — pull request #328 by ochameau (2012-01-17 15:49:08+00:00)
Title: bug 718666: API exposed to content script should be defined in same principal

...than the content script. In order to:
- avoid having any kind of wrapper.
Prevents bug 679363 comment 2 about `apply` method and any side effect of wrappers
- avoid sharing complex objects between chrome and content sandboxes.
Improves overall security by passing only strings.