mozilla/addon-sdk — pull request #529 by ochameau (2012-08-21 18:23:45+00:00)
Title: Bug 784431 - window.top is equal to window in content scripts matching iframes

`window.top` shouldn't always be equal to `window` in content scripts.
Avoid that and add some tests against failures reported here:
https://bugzilla.mozilla.org/show_bug.cgi?id=780391#c19