From aceff510e667f12e780d2d78461d7ba1069dab1b Mon Sep 17 00:00:00 2001 From: Joe Walker Date: Thu, 22 Nov 2012 21:35:19 +0000 Subject: [PATCH 1/8] =?UTF-8?q?Bug=20788977=20-=20[toolbox]=20Land=20the?= =?UTF-8?q?=20developer=20tools=20window;=20r=3Dharth,jwalker,mikeratcliff?= =?UTF-8?q?e,paul,d=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- browser/app/profile/firefox.js | 28 +- browser/base/content/browser-appmenu.inc | 33 +- browser/base/content/browser-doctype.inc | 2 - browser/base/content/browser-menubar.inc | 40 +- browser/base/content/browser-sets.inc | 87 +- browser/base/content/browser.css | 14 +- browser/base/content/browser.js | 105 +- browser/base/content/browser.xul | 106 +- browser/base/content/highlighter.css | 71 +- browser/base/content/nsContextMenu.js | 16 +- browser/devtools/Makefile.in | 3 +- browser/devtools/commandline/CmdBreak.jsm | 48 +- browser/devtools/commandline/CmdCalllog.jsm | 12 +- .../devtools/commandline/CmdCalllogChrome.jsm | 11 +- browser/devtools/commandline/CmdConsole.jsm | 14 +- browser/devtools/commandline/CmdDbg.jsm | 66 +- browser/devtools/commandline/Commands.jsm | 1 + .../commandline/test/browser_dbg_cmd.js | 111 +- .../commandline/test/browser_dbg_cmd_break.js | 136 +- browser/devtools/debugger/DebuggerPanel.jsm | 144 + .../devtools/debugger/debugger-controller.js | 49 +- browser/devtools/debugger/debugger-toolbar.js | 15 - browser/devtools/debugger/debugger.xul | 10 - browser/devtools/debugger/test/Makefile.in | 8 +- .../debugger/test/browser_dbg_bfcache.js | 2 +- .../test/browser_dbg_breakpoint-new-script.js | 2 +- ...rowser_dbg_bug723069_editor-breakpoints.js | 12 +- ...r_dbg_bug723071_editor-breakpoints-pane.js | 10 +- ...wser_dbg_bug727429_watch-expressions-01.js | 2 +- ...wser_dbg_bug727429_watch-expressions-02.js | 2 +- ...rowser_dbg_bug731394_editor-contextmenu.js | 2 +- ...er_dbg_bug737803_editor_actual_location.js | 10 +- ...bg_bug740825_conditional-breakpoints-01.js | 4 +- ...bg_bug740825_conditional-breakpoints-02.js | 4 +- .../browser_dbg_bug786070_hide_nonenums.js | 2 +- .../debugger/test/browser_dbg_clean-exit.js | 2 +- .../debugger/test/browser_dbg_createRemote.js | 2 +- .../debugger/test/browser_dbg_displayName.js | 2 +- .../debugger/test/browser_dbg_iframes.js | 5 +- .../debugger/test/browser_dbg_leaktest.js | 2 +- .../browser_dbg_location-changes-blank.js | 2 +- .../test/browser_dbg_location-changes-new.js | 2 +- .../test/browser_dbg_location-changes.js | 2 +- .../test/browser_dbg_pane-collapse.js | 2 +- .../test/browser_dbg_panesize-inner.js | 97 +- .../debugger/test/browser_dbg_panesize.js | 55 - .../test/browser_dbg_pause-exceptions.js | 8 +- .../debugger/test/browser_dbg_pause-resume.js | 2 +- .../test/browser_dbg_progress-listener-bug.js | 2 +- .../test/browser_dbg_propertyview-01.js | 2 +- .../test/browser_dbg_propertyview-02.js | 2 +- .../test/browser_dbg_propertyview-03.js | 2 +- .../test/browser_dbg_propertyview-04.js | 2 +- .../test/browser_dbg_propertyview-05.js | 2 +- .../test/browser_dbg_propertyview-06.js | 2 +- .../test/browser_dbg_propertyview-07.js | 2 +- .../test/browser_dbg_propertyview-08.js | 2 +- .../test/browser_dbg_propertyview-09.js | 2 +- .../test/browser_dbg_propertyview-10.js | 2 +- .../test/browser_dbg_propertyview-data.js | 2 +- .../test/browser_dbg_propertyview-edit.js | 2 +- .../browser_dbg_propertyview-filter-01.js | 2 +- .../browser_dbg_propertyview-filter-02.js | 2 +- .../browser_dbg_propertyview-filter-03.js | 2 +- .../browser_dbg_propertyview-filter-04.js | 2 +- .../browser_dbg_propertyview-filter-05.js | 2 +- .../browser_dbg_propertyview-filter-06.js | 2 +- .../browser_dbg_propertyview-filter-07.js | 2 +- .../browser_dbg_propertyview-filter-08.js | 2 +- .../test/browser_dbg_propertyview-reexpand.js | 2 +- .../test/browser_dbg_reload-same-script.js | 2 +- .../test/browser_dbg_script-switching.js | 2 +- .../test/browser_dbg_scripts-searching-01.js | 2 +- .../test/browser_dbg_scripts-searching-02.js | 2 +- .../test/browser_dbg_scripts-searching-03.js | 2 +- .../test/browser_dbg_scripts-searching-04.js | 2 +- .../test/browser_dbg_scripts-searching-05.js | 2 +- .../test/browser_dbg_scripts-searching-06.js | 2 +- .../test/browser_dbg_scripts-searching-07.js | 2 +- .../test/browser_dbg_scripts-searching-08.js | 2 +- .../browser_dbg_scripts-searching-popup.js | 2 +- .../test/browser_dbg_scripts-sorting.js | 2 +- .../debugger/test/browser_dbg_select-line.js | 2 +- .../debugger/test/browser_dbg_stack-01.js | 2 +- .../debugger/test/browser_dbg_stack-02.js | 2 +- .../debugger/test/browser_dbg_stack-03.js | 2 +- .../debugger/test/browser_dbg_stack-04.js | 2 +- .../debugger/test/browser_dbg_stack-05.js | 2 +- .../test/browser_dbg_update-editor-mode.js | 2 +- browser/devtools/debugger/test/head.js | 92 +- .../{highlighter => framework}/Makefile.in | 10 +- browser/devtools/framework/Sidebar.jsm | 191 ++ browser/devtools/framework/Target.jsm | 385 +++ .../devtools/framework/ToolDefinitions.jsm | 19 + browser/devtools/framework/Toolbox.jsm | 523 ++++ browser/devtools/framework/ToolboxHosts.jsm | 208 ++ .../devtools/framework/connect/connect.css | 87 + browser/devtools/framework/connect/connect.js | 100 + .../devtools/framework/connect/connect.xhtml | 45 + browser/devtools/framework/gDevTools.jsm | 543 ++++ browser/devtools/framework/test/Makefile.in | 26 + .../framework/test/browser_devtools_api.js | 137 + .../test/browser_new_activation_workflow.js | 64 + .../framework/test/browser_target_events.js | 58 + .../browser_toolbox_dynamic_registration.js | 112 + .../framework/test/browser_toolbox_hosts.js | 135 + .../framework/test/browser_toolbox_ready.js | 56 + .../test/browser_toolbox_select_event.js | 97 + .../framework/test/browser_toolbox_sidebar.js | 132 + .../test/browser_toolbox_tool_ready.js | 72 + browser/devtools/framework/test/head.js | 36 + browser/devtools/framework/toolbox-window.xul | 33 + browser/devtools/framework/toolbox.css | 10 + browser/devtools/framework/toolbox.xul | 27 + browser/devtools/highlighter/CmdInspect.jsm | 29 - browser/devtools/highlighter/inspector.jsm | 2414 ----------------- ...r_inspector_bug_566084_location_changed.js | 120 - .../test/browser_inspector_bug_690361.js | 107 - ..._inspector_bug_699308_iframe_navigation.js | 77 - .../test/browser_inspector_changes.js | 124 - .../browser_inspector_highlighter_autohide.js | 59 - .../test/browser_inspector_initialization.js | 191 -- .../test/browser_inspector_invalidate.js | 56 - .../test/browser_inspector_keybindings.js | 78 - .../browser_inspector_pseudoClass_menu.js | 87 - .../test/browser_inspector_ruleviewstore.js | 105 - .../test/browser_inspector_sidebarstate.js | 73 - .../test/browser_inspector_tab_switch.js | 247 -- .../test/browser_inspector_treeSelection.js | 84 - browser/devtools/inspector/Breadcrumbs.jsm | 593 ++++ browser/devtools/inspector/CmdInspect.jsm | 48 + .../Highlighter.jsm} | 433 ++- .../inspector/InspectorDefinition.jsm | 45 + browser/devtools/inspector/InspectorPanel.jsm | 536 ++++ browser/devtools/inspector/Makefile.in | 18 + browser/devtools/inspector/Selection.jsm | 230 ++ browser/devtools/inspector/inspector.css | 11 + browser/devtools/inspector/inspector.xul | 71 + .../test/Makefile.in | 25 +- .../test/browser_inspector_breadcrumbs.html | 0 .../test/browser_inspector_breadcrumbs.js | 37 +- ...r_inspector_bug_566084_location_changed.js | 131 + .../test/browser_inspector_bug_665880.js | 28 +- ...inspector_bug_672902_keyboard_shortcuts.js | 55 +- .../test/browser_inspector_bug_674871.js | 32 +- ..._inspector_bug_699308_iframe_navigation.js | 65 + .../test/browser_inspector_changes.js | 112 + .../test/browser_inspector_cmd_inspect.html | 0 .../test/browser_inspector_cmd_inspect.js | 2 +- .../browser_inspector_destroyselection.html | 0 .../browser_inspector_destroyselection.js | 30 +- .../test/browser_inspector_highlighter.js | 48 +- .../browser_inspector_highlighter_autohide.js | 46 + .../test/browser_inspector_iframeTest.js | 33 +- .../test/browser_inspector_infobar.js | 35 +- .../test/browser_inspector_initialization.js | 147 + .../test/browser_inspector_invalidate.js | 50 + .../test/browser_inspector_menu.js | 43 +- .../browser_inspector_pseudoClass_menu.js | 71 + .../browser_inspector_pseudoclass_lock.js | 87 +- .../test/browser_inspector_scrolling.js | 26 +- .../test/browser_inspector_sidebarstate.js | 77 + .../test/browser_inspector_tree_height.js | 0 .../{highlighter => inspector}/test/head.js | 39 +- .../test/helpers.js | 0 browser/devtools/jar.mn | 13 +- browser/devtools/layoutview/LayoutView.jsm | 368 --- browser/devtools/layoutview/Makefile.in | 3 - .../layoutview/test/browser_layoutview.js | 55 +- browser/devtools/layoutview/view.css | 4 - browser/devtools/layoutview/view.js | 248 ++ browser/devtools/layoutview/view.xhtml | 18 +- browser/devtools/markupview/MarkupView.jsm | 61 +- .../test/browser_inspector_markup_edit.js | 262 +- .../test/browser_inspector_markup_mutation.js | 28 +- .../browser_inspector_markup_navigation.html | 4 +- .../browser_inspector_markup_navigation.js | 35 +- browser/devtools/markupview/test/head.js | 6 + .../devtools/responsivedesign/CmdResize.jsm | 2 + .../responsivedesign/responsivedesign.jsm | 14 +- .../test/browser_responsivecomputedview.js | 27 +- .../test/browser_responsiveruleview.js | 27 +- .../devtools/responsivedesign/test/head.js | 21 + browser/devtools/scratchpad/CmdScratchpad.jsm | 21 + browser/devtools/scratchpad/scratchpad.js | 7 +- browser/devtools/scratchpad/scratchpad.xul | 4 - browser/devtools/shared/DeveloperToolbar.jsm | 100 +- browser/devtools/shared/EventEmitter.jsm | 25 +- .../shared/test/browser_eventemitter_basic.js | 18 +- .../shared/test/browser_toolbar_basic.js | 111 +- ...browser_toolbar_webconsole_errors_count.js | 17 +- browser/devtools/shared/test/head.js | 6 + browser/devtools/shared/test/leakhunt.js | 155 +- browser/devtools/styleeditor/StyleEditor.jsm | 137 +- .../styleeditor/StyleEditorChrome.jsm | 63 +- .../styleeditor/StyleEditorDefinition.jsm | 56 + .../devtools/styleeditor/StyleEditorPanel.jsm | 109 + browser/devtools/styleeditor/styleeditor.xul | 188 +- browser/devtools/styleeditor/test/Makefile.in | 4 +- .../test/browser_styleeditor_init.js | 8 - .../test/browser_styleeditor_loading.js | 41 +- .../test/browser_styleeditor_passedinsheet.js | 83 +- .../test/browser_styleeditor_private.js | 32 +- .../test/browser_styleeditor_reopen.js | 189 +- browser/devtools/styleeditor/test/head.js | 35 +- .../devtools/styleinspector/CssHtmlTree.jsm | 141 +- .../styleinspector/StyleInspector.jsm | 232 +- .../devtools/styleinspector/csshtmltree.xul | 15 +- .../devtools/styleinspector/cssruleview.xul | 14 +- .../devtools/styleinspector/test/Makefile.in | 12 +- .../test/browser_bug589375_keybindings.js | 47 +- .../styleinspector/test/browser_bug683672.js | 47 +- ...r_bug722196_property_view_media_queries.js | 24 +- .../test/browser_bug_692400_element_style.js | 27 +- ...r_computedview_734259_style_editor_link.js | 80 +- ...mputedview_bug_703643_context_menu_copy.js | 52 +- ...owser_ruleview_734259_style_editor_link.js | 92 +- ...r_ruleview_bug_703643_context_menu_copy.js | 74 +- .../test/browser_ruleview_focus.js | 40 +- .../test/browser_styleinspector.js | 32 +- ...styleinspector_bug_672744_search_filter.js | 54 +- ...tyleinspector_bug_672746_default_styles.js | 39 +- ...ector_bug_689759_no_results_placeholder.js | 52 +- browser/devtools/styleinspector/test/head.js | 289 +- browser/devtools/tilt/CmdTilt.jsm | 56 +- browser/devtools/tilt/Tilt.jsm | 165 +- browser/devtools/tilt/TiltVisualizer.jsm | 171 +- browser/devtools/tilt/test/Makefile.in | 1 - .../tilt/test/browser_tilt_03_tab_switch.js | 77 - .../browser_tilt_04_initialization-key.js | 82 - .../test/browser_tilt_04_initialization.js | 4 - .../test/browser_tilt_05_destruction-esc.js | 3 - .../tilt/test/browser_tilt_05_destruction.js | 2 +- .../browser_tilt_arcball-reset-typeahead.js | 2 +- .../tilt/test/browser_tilt_arcball-reset.js | 2 +- .../tilt/test/browser_tilt_picking.js | 2 +- .../tilt/test/browser_tilt_picking_delete.js | 2 +- .../browser_tilt_picking_highlight01-offs.js | 2 +- .../test/browser_tilt_picking_highlight01.js | 2 +- .../test/browser_tilt_picking_highlight02.js | 2 +- .../test/browser_tilt_picking_highlight03.js | 2 +- .../tilt/test/browser_tilt_picking_miv.js | 2 +- .../tilt/test/browser_tilt_visualizer.js | 3 +- .../devtools/tilt/test/browser_tilt_zoom.js | 10 +- browser/devtools/tilt/test/head.js | 50 +- browser/devtools/webconsole/HUDService.jsm | 567 +--- browser/devtools/webconsole/Makefile.in | 1 + .../devtools/webconsole/WebConsolePanel.jsm | 102 + browser/devtools/webconsole/test/Makefile.in | 18 +- ...wser_webconsole_bug_581231_close_button.js | 37 - ...eactivateHUDForContext_unfocused_window.js | 20 +- ...r_webconsole_bug_601909_remember_height.js | 107 - ...bconsole_bug_602572_log_bodies_checkbox.js | 2 - ...ebconsole_bug_622303_persistent_filters.js | 9 +- ...e_bug_653531_highlighter_console_helper.js | 34 +- ...owser_webconsole_bug_660806_history_nav.js | 8 +- ...owser_webconsole_bug_663443_panel_title.js | 57 - ...le_bug_782653_CSS_links_in_Style_Editor.js | 140 +- .../test/browser_webconsole_menustatus.js | 33 - .../test/browser_webconsole_position_ui.js | 207 -- .../test/browser_webconsole_window_zombie.js | 42 - browser/devtools/webconsole/test/head.js | 80 +- browser/devtools/webconsole/webconsole.js | 135 +- browser/devtools/webconsole/webconsole.xul | 25 - .../locales/en-US/chrome/browser/browser.dtd | 48 +- .../browser/devtools/connection-screen.dtd | 15 + .../browser/devtools/debugger.properties | 13 + .../chrome/browser/devtools/inspector.dtd | 10 + .../browser/devtools/inspector.properties | 32 +- .../chrome/browser/devtools/layoutview.dtd | 1 + .../chrome/browser/devtools/scratchpad.dtd | 6 - .../browser/devtools/styleeditor.properties | 12 + .../browser/devtools/styleinspector.dtd | 4 + .../devtools/styleinspector.properties | 13 - .../en-US/chrome/browser/devtools/toolbox.dtd | 7 + .../chrome/browser/devtools/webConsole.dtd | 21 - .../browser/devtools/webconsole.properties | 8 + browser/locales/jar.mn | 3 + browser/makefiles.sh | 4 +- browser/themes/gnomestripe/browser.css | 344 +-- .../devtools/command-responsivemode.png | Bin 0 -> 1083 bytes .../devtools/command-scratchpad.png | Bin 0 -> 584 bytes .../gnomestripe/devtools/command-tilt.png | Bin 0 -> 1668 bytes .../themes/gnomestripe/devtools/common.css | 59 + .../gnomestripe/devtools/dock-bottom.png | Bin 0 -> 487 bytes .../themes/gnomestripe/devtools/dock-side.png | Bin 0 -> 536 bytes .../gnomestripe/devtools/dock-window.png | Bin 0 -> 806 bytes .../themes/gnomestripe/devtools/inspector.css | 214 ++ .../devtools/layout-background.png | Bin 981 -> 0 bytes .../gnomestripe/devtools/layout-buttons.png | Bin 447 -> 0 bytes .../gnomestripe/devtools/layoutview.css | 16 +- .../themes/gnomestripe/devtools/toolbox.css | 99 + .../gnomestripe/devtools/treepanel-button.png | Bin 805 -> 0 bytes browser/themes/gnomestripe/jar.mn | 11 +- browser/themes/pinstripe/browser.css | 341 +-- .../devtools/command-responsivemode.png | Bin 0 -> 1083 bytes .../pinstripe/devtools/command-scratchpad.png | Bin 0 -> 584 bytes .../pinstripe/devtools/command-tilt.png | Bin 0 -> 1668 bytes browser/themes/pinstripe/devtools/common.css | 54 + .../themes/pinstripe/devtools/dock-bottom.png | Bin 0 -> 487 bytes .../themes/pinstripe/devtools/dock-side.png | Bin 0 -> 536 bytes .../themes/pinstripe/devtools/dock-window.png | Bin 0 -> 806 bytes .../themes/pinstripe/devtools/inspector.css | 229 ++ .../pinstripe/devtools/layout-background.png | Bin 981 -> 0 bytes .../pinstripe/devtools/layout-buttons.png | Bin 447 -> 0 bytes .../themes/pinstripe/devtools/layoutview.css | 16 +- browser/themes/pinstripe/devtools/toolbox.css | 99 + .../pinstripe/devtools/treepanel-button.png | Bin 805 -> 0 bytes browser/themes/pinstripe/jar.mn | 11 +- browser/themes/winstripe/browser.css | 343 +-- .../devtools/command-responsivemode.png | Bin 0 -> 1083 bytes .../winstripe/devtools/command-scratchpad.png | Bin 0 -> 584 bytes .../winstripe/devtools/command-tilt.png | Bin 0 -> 1668 bytes browser/themes/winstripe/devtools/common.css | 59 + .../themes/winstripe/devtools/dock-bottom.png | Bin 0 -> 487 bytes .../themes/winstripe/devtools/dock-side.png | Bin 0 -> 536 bytes .../themes/winstripe/devtools/dock-window.png | Bin 0 -> 806 bytes .../themes/winstripe/devtools/inspector.css | 218 ++ .../winstripe/devtools/layout-background.png | Bin 981 -> 0 bytes .../winstripe/devtools/layout-buttons.png | Bin 447 -> 0 bytes .../themes/winstripe/devtools/layoutview.css | 16 +- browser/themes/winstripe/devtools/toolbox.css | 103 + .../winstripe/devtools/treepanel-button.png | Bin 805 -> 0 bytes browser/themes/winstripe/jar.mn | 26 +- .../devtools/webconsole/WebConsoleUtils.jsm | 13 +- 325 files changed, 10297 insertions(+), 10105 deletions(-) create mode 100644 browser/devtools/debugger/DebuggerPanel.jsm delete mode 100644 browser/devtools/debugger/test/browser_dbg_panesize.js rename browser/devtools/{highlighter => framework}/Makefile.in (68%) create mode 100644 browser/devtools/framework/Sidebar.jsm create mode 100644 browser/devtools/framework/Target.jsm create mode 100644 browser/devtools/framework/ToolDefinitions.jsm create mode 100644 browser/devtools/framework/Toolbox.jsm create mode 100644 browser/devtools/framework/ToolboxHosts.jsm create mode 100644 browser/devtools/framework/connect/connect.css create mode 100644 browser/devtools/framework/connect/connect.js create mode 100644 browser/devtools/framework/connect/connect.xhtml create mode 100644 browser/devtools/framework/gDevTools.jsm create mode 100644 browser/devtools/framework/test/Makefile.in create mode 100644 browser/devtools/framework/test/browser_devtools_api.js create mode 100644 browser/devtools/framework/test/browser_new_activation_workflow.js create mode 100644 browser/devtools/framework/test/browser_target_events.js create mode 100644 browser/devtools/framework/test/browser_toolbox_dynamic_registration.js create mode 100644 browser/devtools/framework/test/browser_toolbox_hosts.js create mode 100644 browser/devtools/framework/test/browser_toolbox_ready.js create mode 100644 browser/devtools/framework/test/browser_toolbox_select_event.js create mode 100644 browser/devtools/framework/test/browser_toolbox_sidebar.js create mode 100644 browser/devtools/framework/test/browser_toolbox_tool_ready.js create mode 100644 browser/devtools/framework/test/head.js create mode 100644 browser/devtools/framework/toolbox-window.xul create mode 100644 browser/devtools/framework/toolbox.css create mode 100644 browser/devtools/framework/toolbox.xul delete mode 100644 browser/devtools/highlighter/CmdInspect.jsm delete mode 100644 browser/devtools/highlighter/inspector.jsm delete mode 100644 browser/devtools/highlighter/test/browser_inspector_bug_566084_location_changed.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_bug_690361.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_bug_699308_iframe_navigation.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_changes.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_highlighter_autohide.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_initialization.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_invalidate.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_keybindings.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_pseudoClass_menu.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_ruleviewstore.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_sidebarstate.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_tab_switch.js delete mode 100644 browser/devtools/highlighter/test/browser_inspector_treeSelection.js create mode 100644 browser/devtools/inspector/Breadcrumbs.jsm create mode 100644 browser/devtools/inspector/CmdInspect.jsm rename browser/devtools/{highlighter/highlighter.jsm => inspector/Highlighter.jsm} (64%) create mode 100644 browser/devtools/inspector/InspectorDefinition.jsm create mode 100644 browser/devtools/inspector/InspectorPanel.jsm create mode 100644 browser/devtools/inspector/Makefile.in create mode 100644 browser/devtools/inspector/Selection.jsm create mode 100644 browser/devtools/inspector/inspector.css create mode 100644 browser/devtools/inspector/inspector.xul rename browser/devtools/{highlighter => inspector}/test/Makefile.in (88%) rename browser/devtools/{highlighter => inspector}/test/browser_inspector_breadcrumbs.html (100%) rename browser/devtools/{highlighter => inspector}/test/browser_inspector_breadcrumbs.js (68%) create mode 100644 browser/devtools/inspector/test/browser_inspector_bug_566084_location_changed.js rename browser/devtools/{highlighter => inspector}/test/browser_inspector_bug_665880.js (52%) rename browser/devtools/{highlighter => inspector}/test/browser_inspector_bug_672902_keyboard_shortcuts.js (51%) rename browser/devtools/{highlighter => inspector}/test/browser_inspector_bug_674871.js (68%) create mode 100644 browser/devtools/inspector/test/browser_inspector_bug_699308_iframe_navigation.js create mode 100644 browser/devtools/inspector/test/browser_inspector_changes.js rename browser/devtools/{highlighter => inspector}/test/browser_inspector_cmd_inspect.html (100%) rename browser/devtools/{highlighter => inspector}/test/browser_inspector_cmd_inspect.js (97%) rename browser/devtools/{highlighter => inspector}/test/browser_inspector_destroyselection.html (100%) rename browser/devtools/{highlighter => inspector}/test/browser_inspector_destroyselection.js (55%) rename browser/devtools/{highlighter => inspector}/test/browser_inspector_highlighter.js (78%) create mode 100644 browser/devtools/inspector/test/browser_inspector_highlighter_autohide.js rename browser/devtools/{highlighter => inspector}/test/browser_inspector_iframeTest.js (72%) rename browser/devtools/{highlighter => inspector}/test/browser_inspector_infobar.js (72%) create mode 100644 browser/devtools/inspector/test/browser_inspector_initialization.js create mode 100644 browser/devtools/inspector/test/browser_inspector_invalidate.js rename browser/devtools/{highlighter => inspector}/test/browser_inspector_menu.js (62%) create mode 100644 browser/devtools/inspector/test/browser_inspector_pseudoClass_menu.js rename browser/devtools/{highlighter => inspector}/test/browser_inspector_pseudoclass_lock.js (59%) rename browser/devtools/{highlighter => inspector}/test/browser_inspector_scrolling.js (76%) create mode 100644 browser/devtools/inspector/test/browser_inspector_sidebarstate.js rename browser/devtools/{highlighter => inspector}/test/browser_inspector_tree_height.js (100%) rename browser/devtools/{highlighter => inspector}/test/head.js (64%) rename browser/devtools/{highlighter => inspector}/test/helpers.js (100%) delete mode 100644 browser/devtools/layoutview/LayoutView.jsm create mode 100644 browser/devtools/layoutview/view.js create mode 100644 browser/devtools/scratchpad/CmdScratchpad.jsm create mode 100644 browser/devtools/styleeditor/StyleEditorDefinition.jsm create mode 100644 browser/devtools/styleeditor/StyleEditorPanel.jsm delete mode 100644 browser/devtools/tilt/test/browser_tilt_04_initialization-key.js create mode 100644 browser/devtools/webconsole/WebConsolePanel.jsm delete mode 100644 browser/devtools/webconsole/test/browser_webconsole_bug_581231_close_button.js delete mode 100644 browser/devtools/webconsole/test/browser_webconsole_bug_601909_remember_height.js delete mode 100644 browser/devtools/webconsole/test/browser_webconsole_bug_663443_panel_title.js delete mode 100644 browser/devtools/webconsole/test/browser_webconsole_menustatus.js delete mode 100644 browser/devtools/webconsole/test/browser_webconsole_position_ui.js delete mode 100644 browser/devtools/webconsole/test/browser_webconsole_window_zombie.js create mode 100644 browser/locales/en-US/chrome/browser/devtools/connection-screen.dtd create mode 100644 browser/locales/en-US/chrome/browser/devtools/inspector.dtd create mode 100644 browser/locales/en-US/chrome/browser/devtools/toolbox.dtd create mode 100644 browser/themes/gnomestripe/devtools/command-responsivemode.png create mode 100644 browser/themes/gnomestripe/devtools/command-scratchpad.png create mode 100644 browser/themes/gnomestripe/devtools/command-tilt.png create mode 100644 browser/themes/gnomestripe/devtools/dock-bottom.png create mode 100644 browser/themes/gnomestripe/devtools/dock-side.png create mode 100644 browser/themes/gnomestripe/devtools/dock-window.png create mode 100644 browser/themes/gnomestripe/devtools/inspector.css delete mode 100644 browser/themes/gnomestripe/devtools/layout-background.png delete mode 100644 browser/themes/gnomestripe/devtools/layout-buttons.png create mode 100644 browser/themes/gnomestripe/devtools/toolbox.css delete mode 100644 browser/themes/gnomestripe/devtools/treepanel-button.png create mode 100644 browser/themes/pinstripe/devtools/command-responsivemode.png create mode 100644 browser/themes/pinstripe/devtools/command-scratchpad.png create mode 100644 browser/themes/pinstripe/devtools/command-tilt.png create mode 100644 browser/themes/pinstripe/devtools/dock-bottom.png create mode 100644 browser/themes/pinstripe/devtools/dock-side.png create mode 100644 browser/themes/pinstripe/devtools/dock-window.png create mode 100644 browser/themes/pinstripe/devtools/inspector.css delete mode 100644 browser/themes/pinstripe/devtools/layout-background.png delete mode 100644 browser/themes/pinstripe/devtools/layout-buttons.png create mode 100644 browser/themes/pinstripe/devtools/toolbox.css delete mode 100644 browser/themes/pinstripe/devtools/treepanel-button.png create mode 100644 browser/themes/winstripe/devtools/command-responsivemode.png create mode 100644 browser/themes/winstripe/devtools/command-scratchpad.png create mode 100644 browser/themes/winstripe/devtools/command-tilt.png create mode 100644 browser/themes/winstripe/devtools/dock-bottom.png create mode 100644 browser/themes/winstripe/devtools/dock-side.png create mode 100644 browser/themes/winstripe/devtools/dock-window.png create mode 100644 browser/themes/winstripe/devtools/inspector.css delete mode 100644 browser/themes/winstripe/devtools/layout-background.png delete mode 100644 browser/themes/winstripe/devtools/layout-buttons.png create mode 100644 browser/themes/winstripe/devtools/toolbox.css delete mode 100644 browser/themes/winstripe/devtools/treepanel-button.png diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 677e9637829..e84052b863c 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -1010,11 +1010,16 @@ pref("devtools.toolbar.visible", false); pref("devtools.gcli.allowSet", false); pref("devtools.commands.dir", ""); +// Toolbox preferences +pref("devtools.toolbox.footer.height", 250); +pref("devtools.toolbox.sidebar.width", 500); +pref("devtools.toolbox.host", "bottom"); +pref("devtools.toolbox.selectedTool", "webconsole"); +pref("devtools.toolbox.toolbarSpec", '["tilt toggle","scratchpad","resize toggle"]'); +pref("devtools.toolbox.sideEnabled", false); + // Enable the Inspector pref("devtools.inspector.enabled", true); -pref("devtools.inspector.htmlHeight", 112); -pref("devtools.inspector.htmlPanelOpen", false); -pref("devtools.inspector.sidebarOpen", false); pref("devtools.inspector.activeSidebar", "ruleview"); pref("devtools.inspector.markupPreview", false); @@ -1046,17 +1051,11 @@ pref("devtools.debugger.ui.variables-sorting-enabled", true); pref("devtools.debugger.ui.variables-non-enum-visible", true); pref("devtools.debugger.ui.variables-searchbox-visible", false); -// Enable the style inspector -pref("devtools.styleinspector.enabled", true); - // Enable the Tilt inspector pref("devtools.tilt.enabled", true); pref("devtools.tilt.intro_transition", true); pref("devtools.tilt.outro_transition", true); -// Enable the rules view -pref("devtools.ruleview.enabled", true); - // Enable the Scratchpad tool. pref("devtools.scratchpad.enabled", true); @@ -1081,17 +1080,6 @@ pref("devtools.gcli.eagerHelper", 2); // Do we allow the 'pref set' command pref("devtools.gcli.allowSet", false); -// The last Web Console height. This is initially 0 which means that the Web -// Console will use the default height next time it shows. -// Change to -1 if you do not want the Web Console to remember its last height. -pref("devtools.hud.height", 0); - -// Remember the Web Console position. Possible values: -// above - above the web page, -// below - below the web page, -// window - in a separate window/popup panel. -pref("devtools.webconsole.position", "below"); - // Remember the Web Console filters pref("devtools.webconsole.filter.network", true); pref("devtools.webconsole.filter.networkinfo", true); diff --git a/browser/base/content/browser-appmenu.inc b/browser/base/content/browser-appmenu.inc index a195f180838..479b542941d 100644 --- a/browser/base/content/browser-appmenu.inc +++ b/browser/base/content/browser-appmenu.inc @@ -150,20 +150,27 @@ - - - - - - - - - - - - + + + + + + + + + + - + #define ID_PREFIX appmenu_developer_ #define OMIT_ACCESSKEYS diff --git a/browser/base/content/browser-doctype.inc b/browser/base/content/browser-doctype.inc index 17c1e45f982..cacd4d3a58c 100644 --- a/browser/base/content/browser-doctype.inc +++ b/browser/base/content/browser-doctype.inc @@ -19,7 +19,5 @@ #endif %aboutHomeDTD; - -%debuggerDTD; ]> diff --git a/browser/base/content/browser-menubar.inc b/browser/base/content/browser-menubar.inc index a57e55c7ff7..3c968849df1 100644 --- a/browser/base/content/browser-menubar.inc +++ b/browser/base/content/browser-menubar.inc @@ -557,20 +557,34 @@ label="&webDeveloperMenu.label;" accesskey="&webDeveloperMenu.accesskey;"> - - - - - - - - - - - - + + + + + + + + + + - + +