gecko/browser/devtools/webconsole/test/head.js
Ed Morley f9869b4f92 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

186 lines
4.9 KiB
JavaScript

/* vim:set ts=2 sw=2 sts=2 et: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is DevTools test code.
*
* The Initial Developer of the Original Code is Mozilla Foundation.
* Portions created by the Initial Developer are Copyright (C) 2010
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* David Dahl <ddahl@mozilla.com>
* Mihai Șucan <mihai.sucan@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
Cu.import("resource:///modules/HUDService.jsm");
function log(aMsg)
{
dump("*** WebConsoleTest: " + aMsg + "\n");
}
function pprint(aObj)
{
for (let prop in aObj) {
if (typeof aObj[prop] == "function") {
log("function " + prop);
}
else {
log(prop + ": " + aObj[prop]);
}
}
}
let tab, browser, hudId, hud, hudBox, filterBox, outputNode, cs;
function addTab(aURL)
{
gBrowser.selectedTab = gBrowser.addTab();
content.location = aURL;
tab = gBrowser.selectedTab;
browser = gBrowser.getBrowserForTab(tab);
}
function afterAllTabsLoaded(callback, win) {
win = win || window;
let stillToLoad = 0;
function onLoad() {
this.removeEventListener("load", onLoad, true);
stillToLoad--;
if (!stillToLoad)
callback();
}
for (let a = 0; a < win.gBrowser.tabs.length; a++) {
let browser = win.gBrowser.tabs[a].linkedBrowser;
if (browser.contentDocument.readyState != "complete") {
stillToLoad++;
browser.addEventListener("load", onLoad, true);
}
}
if (!stillToLoad)
callback();
}
/**
* Check if a log entry exists in the HUD output node.
*
* @param {Element} aOutputNode
* the HUD output node.
* @param {string} aMatchString
* the string you want to check if it exists in the output node.
* @param {string} aMsg
* the message describing the test
* @param {boolean} [aOnlyVisible=false]
* find only messages that are visible, not hidden by the filter.
* @param {boolean} [aFailIfFound=false]
* fail the test if the string is found in the output node.
* @param {string} aClass [optional]
* find only messages with the given CSS class.
*/
function testLogEntry(aOutputNode, aMatchString, aMsg, aOnlyVisible,
aFailIfFound, aClass)
{
let selector = ".hud-msg-node";
// Skip entries that are hidden by the filter.
if (aOnlyVisible) {
selector += ":not(.hud-filtered-by-type)";
}
if (aClass) {
selector += "." + aClass;
}
let msgs = aOutputNode.querySelectorAll(selector);
let found = false;
for (let i = 0, n = msgs.length; i < n; i++) {
let message = msgs[i].textContent.indexOf(aMatchString);
if (message > -1) {
found = true;
break;
}
// Search the labels too.
let labels = msgs[i].querySelectorAll("label");
for (let j = 0; j < labels.length; j++) {
if (labels[j].getAttribute("value").indexOf(aMatchString) > -1) {
found = true;
break;
}
}
}
is(found, !aFailIfFound, aMsg);
}
/**
* A convenience method to call testLogEntry().
*
* @param string aString
* The string to find.
*/
function findLogEntry(aString)
{
testLogEntry(outputNode, aString, "found " + aString);
}
function openConsole()
{
HUDService.activateHUDForContext(tab);
}
function closeConsole()
{
HUDService.deactivateHUDForContext(tab);
}
function finishTest()
{
finish();
}
function tearDown()
{
try {
HUDService.deactivateHUDForContext(gBrowser.selectedTab);
}
catch (ex) {
log(ex);
}
while (gBrowser.tabs.length > 1) {
gBrowser.removeCurrentTab();
}
tab = browser = hudId = hud = filterBox = outputNode = cs = null;
}
registerCleanupFunction(tearDown);
waitForExplicitFinish();