Firebug console.log in (XDM) IFrame is not working..

662 views
Skip to first unread message

Shlomi Sasson

unread,
Aug 26, 2013, 6:15:18 AM8/26/13
to fir...@googlegroups.com
Hey, 

Somehow, this morning i started disturbed by a weird issue, the problem is that all console.log invocations i'm making from within iFrame (cross-domain) in my webpage are not show into Firebug console, BUT are shown into Firefox console itself (by CTRL+SHIFT+K).
Tried to re-install and downgrade Firebug as well as Firefox but it doesn't helped me.

BTW, the Firefox console giving me this message: The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page. 
But it's not what you think (i googled it 3 hours) - the problem isn't in my code since the issue occur just with code that run into the iFrame but same code outside of it (on ther parent window) working fine and print out the messages via console.log

I'm using FF 23.0.1 with Firebug 1.12.0.

PLEASE ADVICE!! I'm using now Chrome Canary (like a kid..) and i hate it :)

Jan Honza Odvarko

unread,
Aug 26, 2013, 9:12:13 AM8/26/13
to fir...@googlegroups.com
Sounds like a bug. Can I access your page online and see the problem on my machine?
Honza

Florent Fayolle

unread,
Aug 26, 2013, 1:13:13 PM8/26/13
to fir...@googlegroups.com
Do you see any errors in the Browser Console (CTRL-SHIFT-J)?

Could you please reproduce the issue, open the Browser Console, and then like in the attached screenshot, unselect:
- Net
- CSS
- Security
- Logging
- JS > Warnings
- JS > Log

And give us the errors you have (if any).

Florent
filter_console.png

Sky Wickenden

unread,
Sep 3, 2013, 6:31:04 AM9/3/13
to fir...@googlegroups.com
I am also having this problem.

I had the same problem several months ago and you posted a link to a test build which solved the problem. It has remained solved through several updates until now (I just returned from holiday so the problem may have started a week or two ago.)

The original thread was : https://groups.google.com/forum/#!topic/firebug/48dlSERaVNM

Could this be a regression of the same bug?

Sky Wickenden

unread,
Sep 3, 2013, 6:40:25 AM9/3/13
to fir...@googlegroups.com
Also, I am not getting any errors and the code is definitely loaded and running.

nothing is displaying from console. commands in iframes on different domains.

Firefoxes built in inspector also has the warning: The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page.

Jan Honza Odvarko

unread,
Sep 3, 2013, 10:29:25 AM9/3/13
to fir...@googlegroups.com
I believe you are talking about this test  case:
https://getfirebug.com/tests/manual/issues/5978/issue5978.html

The problem could be caused by Mixed Active Content that is
now blocked by default in Firefox 23

Read this post:
https://blog.mozilla.org/tanvi/2013/04/10/mixed-content-blocking-enabled-in-firefox-23/

And also possible solution:
http://stackoverflow.com/questions/18251128/why-am-i-suddenly-getting-a-blocked-loading-mixed-active-content-issue-in-fire

Honza

Sky Wickenden

unread,
Sep 3, 2013, 10:37:43 AM9/3/13
to fir...@googlegroups.com
That test is broken due to mixed active content, but my site does not have this problem. The iframe is not on SSL (or both are on SSL) and the page works fine.

The only problem is that firebug console statements do not work in the iframe that is in a different domain.


--
You received this message because you are subscribed to a topic in the Google Groups "Firebug" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebug/R581O0UeKqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebug+u...@googlegroups.com.
To post to this group, send email to fir...@googlegroups.com.
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/0abc26a8-0360-41ab-bc9d-e24338e71c3b%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Jan Honza Odvarko

unread,
Sep 3, 2013, 11:24:29 AM9/3/13
to fir...@googlegroups.com
> That test is broken due to mixed active content, but my site does not have this problem.
Can you send me your test case, so I can see the problem?

Honza

Sky Wickenden

unread,
Sep 5, 2013, 6:19:48 AM9/5/13
to fir...@googlegroups.com
I haven't been able to isolate the issue into a simple test. However the latest update has once again fixed the issue.


Jan Honza Odvarko

unread,
Sep 5, 2013, 6:28:25 AM9/5/13
to fir...@googlegroups.com
Interesting, please let us know if the problem would reappear.
Thanks!
Honza
Reply all
Reply to author
Forward
0 new messages