mozilla/addon-sdk — pull request #772 by ochameau (2013-02-07 17:04:06+00:00)
Title: Bug 834960: Ignore private document unless addon explicitely support private browsing

Add necessary checks in page-mod.
Add a test in test-page-mod for when addon isn't using the package.json flag.
And added an addon with the flag in order to check for when the flag is set.

Based on top of PR #736.

https://bugzilla.mozilla.org/show_bug.cgi?id=834960