Mysterious conflict between ShareMeNot and Firebug

26 views
Skip to first unread message

florent....@gmail.com

unread,
Apr 14, 2013, 5:40:43 AM4/14/13
to share...@googlegroups.com
Hi,

I am currently working on evolving the code of the Firebug Console (and more precisely, the way Firebug evaluates expressions).

When I tested my work using a Firefox profile having both Firebug and ShareMeNot, I discovered some mysterious conflicts. Here are the steps to reproduce:
1. Create a new Firefox profile and launch it
2. Install the attached version of Firebug on this profile
3. Install ShareMeNot
4. Restart Firefox (shouldn't be necessary, but we're sure everything is properly initialized then...)
5. Open this page: https://getfirebug.com/tests/head/commandLine/api/cd.html
6. Open Firebug on it
7. Enable and switch to the Console Panel
8. Reload the page (important!)
9. Type in the Console's command line: cd(frames[0])
10. Type in the command line: console
      |--> returns "undefined" !!!

If you disable ShareMeNot and reproduce steps 8 to 10, typing "console" displays the expected object.

I've found a (also mysterious) workaround to this conflict: https://github.com/firebug/firebug/commit/d8887b51bb28621e70bd699eac758030383b80ff#L0L73
But we'd really like to know what causes the conflict.

I've attached the commented pieces of code of DebuggerLib.js in which the conflict seems to occur. Do you have any clue why this happens?

I am at your disposal if you need further information about the code of Firebug and its mechanisms.

Related subject on Firebug issue list:
http://code.google.com/p/fbug/issues/detail?id=6291

Cheers,
Florent
firebug-1.12.0a4_issue6291.xpi
debuggerLib.part.js
Reply all
Reply to author
Forward
0 new messages