gecko/browser/devtools/webconsole/test/browser_webconsole_position_ui.js
Ed Morley d3cae43a4a Bug 692625 - Move browser/devtools/webconsole/test/browser/ to browser/devtools/webconsole/test/; r=rcampbell
--HG--
rename : browser/devtools/webconsole/test/browser/Makefile.in => browser/devtools/webconsole/test/Makefile.in
rename : browser/devtools/webconsole/test/browser/browser_gcli_inspect.html => browser/devtools/webconsole/test/browser_gcli_inspect.html
rename : browser/devtools/webconsole/test/browser/browser_gcli_inspect.js => browser/devtools/webconsole/test/browser_gcli_inspect.js
rename : browser/devtools/webconsole/test/browser/browser_gcli_integrate.js => browser/devtools/webconsole/test/browser_gcli_integrate.js
rename : browser/devtools/webconsole/test/browser/browser_gcli_require.js => browser/devtools/webconsole/test/browser_gcli_require.js
rename : browser/devtools/webconsole/test/browser/browser_gcli_web.js => browser/devtools/webconsole/test/browser_gcli_web.js
rename : browser/devtools/webconsole/test/browser/browser_warn_user_about_replaced_api.js => browser/devtools/webconsole/test/browser_warn_user_about_replaced_api.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_abbreviate_source_url.js => browser/devtools/webconsole/test/browser_webconsole_abbreviate_source_url.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_basic_net_logging.js => browser/devtools/webconsole/test/browser_webconsole_basic_net_logging.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_578437_page_reload.js => browser/devtools/webconsole/test/browser_webconsole_bug_578437_page_reload.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_579412_input_focus.js => browser/devtools/webconsole/test/browser_webconsole_bug_579412_input_focus.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_580001_closing_after_completion.js => browser/devtools/webconsole/test/browser_webconsole_bug_580001_closing_after_completion.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_580030_errors_after_page_reload.js => browser/devtools/webconsole/test/browser_webconsole_bug_580030_errors_after_page_reload.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_580400_groups.js => browser/devtools/webconsole/test/browser_webconsole_bug_580400_groups.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_580454_timestamp_l10n.js => browser/devtools/webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_581231_close_button.js => browser/devtools/webconsole/test/browser_webconsole_bug_581231_close_button.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_582201_duplicate_errors.js => browser/devtools/webconsole/test/browser_webconsole_bug_582201_duplicate_errors.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_583816_tab_focus.js => browser/devtools/webconsole/test/browser_webconsole_bug_583816_tab_focus.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_585237_line_limit.js => browser/devtools/webconsole/test/browser_webconsole_bug_585237_line_limit.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_585956_console_trace.js => browser/devtools/webconsole/test/browser_webconsole_bug_585956_console_trace.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_585991_autocomplete_keys.js => browser/devtools/webconsole/test/browser_webconsole_bug_585991_autocomplete_keys.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_585991_autocomplete_popup.js => browser/devtools/webconsole/test/browser_webconsole_bug_585991_autocomplete_popup.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_586388_select_all.js => browser/devtools/webconsole/test/browser_webconsole_bug_586388_select_all.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_587617_output_copy.js => browser/devtools/webconsole/test/browser_webconsole_bug_587617_output_copy.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_588342_document_focus.js => browser/devtools/webconsole/test/browser_webconsole_bug_588342_document_focus.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_588730_text_node_insertion.js => browser/devtools/webconsole/test/browser_webconsole_bug_588730_text_node_insertion.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_588967_input_expansion.js => browser/devtools/webconsole/test/browser_webconsole_bug_588967_input_expansion.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_589162_css_filter.js => browser/devtools/webconsole/test/browser_webconsole_bug_589162_css_filter.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_592442_closing_brackets.js => browser/devtools/webconsole/test/browser_webconsole_bug_592442_closing_brackets.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_593003_iframe_wrong_hud.js => browser/devtools/webconsole/test/browser_webconsole_bug_593003_iframe_wrong_hud.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_594477_clickable_output.js => browser/devtools/webconsole/test/browser_webconsole_bug_594477_clickable_output.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_594497_history_arrow_keys.js => browser/devtools/webconsole/test/browser_webconsole_bug_594497_history_arrow_keys.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_595223_file_uri.js => browser/devtools/webconsole/test/browser_webconsole_bug_595223_file_uri.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_595350_multiple_windows_and_tabs.js => browser/devtools/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_595934_message_categories.js => browser/devtools/webconsole/test/browser_webconsole_bug_595934_message_categories.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js => browser/devtools/webconsole/test/browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_597136_external_script_errors.js => browser/devtools/webconsole/test/browser_webconsole_bug_597136_external_script_errors.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_597136_network_requests_from_chrome.js => browser/devtools/webconsole/test/browser_webconsole_bug_597136_network_requests_from_chrome.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_597460_filter_scroll.js => browser/devtools/webconsole/test/browser_webconsole_bug_597460_filter_scroll.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_597756_reopen_closed_tab.js => browser/devtools/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_598357_jsterm_output.js => browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_599725_response_headers.js => browser/devtools/webconsole/test/browser_webconsole_bug_599725_response_headers.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_600183_charset.js => browser/devtools/webconsole/test/browser_webconsole_bug_600183_charset.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_601177_log_levels.js => browser/devtools/webconsole/test/browser_webconsole_bug_601177_log_levels.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_601352_scroll.js => browser/devtools/webconsole/test/browser_webconsole_bug_601352_scroll.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_601667_filter_buttons.js => browser/devtools/webconsole/test/browser_webconsole_bug_601667_filter_buttons.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_601909_remember_height.js => browser/devtools/webconsole/test/browser_webconsole_bug_601909_remember_height.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_602572_log_bodies_checkbox.js => browser/devtools/webconsole/test/browser_webconsole_bug_602572_log_bodies_checkbox.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_603750_websocket.js => browser/devtools/webconsole/test/browser_webconsole_bug_603750_websocket.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_611795.js => browser/devtools/webconsole/test/browser_webconsole_bug_611795.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_613013_console_api_iframe.js => browser/devtools/webconsole/test/browser_webconsole_bug_613013_console_api_iframe.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_613280_jsterm_copy.js => browser/devtools/webconsole/test/browser_webconsole_bug_613280_jsterm_copy.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_613642_maintain_scroll.js => browser/devtools/webconsole/test/browser_webconsole_bug_613642_maintain_scroll.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_613642_prune_scroll.js => browser/devtools/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_614793_jsterm_scroll.js => browser/devtools/webconsole/test/browser_webconsole_bug_614793_jsterm_scroll.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_618078_network_exceptions.js => browser/devtools/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_618311_close_panels.js => browser/devtools/webconsole/test/browser_webconsole_bug_618311_close_panels.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_618311_private_browsing.js => browser/devtools/webconsole/test/browser_webconsole_bug_618311_private_browsing.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_621644_jsterm_dollar.js => browser/devtools/webconsole/test/browser_webconsole_bug_621644_jsterm_dollar.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_622303_persistent_filters.js => browser/devtools/webconsole/test/browser_webconsole_bug_622303_persistent_filters.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_626484_output_copy_order.js => browser/devtools/webconsole/test/browser_webconsole_bug_626484_output_copy_order.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_630733_response_redirect_headers.js => browser/devtools/webconsole/test/browser_webconsole_bug_630733_response_redirect_headers.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_632275_getters_document_width.js => browser/devtools/webconsole/test/browser_webconsole_bug_632275_getters_document_width.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_632347_iterators_generators.js => browser/devtools/webconsole/test/browser_webconsole_bug_632347_iterators_generators.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_632817.js => browser/devtools/webconsole/test/browser_webconsole_bug_632817.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_642108_pruneTest.js => browser/devtools/webconsole/test/browser_webconsole_bug_642108_pruneTest.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_642615_autocomplete.js => browser/devtools/webconsole/test/browser_webconsole_bug_642615_autocomplete.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_644419_log_limits.js => browser/devtools/webconsole/test/browser_webconsole_bug_644419_log_limits.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_646025_console_file_location.js => browser/devtools/webconsole/test/browser_webconsole_bug_646025_console_file_location.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_651501_document_body_autocomplete.js => browser/devtools/webconsole/test/browser_webconsole_bug_651501_document_body_autocomplete.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_653531_highlighter_console_helper.js => browser/devtools/webconsole/test/browser_webconsole_bug_653531_highlighter_console_helper.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_658368_time_methods.js => browser/devtools/webconsole/test/browser_webconsole_bug_658368_time_methods.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_659907_console_dir.js => browser/devtools/webconsole/test/browser_webconsole_bug_659907_console_dir.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_660806_history_nav.js => browser/devtools/webconsole/test/browser_webconsole_bug_660806_history_nav.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_663443_panel_title.js => browser/devtools/webconsole/test/browser_webconsole_bug_663443_panel_title.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_664131_console_group.js => browser/devtools/webconsole/test/browser_webconsole_bug_664131_console_group.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_678816.js => browser/devtools/webconsole/test/browser_webconsole_bug_678816.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_bug_704295.js => browser/devtools/webconsole/test/browser_webconsole_bug_704295.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_chrome.js => browser/devtools/webconsole/test/browser_webconsole_chrome.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_completion.js => browser/devtools/webconsole/test/browser_webconsole_completion.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_console_extras.js => browser/devtools/webconsole/test/browser_webconsole_console_extras.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_console_logging_api.js => browser/devtools/webconsole/test/browser_webconsole_console_logging_api.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_consoleonpage.js => browser/devtools/webconsole/test/browser_webconsole_consoleonpage.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_copying_multiple_messages_inserts_newlines_in_between.js => browser/devtools/webconsole/test/browser_webconsole_copying_multiple_messages_inserts_newlines_in_between.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_execution_scope.js => browser/devtools/webconsole/test/browser_webconsole_execution_scope.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_history.js => browser/devtools/webconsole/test/browser_webconsole_history.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_hud_getters.js => browser/devtools/webconsole/test/browser_webconsole_hud_getters.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_js_input_and_output_styling.js => browser/devtools/webconsole/test/browser_webconsole_js_input_and_output_styling.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_js_input_expansion.js => browser/devtools/webconsole/test/browser_webconsole_js_input_expansion.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_jsterm.js => browser/devtools/webconsole/test/browser_webconsole_jsterm.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_live_filtering_of_message_types.js => browser/devtools/webconsole/test/browser_webconsole_live_filtering_of_message_types.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_live_filtering_on_search_strings.js => browser/devtools/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_log_node_classes.js => browser/devtools/webconsole/test/browser_webconsole_log_node_classes.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_message_node_id.js => browser/devtools/webconsole/test/browser_webconsole_message_node_id.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_netlogging.js => browser/devtools/webconsole/test/browser_webconsole_netlogging.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_network_panel.js => browser/devtools/webconsole/test/browser_webconsole_network_panel.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_notifications.js => browser/devtools/webconsole/test/browser_webconsole_notifications.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_null_and_undefined_output.js => browser/devtools/webconsole/test/browser_webconsole_null_and_undefined_output.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_output_order.js => browser/devtools/webconsole/test/browser_webconsole_output_order.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_position_ui.js => browser/devtools/webconsole/test/browser_webconsole_position_ui.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_property_panel.js => browser/devtools/webconsole/test/browser_webconsole_property_panel.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_property_provider.js => browser/devtools/webconsole/test/browser_webconsole_property_provider.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_registries.js => browser/devtools/webconsole/test/browser_webconsole_registries.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_view_source.js => browser/devtools/webconsole/test/browser_webconsole_view_source.js
rename : browser/devtools/webconsole/test/browser/browser_webconsole_window_zombie.js => browser/devtools/webconsole/test/browser_webconsole_window_zombie.js
rename : browser/devtools/webconsole/test/browser/head.js => browser/devtools/webconsole/test/head.js
rename : browser/devtools/webconsole/test/browser/test-bug-585956-console-trace.html => browser/devtools/webconsole/test/test-bug-585956-console-trace.html
rename : browser/devtools/webconsole/test/browser/test-bug-593003-iframe-wrong-hud-iframe.html => browser/devtools/webconsole/test/test-bug-593003-iframe-wrong-hud-iframe.html
rename : browser/devtools/webconsole/test/browser/test-bug-593003-iframe-wrong-hud.html => browser/devtools/webconsole/test/test-bug-593003-iframe-wrong-hud.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-canvas-css.html => browser/devtools/webconsole/test/test-bug-595934-canvas-css.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-canvas-css.js => browser/devtools/webconsole/test/test-bug-595934-canvas-css.js
rename : browser/devtools/webconsole/test/browser/test-bug-595934-canvas.html => browser/devtools/webconsole/test/test-bug-595934-canvas.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-canvas.js => browser/devtools/webconsole/test/test-bug-595934-canvas.js
rename : browser/devtools/webconsole/test/browser/test-bug-595934-css-loader.css => browser/devtools/webconsole/test/test-bug-595934-css-loader.css
rename : browser/devtools/webconsole/test/browser/test-bug-595934-css-loader.css^headers^ => browser/devtools/webconsole/test/test-bug-595934-css-loader.css^headers^
rename : browser/devtools/webconsole/test/browser/test-bug-595934-css-loader.html => browser/devtools/webconsole/test/test-bug-595934-css-loader.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-css-parser.css => browser/devtools/webconsole/test/test-bug-595934-css-parser.css
rename : browser/devtools/webconsole/test/browser/test-bug-595934-css-parser.html => browser/devtools/webconsole/test/test-bug-595934-css-parser.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-dom-events-external2.html => browser/devtools/webconsole/test/test-bug-595934-dom-events-external2.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-dom-events-external2.js => browser/devtools/webconsole/test/test-bug-595934-dom-events-external2.js
rename : browser/devtools/webconsole/test/browser/test-bug-595934-dom-events.html => browser/devtools/webconsole/test/test-bug-595934-dom-events.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-dom-html-external.html => browser/devtools/webconsole/test/test-bug-595934-dom-html-external.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-dom-html-external.js => browser/devtools/webconsole/test/test-bug-595934-dom-html-external.js
rename : browser/devtools/webconsole/test/browser/test-bug-595934-dom-html.html => browser/devtools/webconsole/test/test-bug-595934-dom-html.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-empty-getelementbyid.html => browser/devtools/webconsole/test/test-bug-595934-empty-getelementbyid.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-empty-getelementbyid.js => browser/devtools/webconsole/test/test-bug-595934-empty-getelementbyid.js
rename : browser/devtools/webconsole/test/browser/test-bug-595934-html.html => browser/devtools/webconsole/test/test-bug-595934-html.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-image.html => browser/devtools/webconsole/test/test-bug-595934-image.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-image.jpg => browser/devtools/webconsole/test/test-bug-595934-image.jpg
rename : browser/devtools/webconsole/test/browser/test-bug-595934-imagemap.html => browser/devtools/webconsole/test/test-bug-595934-imagemap.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-malformedxml-external.html => browser/devtools/webconsole/test/test-bug-595934-malformedxml-external.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-malformedxml-external.xml => browser/devtools/webconsole/test/test-bug-595934-malformedxml-external.xml
rename : browser/devtools/webconsole/test/browser/test-bug-595934-malformedxml.xhtml => browser/devtools/webconsole/test/test-bug-595934-malformedxml.xhtml
rename : browser/devtools/webconsole/test/browser/test-bug-595934-svg.xhtml => browser/devtools/webconsole/test/test-bug-595934-svg.xhtml
rename : browser/devtools/webconsole/test/browser/test-bug-595934-workers.html => browser/devtools/webconsole/test/test-bug-595934-workers.html
rename : browser/devtools/webconsole/test/browser/test-bug-595934-workers.js => browser/devtools/webconsole/test/test-bug-595934-workers.js
rename : browser/devtools/webconsole/test/browser/test-bug-597136-external-script-errors.html => browser/devtools/webconsole/test/test-bug-597136-external-script-errors.html
rename : browser/devtools/webconsole/test/browser/test-bug-597136-external-script-errors.js => browser/devtools/webconsole/test/test-bug-597136-external-script-errors.js
rename : browser/devtools/webconsole/test/browser/test-bug-597756-reopen-closed-tab.html => browser/devtools/webconsole/test/test-bug-597756-reopen-closed-tab.html
rename : browser/devtools/webconsole/test/browser/test-bug-599725-response-headers.sjs => browser/devtools/webconsole/test/test-bug-599725-response-headers.sjs
rename : browser/devtools/webconsole/test/browser/test-bug-600183-charset.html => browser/devtools/webconsole/test/test-bug-600183-charset.html
rename : browser/devtools/webconsole/test/browser/test-bug-600183-charset.html^headers^ => browser/devtools/webconsole/test/test-bug-600183-charset.html^headers^
rename : browser/devtools/webconsole/test/browser/test-bug-601177-log-levels.html => browser/devtools/webconsole/test/test-bug-601177-log-levels.html
rename : browser/devtools/webconsole/test/browser/test-bug-601177-log-levels.js => browser/devtools/webconsole/test/test-bug-601177-log-levels.js
rename : browser/devtools/webconsole/test/browser/test-bug-603750-websocket.html => browser/devtools/webconsole/test/test-bug-603750-websocket.html
rename : browser/devtools/webconsole/test/browser/test-bug-603750-websocket.js => browser/devtools/webconsole/test/test-bug-603750-websocket.js
rename : browser/devtools/webconsole/test/browser/test-bug-613013-console-api-iframe.html => browser/devtools/webconsole/test/test-bug-613013-console-api-iframe.html
rename : browser/devtools/webconsole/test/browser/test-bug-618078-network-exceptions.html => browser/devtools/webconsole/test/test-bug-618078-network-exceptions.html
rename : browser/devtools/webconsole/test/browser/test-bug-621644-jsterm-dollar.html => browser/devtools/webconsole/test/test-bug-621644-jsterm-dollar.html
rename : browser/devtools/webconsole/test/browser/test-bug-630733-response-redirect-headers.sjs => browser/devtools/webconsole/test/test-bug-630733-response-redirect-headers.sjs
rename : browser/devtools/webconsole/test/browser/test-bug-632275-getters.html => browser/devtools/webconsole/test/test-bug-632275-getters.html
rename : browser/devtools/webconsole/test/browser/test-bug-632347-iterators-generators.html => browser/devtools/webconsole/test/test-bug-632347-iterators-generators.html
rename : browser/devtools/webconsole/test/browser/test-bug-644419-log-limits.html => browser/devtools/webconsole/test/test-bug-644419-log-limits.html
rename : browser/devtools/webconsole/test/browser/test-bug-646025-console-file-location.html => browser/devtools/webconsole/test/test-bug-646025-console-file-location.html
rename : browser/devtools/webconsole/test/browser/test-bug-658368-time-methods.html => browser/devtools/webconsole/test/test-bug-658368-time-methods.html
rename : browser/devtools/webconsole/test/browser/test-bug-678816-content.js => browser/devtools/webconsole/test/test-bug-678816-content.js
rename : browser/devtools/webconsole/test/browser/test-console-extras.html => browser/devtools/webconsole/test/test-console-extras.html
rename : browser/devtools/webconsole/test/browser/test-console-replaced-api.html => browser/devtools/webconsole/test/test-console-replaced-api.html
rename : browser/devtools/webconsole/test/browser/test-console.html => browser/devtools/webconsole/test/test-console.html
rename : browser/devtools/webconsole/test/browser/test-data.json => browser/devtools/webconsole/test/test-data.json
rename : browser/devtools/webconsole/test/browser/test-duplicate-error.html => browser/devtools/webconsole/test/test-duplicate-error.html
rename : browser/devtools/webconsole/test/browser/test-encoding-ISO-8859-1.html => browser/devtools/webconsole/test/test-encoding-ISO-8859-1.html
rename : browser/devtools/webconsole/test/browser/test-error.html => browser/devtools/webconsole/test/test-error.html
rename : browser/devtools/webconsole/test/browser/test-file-location.js => browser/devtools/webconsole/test/test-file-location.js
rename : browser/devtools/webconsole/test/browser/test-filter.html => browser/devtools/webconsole/test/test-filter.html
rename : browser/devtools/webconsole/test/browser/test-image.png => browser/devtools/webconsole/test/test-image.png
rename : browser/devtools/webconsole/test/browser/test-mutation.html => browser/devtools/webconsole/test/test-mutation.html
rename : browser/devtools/webconsole/test/browser/test-network-request.html => browser/devtools/webconsole/test/test-network-request.html
rename : browser/devtools/webconsole/test/browser/test-network.html => browser/devtools/webconsole/test/test-network.html
rename : browser/devtools/webconsole/test/browser/test-observe-http-ajax.html => browser/devtools/webconsole/test/test-observe-http-ajax.html
rename : browser/devtools/webconsole/test/browser/test-own-console.html => browser/devtools/webconsole/test/test-own-console.html
rename : browser/devtools/webconsole/test/browser/test-property-provider.html => browser/devtools/webconsole/test/test-property-provider.html
rename : browser/devtools/webconsole/test/browser/testscript.js => browser/devtools/webconsole/test/testscript.js
2011-12-16 09:11:23 +00:00

175 lines
6.0 KiB
JavaScript

/* vim:set ts=2 sw=2 sts=2 et: */
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
const TEST_URI = "data:text/html,<p>test for bug 577721";
const POSITION_PREF = "devtools.webconsole.position";
const TOP_PREF = "devtools.webconsole.top";
const LEFT_PREF = "devtools.webconsole.left";
const WIDTH_PREF = "devtools.webconsole.width";
const HEIGHT_PREF = "devtools.hud.height";
function test() {
addTab(TEST_URI);
browser.addEventListener("DOMContentLoaded", onLoad, false);
registerCleanupFunction(testEnd);
}
function testEnd() {
Services.prefs.clearUserPref(POSITION_PREF);
Services.prefs.clearUserPref(WIDTH_PREF);
Services.prefs.clearUserPref(HEIGHT_PREF);
Services.prefs.clearUserPref(TOP_PREF);
Services.prefs.clearUserPref(LEFT_PREF);
}
function onLoad() {
browser.removeEventListener("DOMContentLoaded", onLoad, false);
openConsole();
testMenuitems();
let hudId = HUDService.getHudIdByWindow(content);
let hudRef = HUDService.hudReferences[hudId];
let hudBox = hudRef.HUDBox;
is(hudBox.parentNode.childNodes[0].getAttribute("id"), hudId,
"initial console position is correct");
is(hudRef.positionMenuitems.above.getAttribute("checked"), "true",
"position menu checkbox is above");
is(Services.prefs.getCharPref(POSITION_PREF), "above", "pref is above");
hudRef.positionConsole("below");
let id = hudBox.parentNode.childNodes[2].getAttribute("id");
is(id, hudId, "below position is correct");
is(hudRef.positionMenuitems.below.getAttribute("checked"), "true",
"position menu checkbox is below");
is(Services.prefs.getCharPref(POSITION_PREF), "below", "pref is below");
// listen for the panel popupshown event.
document.addEventListener("popupshown", function popupShown() {
document.removeEventListener("popupshown", popupShown, false);
document.addEventListener("popuphidden", function popupHidden() {
document.removeEventListener("popuphidden", popupHidden, false);
id = hudBox.parentNode.childNodes[2].getAttribute("id");
is(id, hudId, "below position is correct after reopen");
diffHeight = Math.abs(hudBox.clientHeight - boxHeight);
// dump("Diffheight: " + diffHeight + " clientHeight: " + hudBox.clientHeight + " boxHeight: " + boxHeight + "\n");
// XXX TODO bug 702707
todo(diffHeight < 3, "hudBox height is still correct");
is(Services.prefs.getCharPref(POSITION_PREF), "below", "pref is below");
// following three disabled due to bug 674562
// is(Services.prefs.getIntPref(WIDTH_PREF), panelWidth, "width pref updated - bug 674562");
// isnot(Services.prefs.getIntPref(TOP_PREF), 50, "top location pref updated - bug 674562");
// isnot(Services.prefs.getIntPref(LEFT_PREF), 51, "left location pref updated - bug 674562");
// Close the window console via the toolbar button
let btn = hudBox.querySelector(".webconsole-close-button");
EventUtils.sendMouseEvent({ type: "click" }, btn);
openConsole();
hudId = HUDService.getHudIdByWindow(content);
hudRef = HUDService.hudReferences[hudId];
hudBox = hudRef.HUDBox;
id = hudBox.parentNode.childNodes[2].getAttribute("id");
is(id, hudId, "below position is correct after another reopen");
is(hudRef.positionMenuitems.below.getAttribute("checked"), "true",
"position menu checkbox is below");
finishTest();
}, false);
let diffHeight = Math.abs(hudBox.clientHeight - boxHeight);
ok(diffHeight < 8, "hudBox height is correct");
let consolePanel = hudRef.consolePanel;
is(consolePanel.getAttribute("width"), panelWidth, "panel width is correct");
is(consolePanel.getAttribute("top"), 50, "panel top position is correct");
is(consolePanel.getAttribute("left"), 51, "panel left position is correct");
let panelHeight = parseInt(consolePanel.getAttribute("height"));
let boxWidth = hudBox.clientWidth;
boxHeight = hudBox.clientHeight;
hudRef.consolePanel.sizeTo(panelWidth - 15, panelHeight - 13);
let popupBoxObject = consolePanel.popupBoxObject;
let screenX = popupBoxObject.screenX;
let screenY = popupBoxObject.screenY;
consolePanel.moveTo(screenX - 11, screenY - 13);
isnot(hudBox.clientWidth, boxWidth, "hudBox width was updated");
isnot(hudBox.clientHeight, boxHeight, "hudBox height was updated");
isnot(popupBoxObject.screenX, screenX, "panel screenX was updated");
isnot(popupBoxObject.screenY, screenY, "panel screenY was updated");
panelWidth = consolePanel.clientWidth;
boxHeight = hudBox.clientHeight;
executeSoon(function() {
hudRef.positionConsole("below");
});
}, false);
let boxHeight = content.innerHeight * 0.5;
let panelWidth = content.innerWidth * 0.5;
hudBox.style.height = boxHeight + "px";
boxHeight = hudBox.clientHeight;
Services.prefs.setIntPref(WIDTH_PREF, panelWidth);
Services.prefs.setIntPref(TOP_PREF, 50);
Services.prefs.setIntPref(LEFT_PREF, 51);
hudRef.positionConsole("window");
id = hudBox.parentNode.getAttribute("id");
is(id, "console_window_" + hudId, "window position is correct");
is(Services.prefs.getCharPref(POSITION_PREF), "window", "pref is window");
}
function testMenuitems() {
let hudId = HUDService.getHudIdByWindow(content);
let hudRef = HUDService.hudReferences[hudId];
let hudBox = hudRef.HUDBox;
let positionConsole = hudRef.positionConsole;
is(typeof positionConsole, "function", "positionConsole() is available");
let param = null;
hudRef.positionConsole = function(aPosition) {
param = aPosition;
};
// Make sure the menuitems call the correct method.
hudRef.positionMenuitems.above.doCommand();
is(param, "above", "menuitem for above positioning calls positionConsole() correctly");
hudRef.positionMenuitems.below.doCommand();
is(param, "below", "menuitem for below positioning calls positionConsole() correctly");
hudRef.positionMenuitems.window.doCommand();
is(param, "window", "menuitem for window positioning calls positionConsole() correctly");
hudRef.positionConsole = positionConsole;
}