On Fri, Sep 20, 2013 at 11:14 AM, Patrick Brosset <pbros...@mozilla.com> wrote:
> When the site loads, we listen to (using nsIWebProgressListener) state
> changes and for each window that completes loading, we call a helper
> function that'll tell us if that window is the website's top one or not.

Can't you use aWebProgress.isTopLevel for that? I probably don't
understand all of the requirements, but LayoutHelpers seems overly
complicated.

Gavin
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to