Thanks for the info, Gavin.

I posted to the firefox-dev list, because I believe it's a more general thing 
than for the DevTools. Even when the current conflict is related to them, the 
question is more about using a mutation observer as a general solution for such 
key conflicts.

Sebastian

On Monday, December 2, 2013 11:49:06 PM UTC+1, Gavin Sharp wrote:
> This seems better targeted to firefox-dev
> 
> (https://wiki.mozilla.org/Firefox/firefox-dev), or even more
> 
> specifically to the DevTools list
> 
> (https://lists.mozilla.org/listinfo/dev-developer-tools).
> 
> 
> 
> Gavin
> 
> 
> 
> On Tue, Dec 3, 2013 at 7:43 AM, Sebastian Zartner wrote:
> 
> > The Firebug users are currently experiencing some shortcut conflicts 
> > related to the built-in DevTools. Namely this is the inspector shortcut 
> > Ctrl+Shift+C.
> 
> > We (the Firebug Working Group) are trying to fix this[1] by disabling the 
> > shortcut. Because it's lazy loaded we can't access it immediately.
> 
> > To have a general solution for such conflicts we're using a Mutation 
> > Observer checking for child nodes to be added to the window. Whenever it 
> > finds a key being added, it will disable it if it conflicts with a key used 
> > by Firebug.
> 
> > Though somebody from our team is now scrupling whether that's the right way 
> > to go and fearing performance problems.
> 
> > So I wanted to ask if someone can verify the current approach or suggest a 
> > better solution.
> 
> >
> 
> > Sebastian
> 
> >
> 
> > [1] http://code.google.com/p/fbug/issues/detail?id=6991
> 
> > _______________________________________________
> 
> > dev-platform mailing list
> 
> > dev-platform@lists.mozilla.org
> 
> > https://lists.mozilla.org/listinfo/dev-platform

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to