browser/devtools/framework/test/browser.ini
author juliandescottes<julian.descottes@gmail.com>
Thu, 30 Apr 2015 22:51:07 +0200
changeset 272057 b4ad268f693877c4dc4d59f0b7ac4eff6ceaa079
parent 271000 c3d0143b9268645709c48948893e13dae1dd1d4c
child 273237 b08fab71b4f2412baae78228b51a16e37fd1529c
child 274259 a6b952b85bc6b79e277667048bf1d59da9bbc473
permissions -rw-r--r--
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

[DEFAULT]
tags = devtools
subsuite = devtools
support-files =
  browser_toolbox_options_disable_js.html
  browser_toolbox_options_disable_js_iframe.html
  browser_toolbox_options_disable_cache.sjs
  browser_toolbox_sidebar_tool.xul
  code_math.js
  head.js
  helper_disable_cache.js
  doc_theme.css
  doc_viewsource.html
  browser_toolbox_options_enable_serviceworkers_testing.html
  serviceworker.js

[browser_devtools_api.js]
[browser_devtools_api_destroy.js]
[browser_dynamic_tool_enabling.js]
[browser_keybindings.js]
[browser_new_activation_workflow.js]
[browser_target_events.js]
[browser_target_remote.js]
[browser_target_support.js]
[browser_two_tabs.js]
[browser_toolbox_dynamic_registration.js]
[browser_toolbox_getpanelwhenready.js]
[browser_toolbox_highlight.js]
[browser_toolbox_hosts.js]
[browser_toolbox_hosts_size.js]
[browser_toolbox_options.js]
[browser_toolbox_options_disable_buttons.js]
[browser_toolbox_options_disable_cache-01.js]
skip-if = e10s # Bug 1030318
[browser_toolbox_options_disable_cache-02.js]
skip-if = e10s # Bug 1030318
[browser_toolbox_options_disable_js.js]
skip-if = e10s # Bug 1030318
# [browser_toolbox_raise.js] # Bug 962258
# skip-if = os == "win"
[browser_toolbox_ready.js]
[browser_toolbox_select_event.js]
skip-if = e10s # Bug 1069044 - destroyInspector may hang during shutdown
[browser_toolbox_sidebar.js]
[browser_toolbox_sidebar_events.js]
[browser_toolbox_sidebar_existing_tabs.js]
[browser_toolbox_sidebar_overflow_menu.js]
[browser_toolbox_tabsswitch_shortcuts.js]
[browser_toolbox_textbox_context_menu.js]
[browser_toolbox_toggle.js]
[browser_toolbox_tool_ready.js]
[browser_toolbox_tool_remote_reopen.js]
[browser_toolbox_transport_events.js]
[browser_toolbox_view_source_01.js]
[browser_toolbox_view_source_02.js]
[browser_toolbox_view_source_03.js]
[browser_toolbox_view_source_04.js]
[browser_toolbox_window_reload_target.js]
[browser_toolbox_window_shortcuts.js]
skip-if = os == "mac" && os_version == "10.8" || os == "win" && os_version == "5.1" # Bug 851129 - Re-enable browser_toolbox_window_shortcuts.js test after leaks are fixed
[browser_toolbox_window_title_changes.js]
[browser_toolbox_zoom.js]
[browser_toolbox_custom_host.js]
[browser_toolbox_theme_registration.js]
[browser_toolbox_options_enable_serviceworkers_testing.js]
skip-if = true # Bug 1153407 - this test breaks subsequent tests and is not e10s compatible

# We want this test to run for mochitest-dt as well, so we include it here:
[../../../base/content/test/general/browser_parsable_css.js]