Commit Graph

7 Commits

Author SHA1 Message Date
juliandescottes
5af8f706aa Bug 999568 - Bring devtools window to front on F12. r=pbrosset
Two keyboard shortcuts can toggle the devtools : F12 and CTRL+SHIFT+I/CMD+ALT+I.

Currently, with detached devtools, pressing a toggle key from the main window
closes the devtools window. Pressing a toggle key from the devtools window
itself has no effect.

The goal of this changeset is to :
- focus devtools window when pressing a toggle key in the main window
- close devtools window when pressing a toggle key in the devtools window

Modified toggleToolboxCommand in browser/devtools/framework/gDevTools.jsm to
destroy the toolbox only if it is "docked" (exists and the hostType is not
WINDOW).

Modified browser/devtools/framework/toolbox-window.xul and
browser/locales/en-US/chrome/browser/devtools/toolbox.dtd so that F12 and
CTRL+SHIFT+I/CMD+SHIFT+I also close the devtools window when used inside the
devtools window

Added mochitest browser_toolbox_toggle.js
2015-04-30 22:51:07 +02:00
Boris Zbarsky
ec6825d79c Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul 2013-02-22 09:56:28 -05:00
Ryan VanderMeulen
9d1831e75b Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE. 2013-02-28 14:41:30 -05:00
Boris Zbarsky
6cfeb1b15f Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul 2013-02-22 09:56:28 -05:00
David Creswick
40951fde2f Bug 734664 - Devtools toolbox should display the actual target url when detached. r=paul 2013-02-26 12:40:19 +00:00
Paul Rouget
25622933bf Bug 829644 - [toolbox] Make the default size of the toolbox window wider. r=jwalker 2013-01-11 09:23:00 +02:00
Joe Walker
9632928486 Bug 788977 - [toolbox] Land the developer tools window; r=harth,jwalker,mikeratcliffe,paul,dão 2012-11-30 08:07:59 +00:00