mozilla/addon-sdk — pull request #497 by ZER0 (2012-07-16 20:38:21+00:00)
Title: Bug 774301: Many "selections(window) is null" during tests

Discarded all documents doesn't have a valid `defaultView`