mozilla/addon-sdk — pull request #681 by ZER0 (2012-12-10 21:20:32+00:00)
Title: Bug 820095 - Selection listeners are not applied on document reload

- Added the selection listener only to documents loaded in Tab (is consistent with other modules like PageMod)
- Avoid to handle detached selections