On 9/20/13 6:24 PM, Paul Rouget wrote:
Patrick, do you think you could reduce this jsbin problem to a smaller test
case?
Brian Grinstead and I have been trying for the last days with no luck so far
Does docShell.getSameTypeParentIgnoreBrowserAndAppBoundaries() return null?
Or is it querySelect
On Fri, Sep 20, 2013 at 3:07 PM, Patrick Brosset wrote:
> docShell.getSameTypeParentIgnoreBrowserAndAppBoundaries() doesn't return
> null, it returns a docShell, but the subsequent querySelectorAll("iframe")
> call returns an empty array.
You can have a child docshell in a container other than "i
Boris Zbarsky wrote:
> On 9/20/13 11:14 AM, Patrick Brosset wrote:
> >The helper is here:
> >http://mxr.mozilla.org/mozilla-aurora/source/toolkit/devtools/LayoutHelpers.jsm#370
>
> 379 if (docShell.isBrowserOrApp) {
> ...
> 389 } else {
> 390 return win.frameElement;
> 391 }
>
>
On Fri, Sep 20, 2013 at 11:14 AM, Patrick Brosset 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 aWebPro
On Fri, Sep 20, 2013 at 12:24 PM, Paul Rouget wrote:
> @all: Is there a way to know which DOM element holds a docShell? Basically,
> which
> owns the docshell?
Sounds like you want a scriptable (privileged-only) version of
nsIDOMWindow realFrameElement
Gavin
__
On 9/20/13 12:24 PM, Paul Rouget wrote:
@all: Is there a way to know which DOM element holds a docShell? Basically,
which
owns the docshell?
We should add one as needed.
-Boris
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://l
Patrick, do you think you could reduce this jsbin problem to a smaller test
case?
Does docShell.getSameTypeParentIgnoreBrowserAndAppBoundaries() return null?
Or is it querySelectorAll() that returns an array without the iframe we're
looking for?
Does isTopLevelWindow() returns true? If so, it's
On 9/20/13 11:14 AM, Patrick Brosset wrote:
The helper is here:
http://mxr.mozilla.org/mozilla-aurora/source/toolkit/devtools/LayoutHelpers.jsm#370
379 if (docShell.isBrowserOrApp) {
...
389 } else {
390 return win.frameElement;
391 }
So for anything on desktop it is in fact
8 matches
Mail list logo