Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Disabling Content in the Error Console

31 views
Skip to first unread message

Rob Campbell

unread,
Feb 8, 2011, 11:33:12 AM2/8/11
to dev-apps-firefox
Hi,

Just a heads-up: This week, I'm going to land bugs 602006, remove Error Console Menu Items (pending a new patch) and bug 593540[2], Disable Content Errors in the Error Console.

This will make the Error Console primarily useful for debugging Chrome errors and not content. To see errors from content, you'll have to use the Web Console. Note that the shortcut key, (Ctrl/Cmd-Shift-J) will still be operational for the Error Console and won't require an explicit pref setting to enable it.

Cheers,
Rob Campbell


[1] - https://bugzilla.mozilla.org/show_bug.cgi?id=602006
[2] - https://bugzilla.mozilla.org/show_bug.cgi?id=593540

Boris Zbarsky

unread,
Feb 8, 2011, 12:18:56 PM2/8/11
to
On 2/8/11 11:33 AM, Rob Campbell wrote:
> Just a heads-up: This week, I'm going to land bugs 602006, remove Error Console Menu Items (pending a new patch) and bug 593540[2], Disable Content Errors in the Error Console.
>
> This will make the Error Console primarily useful for debugging Chrome errors and not content. To see errors from content, you'll have to use the Web Console.

Unless I'm missing something, errors that happened prior to opening the
Web Console are still not shown in it. This, combined with the
inability to put it in a separate window, makes it a serious PITA for
most of the things I use the Error Console for...

Pending those issues being addressed, can we at least leave an option to
show content errors in the Error Console?

-Boris

"mitcho (Michael 芳貴 Erlewine)"

unread,
Feb 8, 2011, 12:24:10 PM2/8/11
to Boris Zbarsky, dev-apps...@lists.mozilla.org

+1. This could be a major issue for Panorama dev as well, at least while the web console can't be pulled up for the Panorama iframe (bug 592003).

mitcho

--
mitcho (Michael 芳貴 Erlewine)
mit...@mitcho.com
http://mitcho.com/
linguist, coder, teacher

Rob Campbell

unread,
Feb 8, 2011, 12:27:04 PM2/8/11
to Boris Zbarsky, dev-apps...@lists.mozilla.org


Ah, thanks for reminding me. Part of the patch in bug 593549 creates a pref "devtools.errorconsole.showContent". Setting that to true will return content errors to the Error Console.

There are a number of patches to start caching errors for the Web Console before opening it. Not sure if they'll make it in this week or not. My fingers are crossed!

~ rob

Rob Campbell

unread,
Feb 8, 2011, 12:29:15 PM2/8/11
to "mitcho (Michael 芳貴 Erlewine)", Boris Zbarsky, dev-apps...@lists.mozilla.org
On 2011-02-08, at 13:24 , mitcho (Michael 芳貴 Erlewine) wrote:

> On Feb 8, 2011, at 12:18 PM, Boris Zbarsky wrote:

> +1. This could be a major issue for Panorama dev as well, at least while the web console can't be pulled up for the Panorama iframe (bug 592003).

Note that you'll still get errors from Chrome without tweaking any prefs. This patch will actually make the Error Console that much better for debugging chrome as you won't end up filling it with a bunch of unrelated content errors. A problem I've run into on a number of occasions while hacking on the browser.

cheers,
Rob

Mike Shaver

unread,
Feb 8, 2011, 1:15:17 PM2/8/11
to Rob Campbell, dev-apps-firefox
On Tue, Feb 8, 2011 at 8:33 AM, Rob Campbell <rcam...@mozilla.com> wrote:
> Hi,

>
> Just a heads-up: This week, I'm going to land bugs 602006, remove Error Console Menu Items (pending a new patch) and bug 593540[2], Disable Content Errors in the Error Console.

I don't think we should do this until the patches to fix the various
issues with the Web Console (copy/paste, line-number linking, caching,
etc.) are resolved, and we're sure we like how it ended up. I don't
know of anyone who is running with all the patches combined, but maybe
they're in a repo somewhere.

Otherwise we are committed to a path that we don't need to commit to
in order for FF4 to be successful. The Web Console is nice to have,
but removing the Error Console entry seems like something that is not
critical to our release and we should therefore take neither the UI
disruption nor the associated risk, especially without having lived in
the fully-formed Web Console for a little while. Switching the
defaults in FF5 once we have reacted to developer feedback in the wild
seems better to me, especially given this very very late date.

Mike

Kevin Dangoor

unread,
Feb 8, 2011, 1:35:50 PM2/8/11
to Mike Shaver, dev-apps-firefox, Rob Campbell
On Tue, Feb 8, 2011 at 1:15 PM, Mike Shaver <mike....@gmail.com> wrote:

> Otherwise we are committed to a path that we don't need to commit to
> in order for FF4 to be successful. The Web Console is nice to have,
> but removing the Error Console entry seems like something that is not
> critical to our release and we should therefore take neither the UI
> disruption nor the associated risk, especially without having lived in
> the fully-formed Web Console for a little while. Switching the
> defaults in FF5 once we have reacted to developer feedback in the wild
> seems better to me, especially given this very very late date.
>
>

Assuming that users won't be confused by "Error Console" and "Web Console"
as separate menu items that appear together, I agree with you. The question
of when to use one or the other might be confusing, though it's easy for
developers to decide for themselves just by opening the consoles and seeing
what they are presenting and how they present it.

And, for what it's worth, I've seen nothing from Input where people were
confused, so maybe I need not worry about such things.

Kevin

--
Kevin Dangoor

work: http://mozilla.com/
email: kdan...@mozilla.com <k...@blazingthings.com>
blog: http://www.BlueSkyOnMars.com

Mike Shaver

unread,
Feb 8, 2011, 1:37:54 PM2/8/11
to Kevin Dangoor, dev-apps-firefox, Rob Campbell
On Tue, Feb 8, 2011 at 10:35 AM, Kevin Dangoor <kdan...@mozilla.com> wrote:
> Assuming that users won't be confused by "Error Console" and "Web Console"
> as separate menu items that appear together, I agree with you.  The question
> of when to use one or the other might be confusing, though it's easy for
> developers to decide for themselves just by opening the consoles and seeing
> what they are presenting and how they present it.

I don't think we should flip the error console show-in-content pref
either. I think we should make the Web Console good enough that
people will prefer to use it, and evangelize it, but not take out
long-standing functionality at this extremely, very,
I-think-you-get-the-point late date.

Mike

Kevin Dangoor

unread,
Feb 8, 2011, 2:05:55 PM2/8/11
to Mike Shaver, dev-apps-firefox, Rob Campbell
On Tue, Feb 8, 2011 at 1:37 PM, Mike Shaver <mike....@gmail.com> wrote:

> I don't think we should flip the error console show-in-content pref
> either. I think we should make the Web Console good enough that
> people will prefer to use it, and evangelize it, but not take out
> long-standing functionality at this extremely, very,
> I-think-you-get-the-point late date.
>
>

I agree that the same logic applies to that patch as well. I'll make notes
in the relevant bugs.

EE

unread,
Feb 8, 2011, 2:11:05 PM2/8/11
to

What is the web console? I have never seen it.

Rob Campbell

unread,
Feb 8, 2011, 2:14:47 PM2/8/11
to Kevin Dangoor, dev-apps-firefox, Mike Shaver

On 2011-02-08, at 15:05 , Kevin Dangoor wrote:

> On Tue, Feb 8, 2011 at 1:37 PM, Mike Shaver <mike....@gmail.com> wrote:
> I don't think we should flip the error console show-in-content pref
> either. I think we should make the Web Console good enough that
> people will prefer to use it, and evangelize it, but not take out
> long-standing functionality at this extremely, very,
> I-think-you-get-the-point late date.
>
>
> I agree that the same logic applies to that patch as well. I'll make notes in the relevant bugs.

Very well then!

~ rob

Rob Campbell

unread,
Feb 8, 2011, 2:18:34 PM2/8/11
to EE, dev-apps...@lists.mozilla.org

Ctrl/Cmd-Shift-K in Firefox 4.

~ rob

Natch

unread,
Feb 14, 2011, 3:15:27 PM2/14/11
to
On Feb 8, 2:18 pm, Rob Campbell <rcampb...@mozilla.com> wrote:
> On 2011-02-08, at 15:11 , EE wrote:
>
> > On 2011/02/08 9:33, Rob Campbell wrote:
> >> Hi,
>
> >> Just a heads-up: This week, I'm going to land bugs 602006, remove Error Console Menu Items (pending a new patch) and bug 593540[2], Disable Content Errors in the Error Console.
>
> >> This will make the Error Console primarily useful for debugging Chrome errors and not content. To see errors from content, you'll have to use the Web Console. Note that the shortcut key, (Ctrl/Cmd-Shift-J) will still be operational for the Error Console and won't require an explicit pref setting to enable it.
>
> >> Cheers,
> >> Rob Campbell
>
> >> [1] -https://bugzilla.mozilla.org/show_bug.cgi?id=602006
> >> [2] -https://bugzilla.mozilla.org/show_bug.cgi?id=593540

>
> > What is the web console?  I have never seen it.
>
> Ctrl/Cmd-Shift-K in Firefox 4.
>
> ~ rob

Would be nice to get the patch in with the default set to show the
content errors (and menu items). This way it's a simple change in the
future and current users that would like to change the error console
can do so...

0 new messages