Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Firebug 1.9a2 & Firebug in-frame
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  15 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jan Honza Odvarko  
View profile  
 More options Sep 6 2011, 2:10 pm
From: Jan Honza Odvarko <odva...@gmail.com>
Date: Tue, 6 Sep 2011 11:10:40 -0700 (PDT)
Local: Tues, Sep 6 2011 2:10 pm
Subject: Firebug 1.9a2 & Firebug in-frame
I am planning to release Firebug 1.9a2 on Friday.
Bunch of issues have been fixed (some of them ported into 1.8)

---

One thing I would like to do yet in 1.9a2 is to put entire Firebug
into its own (i)frame and isolate it from the other extension.
Something what we already did, but abandoned since it cased issues in
the 1.8 release.

Now I think it's good time to try it again since we have time to solve
all small issues during the alpha and beta phase of 1.9

The advantages of such solutions are:

1) Solves SeaMonkey status bar problem (issue 4804) Note that the
problem can happen in Firefox too and could be the explanation why
some users don't see the status bar icon even if we couldn't reproduce
it (we could try again based on Neils comments here:
http://groups.google.com/group/mozilla.dev.platform/browse_thread/thr...)

2) RequireJS and the rest of Firebug is not loaded into the global
scope: browser.xul. This is big and it avoids possible collisions with
other extensions (what if other extension would also use RequireJS).

3) It solves the RoboForm problem (issue 4720)

---

Embedding of Firebug in the (i) frame should be done slightly
differently than before. It should be inserted into <browser> element
(coming from XUL) instead of <iframe> element (coming from HTML) to
avoid UI font size problems.

Thoughts?

Honza


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebo  
View profile  
 More options Sep 6 2011, 6:35 pm
From: Sebo <sebastianzart...@gmx.de>
Date: Tue, 6 Sep 2011 15:35:15 -0700 (PDT)
Local: Tues, Sep 6 2011 6:35 pm
Subject: Re: Firebug 1.9a2 & Firebug in-frame
By doing so we need to keep an eye on http://code.google.com/p/fbug/issues/detail?id=4599.

> Embedding of Firebug in the (i) frame should be done slightly
> differently than before. It should be inserted into <browser> element
> (coming from XUL) instead of <iframe> element (coming from HTML) to
> avoid UI font size problems.

Sounds like you want to keep the <browser> element, but put an
<iframe> into it. Is that correct?
If so, I guess the issue mentioned above will probably not be solved.

Please also note comment 12 of that issue.

Sebastian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Harutyun Amirjanyan  
View profile  
 More options Sep 7 2011, 2:55 am
From: Harutyun Amirjanyan <amirjan...@gmail.com>
Date: Wed, 7 Sep 2011 11:55:00 +0500
Subject: Re: [FWG] Re: Firebug 1.9a2 & Firebug in-frame
this also will simplify detaching firebug to separate window,
and placing it into sidebar or top,
since we can use browser.swapDocShells to move whole firebug to other window
using it will also simplify code in chromeFactory and in places where
we had to use getElementById every time since element could be changed

(i had almost working patch for this last time, will try to resurrect it)

- Firefox.js probably needs to remain in browser.xul with tabWatcher
- require will not need namespace anymore which will be good for
extensions (loading modules only when required, using
require('foo/bar') style)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebo  
View profile  
 More options Sep 7 2011, 3:41 am
From: Sebo <sebastianzart...@gmx.de>
Date: Wed, 7 Sep 2011 00:41:53 -0700 (PDT)
Local: Wed, Sep 7 2011 3:41 am
Subject: Re: Firebug 1.9a2 & Firebug in-frame
> and placing it into sidebar or top

Note, that I added an issue for that two days ago:
http://code.google.com/p/fbug/issues/detail?id=4812

Sebastian

On Sep 7, 8:55 am, Harutyun Amirjanyan <amirjan...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan Honza Odvarko  
View profile  
 More options Sep 7 2011, 5:07 am
From: Jan Honza Odvarko <odva...@gmail.com>
Date: Wed, 7 Sep 2011 02:07:53 -0700 (PDT)
Local: Wed, Sep 7 2011 5:07 am
Subject: Re: Firebug 1.9a2 & Firebug in-frame
On Sep 7, 12:35 am, Sebo <sebastianzart...@gmx.de> wrote:
> By doing so we need to keep an eye onhttp://code.google.com/p/fbug/issues/detail?id=4599.

> > Embedding of Firebug in the (i) frame should be done slightly
> > differently than before. It should be inserted into <browser> element
> > (coming from XUL) instead of <iframe> element (coming from HTML) to
> > avoid UI font size problems.

> Sounds like you want to keep the <browser> element, but put an
> <iframe> into it. Is that correct?
> If so, I guess the issue mentioned above will probably not be solved.

I am talking about this <iframe>:
http://code.google.com/p/fbug/source/browse/branches/firebug1.9/conte...
(should be <browser>

> Please also note comment 12 of that issue.

I am not sure if this is related, but we should definitely have an
automated test (FBTest) for the security issue.

Honza


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan Honza Odvarko  
View profile  
 More options Sep 7 2011, 5:10 am
From: Jan Honza Odvarko <odva...@gmail.com>
Date: Wed, 7 Sep 2011 02:10:46 -0700 (PDT)
Local: Wed, Sep 7 2011 5:10 am
Subject: Re: Firebug 1.9a2 & Firebug in-frame
On Sep 7, 8:55 am, Harutyun Amirjanyan <amirjan...@gmail.com> wrote:
> this also will simplify detaching firebug to separate window,
> and placing it into sidebar or top,
> since we can use browser.swapDocShells to move whole firebug to other window
> using it will also simplify code in chromeFactory and in places where
> we had to use getElementById every time since element could be changed

Good point

> (i had almost working patch for this last time, will try to resurrect it)

> - Firefox.js probably needs to remain in browser.xul with tabWatcher

You mean firebug.js, right? I think that this file would be included
within the iframe and a reference exposed to the global scope.

Honza


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Harutyun Amirjanyan  
View profile  
 More options Sep 7 2011, 5:35 am
From: Harutyun Amirjanyan <amirjan...@gmail.com>
Date: Wed, 7 Sep 2011 14:35:58 +0500
Local: Wed, Sep 7 2011 5:35 am
Subject: Re: [FWG] Re: Firebug 1.9a2 & Firebug in-frame

> You mean firebug.js, right? I think that this file would be included
> within the iframe and a reference exposed to the global scope.

nope. i meant http://code.google.com/p/fbug/source/browse/branches/firebug1.9/conte...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan Honza Odvarko  
View profile  
 More options Sep 7 2011, 6:50 am
From: Jan Honza Odvarko <odva...@gmail.com>
Date: Wed, 7 Sep 2011 03:50:19 -0700 (PDT)
Local: Wed, Sep 7 2011 6:50 am
Subject: Re: Firebug 1.9a2 & Firebug in-frame
On Sep 7, 11:35 am, Harutyun Amirjanyan <amirjan...@gmail.com> wrote:
> > You mean firebug.js, right? I think that this file would be included
> > within the iframe and a reference exposed to the global scope.

> nope. i meanthttp://code.google.com/p/fbug/source/browse/branches/firebug1.9/conte...

I think this module should be also loaded together with all other AMD
modules
within the frame. Or is there anything blocking us from doing that?

I believe that all modules should be loaded in the iframe and only
necessary
references (such as Firebug) created in the global scope to keep
compatibility
with existing extensions.

Firebug UI will be presented in two scopes:
- Firebug UI within the frame (toolbar, panels, etc.)
- Firebug Start button, web-developer menu, page context menu in
browser.xul

Honza


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven Roussey  
View profile  
 More options Sep 7 2011, 11:34 am
From: Steven Roussey <srous...@gmail.com>
Date: Wed, 7 Sep 2011 08:34:16 -0700
Local: Wed, Sep 7 2011 11:34 am
Subject: Re: [FWG] Firebug 1.9a2 & Firebug in-frame

Loading into an iframe/browser is essentially what Chrome does. The big
question I have is what about extensions? I would imagine that they should
be in the same context. I can't remember where the discussion went last time
on this issue. Anyhow, I think it a great idea. What are the other side
effects of using a browser tag instead of an iframe tag?

Steven Roussey

On Tue, Sep 6, 2011 at 11:10 AM, Jan Honza Odvarko <odva...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan Honza Odvarko  
View profile  
 More options Sep 7 2011, 1:22 pm
From: Jan Honza Odvarko <odva...@gmail.com>
Date: Wed, 7 Sep 2011 10:22:18 -0700 (PDT)
Local: Wed, Sep 7 2011 1:22 pm
Subject: Re: Firebug 1.9a2 & Firebug in-frame
On Sep 7, 5:34 pm, Steven Roussey <srous...@gmail.com> wrote:
> Loading into an iframe/browser is essentially what Chrome does. The big
> question I have is what about extensions? I would imagine that they should
> be in the same context.

Firefox extensions that overlays chrome://firebug/content/firebugOverlay.xul
are still living in the same context (relatively to Firebug).

The difference is that firebugOverlay.xul itself doesn't live in
browser.xul,
but in firebugFrame.xul

> I can't remember where the discussion went last time
> on this issue. Anyhow, I think it a great idea. What are the other side
> effects of using a browser tag instead of an iframe tag?

I know about following:

- There are font size issues
- Security is handled a bit differently

Honza


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pedro Simonetti Garcia  
View profile  
 More options Sep 7 2011, 1:31 pm
From: Pedro Simonetti Garcia <pedrosimone...@gmail.com>
Date: Wed, 7 Sep 2011 14:31:20 -0300
Local: Wed, Sep 7 2011 1:31 pm
Subject: Re: [FWG] Re: Firebug 1.9a2 & Firebug in-frame

Harutyun,

2011/9/7 Harutyun Amirjanyan <amirjan...@gmail.com>

> this also will simplify detaching firebug to separate window,
> and placing it into sidebar or top,
> since we can use browser.swapDocShells to move whole firebug to other
> window
> using it will also simplify code in chromeFactory and in places where
> we had to use getElementById every time since element could be changed

> (i had almost working patch for this last time, will try to resurrect it)

Considering that moving all of our UI to a web-based implementation (thus
using an iframe) is part of our mid-to-long term, I would not invest time in
a solution that will require changes now and won't work in the future (that
is, will require more changes later).

Anyway, just my 2 cents.

Pedro Simonetti.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Harutyun Amirjanyan  
View profile  
 More options Sep 7 2011, 2:42 pm
From: Harutyun Amirjanyan <amirjan...@gmail.com>
Date: Wed, 7 Sep 2011 23:42:30 +0500
Local: Wed, Sep 7 2011 2:42 pm
Subject: Re: [FWG] Re: Firebug 1.9a2 & Firebug in-frame
On Wed, Sep 7, 2011 at 10:31 PM, Pedro Simonetti Garcia

<pedrosimone...@gmail.com> wrote:
> Harutyun,
> Considering that moving all of our UI to a web-based implementation (thus
> using an iframe) is part of our mid-to-long term, I would not invest time in
> a solution that will require changes now and won't work in the future (that
> is, will require more changes later).

yes, but whatever we do we will have a lot of firebug specific code,
unless we remove some features from firebug,

changes here are about firefox specific part,
(outer browser which must live in browser.xul not in page)
 so we will have to do them anyway

and web-based UI will live inside that browser


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan Honza Odvarko  
View profile  
 More options Sep 8 2011, 6:27 am
From: Jan Honza Odvarko <odva...@gmail.com>
Date: Thu, 8 Sep 2011 03:27:29 -0700 (PDT)
Local: Thurs, Sep 8 2011 6:27 am
Subject: Re: Firebug 1.9a2 & Firebug in-frame
On Sep 7, 8:42 pm, Harutyun Amirjanyan <amirjan...@gmail.com> wrote:
> yes, but whatever we do we will have a lot of firebug specific code,
> unless we remove some features from firebug,

> changes here are about firefox specific part,
> (outer browser which must live in browser.xul not in page)
>  so we will have to do them anyway

> and web-based UI will live inside that browser

Agree, firebug-frame layout/position management can happen
independently of the
content (content == Firebug UI).

Honza


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan Honza Odvarko  
View profile  
 More options Sep 8 2011, 11:13 am
From: Jan Honza Odvarko <odva...@gmail.com>
Date: Thu, 8 Sep 2011 08:13:12 -0700 (PDT)
Local: Thurs, Sep 8 2011 11:13 am
Subject: Re: Firebug 1.9a2 & Firebug in-frame
R11754 inserts Firebug inside a frame (<browser> element)
Honza

On Sep 8, 12:27 pm, Jan Honza Odvarko <odva...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pedro Simonetti Garcia  
View profile  
 More options Sep 8 2011, 1:16 pm
From: Pedro Simonetti Garcia <pedrosimone...@gmail.com>
Date: Thu, 8 Sep 2011 14:16:11 -0300
Local: Thurs, Sep 8 2011 1:16 pm
Subject: Re: [FWG] Re: Firebug 1.9a2 & Firebug in-frame

Harutyun,

2011/9/7 Harutyun Amirjanyan <amirjan...@gmail.com>

Okay, it makes sense. Forget what I said earlier :)

I guess I misunderstood the behavior of the swapDocShells function. By
reading the documentation it seems to be a good choice using it in the
detached UI:

https://developer.mozilla.org/En/XUL/Method/swapDocShells

Pedro Simonetti.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »