From a2591149b3c38dc35b6a4a35e051b9c7745e5c16 Mon Sep 17 00:00:00 2001 From: Lin Clark Date: Mon, 25 Jan 2016 11:19:39 -0800 Subject: [PATCH] Bug 1241956 - Use standard license boilerplate in webconsole test files. r=bgrins --HG-- extra : commitid : DOpXtp0hhAg --- ..._console_csp_ignore_reflected_xss_message.js | 17 +++++++---------- ...bug664688_sandbox_update_after_navigation.js | 3 ++- .../browser_bug_638949_copy_link_location.js | 3 ++- ...ser_bug_862916_console_dir_and_filter_off.js | 9 +++++---- ...owser_bug_865288_repeat_different_objects.js | 9 +++++---- ...ug_865871_variables_view_close_on_esc_key.js | 9 +++++---- ...er_bug_869003_inspect_cross_domain_object.js | 9 +++++---- .../test/browser_bug_871156_ctrlw_close_tab.js | 9 +++++---- .../webconsole/test/browser_cached_messages.js | 3 ++- .../client/webconsole/test/browser_console.js | 9 +++++---- ...browser_console_addonsdk_loader_exception.js | 9 +++++---- .../test/browser_console_clear_on_reload.js | 9 +++++---- .../test/browser_console_click_focus.js | 3 ++- .../test/browser_console_consolejsm_output.js | 9 +++++---- .../test/browser_console_copy_command.js | 1 + ..._console_copy_entire_message_context_menu.js | 7 +++++-- .../test/browser_console_dead_objects.js | 9 +++++---- .../test/browser_console_error_source_click.js | 9 +++++---- .../webconsole/test/browser_console_filters.js | 9 +++++---- ...jsterm_when_devtools_chrome_enabled_false.js | 11 ++++++----- .../test/browser_console_history_persist.js | 3 ++- .../test/browser_console_iframe_messages.js | 9 +++++---- .../browser_console_keyboard_accessibility.js | 9 +++++---- .../browser_console_log_inspectable_object.js | 8 +++++--- .../test/browser_console_native_getters.js | 9 +++++---- .../test/browser_console_navigation_marker.js | 9 +++++---- .../test/browser_console_netlogging.js | 3 ++- .../test/browser_console_nsiconsolemessage.js | 9 +++++---- .../test/browser_console_open_or_focus.js | 9 +++++---- .../test/browser_console_optimized_out_vars.js | 7 +++++-- .../test/browser_console_private_browsing.js | 9 +++++---- .../test/browser_console_server_logging.js | 3 ++- .../test/browser_console_variables_view.js | 9 +++++---- .../browser_console_variables_view_dom_nodes.js | 14 ++++++++------ ...dont_sort_non_sortable_classes_properties.js | 9 +++++---- .../browser_console_variables_view_filter.js | 9 +++++---- ...rowser_console_variables_view_highlighter.js | 9 +++++---- ...wser_console_variables_view_special_names.js | 9 +++++---- ...er_console_variables_view_while_debugging.js | 9 +++++---- ...ables_view_while_debugging_and_inspecting.js | 9 +++++---- .../test/browser_eval_in_debugger_stackframe.js | 9 +++++---- .../browser_eval_in_debugger_stackframe2.js | 9 +++++---- .../webconsole/test/browser_jsterm_inspect.js | 9 +++++---- .../webconsole/test/browser_longstring_hang.js | 8 +++++--- ...owser_netmonitor_shows_reqs_in_webconsole.js | 9 +++++---- ...ut_breaks_after_console_dir_uninspectable.js | 8 +++++--- .../test/browser_output_longstring_expand.js | 8 +++++--- .../test/browser_repeated_messages_accuracy.js | 10 +++++----- .../test/browser_result_format_as_string.js | 8 +++++--- .../browser_warn_user_about_replaced_api.js | 3 ++- .../browser_webconsole_abbreviate_source_url.js | 7 +++++-- ...console_allow_mixedcontent_securityerrors.js | 7 +++++-- .../test/browser_webconsole_assert.js | 8 +++++--- ...te-properties-with-non-alphanumeric-names.js | 10 +++++----- ...owser_webconsole_autocomplete_and_selfxss.js | 8 +++++--- ...ebconsole_autocomplete_crossdomain_iframe.js | 7 +++++-- ...nsole_autocomplete_in_debugger_stackframe.js | 9 +++++---- ...le_autocomplete_popup_close_on_tab_switch.js | 3 ++- ...console_block_mixedcontent_securityerrors.js | 7 +++++-- ..._bug_1006027_message_timestamps_incorrect.js | 2 ++ .../browser_webconsole_bug_1010953_cspro.js | 10 +++++----- ...sole_bug_1050691_click_function_to_source.js | 3 ++- ...browser_webconsole_bug_578437_page_reload.js | 3 ++- ...browser_webconsole_bug_579412_input_focus.js | 3 ++- ...nsole_bug_580001_closing_after_completion.js | 3 ++- ...nsole_bug_580030_errors_after_page_reload.js | 3 ++- ...wser_webconsole_bug_580454_timestamp_l10n.js | 14 +++++--------- ...er_webconsole_bug_582201_duplicate_errors.js | 3 ++- ...e_bug_583816_No_input_and_Tab_key_pressed.js | 3 ++- .../browser_webconsole_bug_585237_line_limit.js | 15 +++++---------- ...owser_webconsole_bug_585956_console_trace.js | 3 ++- ...r_webconsole_bug_585991_autocomplete_keys.js | 3 ++- ..._webconsole_bug_585991_autocomplete_popup.js | 3 ++- .../browser_webconsole_bug_586388_select_all.js | 14 +++++--------- ...browser_webconsole_bug_587617_output_copy.js | 14 +++++--------- ...wser_webconsole_bug_588342_document_focus.js | 14 +++++--------- ...webconsole_bug_588730_text_node_insertion.js | 3 ++- ...ser_webconsole_bug_588967_input_expansion.js | 3 ++- .../browser_webconsole_bug_589162_css_filter.js | 15 +++++---------- ...er_webconsole_bug_592442_closing_brackets.js | 16 +++++----------- ...er_webconsole_bug_593003_iframe_wrong_hud.js | 3 ++- ..._webconsole_bug_594497_history_arrow_keys.js | 14 +++++--------- .../browser_webconsole_bug_595223_file_uri.js | 3 ++- ...sole_bug_595350_multiple_windows_and_tabs.js | 15 +++++---------- ..._webconsole_bug_595934_message_categories.js | 14 +++++--------- ..._deactivateHUDForContext_unfocused_window.js | 14 +++++--------- ...console_bug_597136_external_script_errors.js | 14 +++++--------- ...e_bug_597136_network_requests_from_chrome.js | 7 +++++-- ...owser_webconsole_bug_597460_filter_scroll.js | 14 +++++--------- ...r_webconsole_bug_597756_reopen_closed_tab.js | 14 +++++--------- ...er_webconsole_bug_599725_response_headers.js | 14 +++++--------- .../browser_webconsole_bug_600183_charset.js | 14 +++++--------- .../browser_webconsole_bug_601177_log_levels.js | 14 +++++--------- .../browser_webconsole_bug_601352_scroll.js | 2 ++ ...wser_webconsole_bug_601667_filter_buttons.js | 7 +++++-- .../browser_webconsole_bug_603750_websocket.js | 14 +++++--------- .../test/browser_webconsole_bug_611795.js | 8 +++++--- ..._webconsole_bug_613013_console_api_iframe.js | 14 +++++--------- ...browser_webconsole_bug_613280_jsterm_copy.js | 12 +++++------- ...ser_webconsole_bug_613642_maintain_scroll.js | 13 +++++-------- ...rowser_webconsole_bug_613642_prune_scroll.js | 13 +++++-------- ...owser_webconsole_bug_614793_jsterm_scroll.js | 10 +++++----- ..._webconsole_bug_618078_network_exceptions.js | 3 ++- ...owser_webconsole_bug_621644_jsterm_dollar.js | 13 +++++-------- ..._webconsole_bug_622303_persistent_filters.js | 7 +++++-- ...onsole_bug_623749_ctrl_a_select_all_winnt.js | 7 +++++-- ...sole_bug_630733_response_redirect_headers.js | 13 +++++-------- ...console_bug_632275_getters_document_width.js | 7 +++++-- ...ebconsole_bug_632347_iterators_generators.js | 3 ++- .../test/browser_webconsole_bug_632817.js | 8 +++++--- .../browser_webconsole_bug_642108_pruneTest.js | 11 +++++------ .../browser_webconsole_bug_644419_log_limits.js | 10 +++++----- ...bconsole_bug_646025_console_file_location.js | 13 +++++++------ ...ole_bug_651501_document_body_autocomplete.js | 10 +++++----- ...ole_bug_653531_highlighter_console_helper.js | 1 + ...rowser_webconsole_bug_658368_time_methods.js | 10 +++++----- ...browser_webconsole_bug_659907_console_dir.js | 10 +++++----- ...browser_webconsole_bug_660806_history_nav.js | 8 +++++--- ...owser_webconsole_bug_664131_console_group.js | 10 +++++----- ...le_bug_686937_autocomplete_JSTerm_helpers.js | 3 ++- .../test/browser_webconsole_bug_704295.js | 3 ++- ...34061_No_input_change_and_Tab_key_pressed.js | 3 ++- ...rowser_webconsole_bug_737873_mixedcontent.js | 14 +++++--------- ...752559_ineffective_iframe_sandbox_warning.js | 7 +++++-- ...passwords_about_blank_web_console_warning.js | 13 +++++++------ ...93_insecure_passwords_web_console_warning.js | 13 +++++++------ ...ser_webconsole_bug_764572_output_open_url.js | 6 ++++-- ...console_bug_766001_JS_Console_in_Debugger.js | 9 +++++---- .../browser_webconsole_bug_770099_violation.js | 11 +++++------ ...sole_bug_782653_CSS_links_in_Style_Editor.js | 10 +++++----- ...rowser_webconsole_bug_804845_ctrl_key_nav.js | 15 +++++---------- ...le_bug_817834_add_edited_input_to_history.js | 15 +++++---------- ...wser_webconsole_bug_837351_securityerrors.js | 7 +++++-- ...wser_webconsole_bug_922212_console_dirxml.js | 10 +++++----- .../browser_webconsole_cached_autocomplete.js | 3 ++- .../test/browser_webconsole_cd_iframe.js | 7 +++++-- .../browser_webconsole_certificate_messages.js | 8 +++++--- .../test/browser_webconsole_change_font_size.js | 14 +++++--------- .../test/browser_webconsole_chrome.js | 3 ++- .../test/browser_webconsole_clickable_urls.js | 9 +++++---- .../browser_webconsole_closure_inspection.js | 9 +++++---- .../test/browser_webconsole_column_numbers.js | 9 +++++---- .../test/browser_webconsole_completion.js | 3 ++- ...browser_webconsole_console_api_stackframe.js | 7 +++++-- .../browser_webconsole_console_custom_styles.js | 7 +++++-- .../test/browser_webconsole_console_extras.js | 3 ++- .../browser_webconsole_console_logging_api.js | 3 ++- ...er_webconsole_console_logging_workers_api.js | 7 +++++-- .../browser_webconsole_console_trace_async.js | 3 ++- ...owser_webconsole_console_trace_duplicates.js | 2 ++ ..._webconsole_context_menu_open_in_var_view.js | 3 ++- ...r_webconsole_context_menu_store_as_global.js | 3 ++- .../webconsole/test/browser_webconsole_count.js | 8 +++++--- ...r_webconsole_dont_navigate_on_doubleclick.js | 8 +++++--- .../browser_webconsole_exception_stackframe.js | 7 +++++-- .../test/browser_webconsole_execution_scope.js | 3 ++- .../browser_webconsole_expandable_timestamps.js | 7 +++++-- ...ser_webconsole_filter_buttons_contextmenu.js | 7 +++++-- .../test/browser_webconsole_for_of.js | 7 +++++-- .../test/browser_webconsole_history.js | 3 ++- .../browser_webconsole_hpkp_invalid-headers.js | 12 ++++++++---- .../browser_webconsole_hsts_invalid-headers.js | 12 ++++++++---- ...console_input_field_focus_on_panel_select.js | 8 +++++--- ...owser_webconsole_inspect-parsed-documents.js | 6 ++++-- .../browser_webconsole_js_input_expansion.js | 3 ++- .../test/browser_webconsole_jsterm.js | 3 ++- ...ebconsole_live_filtering_of_message_types.js | 3 ++- ...bconsole_live_filtering_on_search_strings.js | 3 ++- .../test/browser_webconsole_log_file_filter.js | 8 +++++--- .../test/browser_webconsole_message_node_id.js | 3 ++- .../test/browser_webconsole_netlogging.js | 3 ++- ...rowser_webconsole_netlogging_reset_filter.js | 2 ++ .../test/browser_webconsole_notifications.js | 3 ++- ...er_webconsole_open-links-without-callback.js | 8 +++++--- .../test/browser_webconsole_output_01.js | 9 +++++---- .../test/browser_webconsole_output_02.js | 9 +++++---- .../test/browser_webconsole_output_03.js | 9 +++++---- .../test/browser_webconsole_output_04.js | 9 +++++---- .../test/browser_webconsole_output_05.js | 9 +++++---- .../test/browser_webconsole_output_06.js | 8 +++++--- .../browser_webconsole_output_copy_newlines.js | 7 +++++-- ...browser_webconsole_output_dom_elements_01.js | 9 +++++---- ...browser_webconsole_output_dom_elements_02.js | 9 +++++---- ...browser_webconsole_output_dom_elements_03.js | 9 +++++---- ...browser_webconsole_output_dom_elements_04.js | 9 +++++---- .../test/browser_webconsole_output_events.js | 9 +++++---- .../test/browser_webconsole_output_order.js | 3 ++- .../test/browser_webconsole_output_regexp.js | 9 +++++---- .../test/browser_webconsole_output_table.js | 8 +++++--- .../test/browser_webconsole_promise.js | 9 +++++---- .../browser_webconsole_property_provider.js | 3 ++- .../test/browser_webconsole_reflow.js | 3 ++- .../browser_webconsole_scratchpad_panel_link.js | 8 +++++--- ...bconsole_show_subresource_security_errors.js | 10 +++++----- ...owser_webconsole_shows_reqs_in_netmonitor.js | 9 +++++---- .../webconsole/test/browser_webconsole_split.js | 3 ++- .../test/browser_webconsole_split_escape_key.js | 9 +++++---- .../test/browser_webconsole_split_focus.js | 9 +++++---- .../test/browser_webconsole_split_persist.js | 9 +++++---- .../browser_webconsole_start_netmon_first.js | 2 ++ .../browser_webconsole_strict_mode_errors.js | 9 +++++---- ...wser_webconsole_trackingprotection_errors.js | 7 +++++-- .../test/browser_webconsole_view_source.js | 7 +++++-- devtools/client/webconsole/test/head.js | 3 ++- .../test/test-bug-595934-canvas-css.js | 9 +++++---- .../test-bug-595934-empty-getelementbyid.js | 9 +++++---- .../webconsole/test/test-bug-595934-workers.js | 9 +++++---- .../test-bug-597136-external-script-errors.js | 14 +++++--------- .../test/test-bug-601177-log-levels.js | 9 +++++---- .../test/test-bug-603750-websocket.js | 9 +++++---- .../test/test-bug-766001-console-log.js | 9 +++++---- .../test/test-bug-766001-js-errors.js | 10 ++++++---- .../webconsole/test/test-bug_923281_test1.js | 7 +++++-- .../webconsole/test/test-bug_923281_test2.js | 7 +++++-- .../webconsole/test/test-file-location.js | 10 ++++++---- devtools/shared/webconsole/test/common.js | 7 +++++-- 216 files changed, 925 insertions(+), 786 deletions(-) diff --git a/devtools/client/webconsole/test/browser_bug1045902_console_csp_ignore_reflected_xss_message.js b/devtools/client/webconsole/test/browser_bug1045902_console_csp_ignore_reflected_xss_message.js index 24f48e504772..788f2276885f 100644 --- a/devtools/client/webconsole/test/browser_bug1045902_console_csp_ignore_reflected_xss_message.js +++ b/devtools/client/webconsole/test/browser_bug1045902_console_csp_ignore_reflected_xss_message.js @@ -1,14 +1,11 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* Description of the test: - * We are loading a file with the following CSP: - * 'reflected-xss filter' - * This directive is not supported, hence we confirm that - * the according message is displayed in the web console. - */ +// Tests that a file with an unsupported CSP directive ('reflected-xss filter') +// displays the appropriate message to the console. "use strict"; diff --git a/devtools/client/webconsole/test/browser_bug664688_sandbox_update_after_navigation.js b/devtools/client/webconsole/test/browser_bug664688_sandbox_update_after_navigation.js index 4f15a8b4b221..ffae7efa788e 100644 --- a/devtools/client/webconsole/test/browser_bug664688_sandbox_update_after_navigation.js +++ b/devtools/client/webconsole/test/browser_bug664688_sandbox_update_after_navigation.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_bug_638949_copy_link_location.js b/devtools/client/webconsole/test/browser_bug_638949_copy_link_location.js index ac24ee7dfc75..e2e3a8664d38 100644 --- a/devtools/client/webconsole/test/browser_bug_638949_copy_link_location.js +++ b/devtools/client/webconsole/test/browser_bug_638949_copy_link_location.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_bug_862916_console_dir_and_filter_off.js b/devtools/client/webconsole/test/browser_bug_862916_console_dir_and_filter_off.js index 42a041f4ab93..5fb9d091131d 100644 --- a/devtools/client/webconsole/test/browser_bug_862916_console_dir_and_filter_off.js +++ b/devtools/client/webconsole/test/browser_bug_862916_console_dir_and_filter_off.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that the output for console.dir() works even if Logging filter is off. diff --git a/devtools/client/webconsole/test/browser_bug_865288_repeat_different_objects.js b/devtools/client/webconsole/test/browser_bug_865288_repeat_different_objects.js index 7cf805052f28..f92c7839e6d9 100644 --- a/devtools/client/webconsole/test/browser_bug_865288_repeat_different_objects.js +++ b/devtools/client/webconsole/test/browser_bug_865288_repeat_different_objects.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that makes sure messages are not considered repeated when console.log() // is invoked with different objects, see bug 865288. diff --git a/devtools/client/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js b/devtools/client/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js index 5cc009b99e15..9abae3a655d9 100644 --- a/devtools/client/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js +++ b/devtools/client/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that the variables view sidebar can be closed by pressing Escape in the // web console. diff --git a/devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js b/devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js index ece1a6038805..fbf4c2fea086 100644 --- a/devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js +++ b/devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that users can inspect objects logged from cross-domain iframes - // bug 869003. diff --git a/devtools/client/webconsole/test/browser_bug_871156_ctrlw_close_tab.js b/devtools/client/webconsole/test/browser_bug_871156_ctrlw_close_tab.js index fb2aea0771a8..fd21a45b56da 100644 --- a/devtools/client/webconsole/test/browser_bug_871156_ctrlw_close_tab.js +++ b/devtools/client/webconsole/test/browser_bug_871156_ctrlw_close_tab.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that Ctrl-W closes the Browser Console and that Ctrl-W closes the // current tab when using the Web Console - bug 871156. diff --git a/devtools/client/webconsole/test/browser_cached_messages.js b/devtools/client/webconsole/test/browser_cached_messages.js index 84d01edb95c2..657df8d65164 100644 --- a/devtools/client/webconsole/test/browser_cached_messages.js +++ b/devtools/client/webconsole/test/browser_cached_messages.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_console.js b/devtools/client/webconsole/test/browser_console.js index dd0f669ea926..b7474a452cf1 100644 --- a/devtools/client/webconsole/test/browser_console.js +++ b/devtools/client/webconsole/test/browser_console.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test the basic features of the Browser Console, bug 587757. diff --git a/devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js b/devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js index 282176d42ad1..b21f87b402ef 100644 --- a/devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js +++ b/devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that exceptions from scripts loaded with the addon-sdk loader are // opened correctly in View Source from the Browser Console. diff --git a/devtools/client/webconsole/test/browser_console_clear_on_reload.js b/devtools/client/webconsole/test/browser_console_clear_on_reload.js index c8ce42bfcadf..2c672adc53bf 100644 --- a/devtools/client/webconsole/test/browser_console_clear_on_reload.js +++ b/devtools/client/webconsole/test/browser_console_clear_on_reload.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that clear output on page reload works - bug 705921. // Check that clear output and page reload remove the sidebar - bug 971967. diff --git a/devtools/client/webconsole/test/browser_console_click_focus.js b/devtools/client/webconsole/test/browser_console_click_focus.js index c3be9f4fc185..3e976ab882b6 100644 --- a/devtools/client/webconsole/test/browser_console_click_focus.js +++ b/devtools/client/webconsole/test/browser_console_click_focus.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_console_consolejsm_output.js b/devtools/client/webconsole/test/browser_console_consolejsm_output.js index d72e40a5d5c6..9730cbd0b98b 100644 --- a/devtools/client/webconsole/test/browser_console_consolejsm_output.js +++ b/devtools/client/webconsole/test/browser_console_consolejsm_output.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that Console.jsm outputs messages to the Browser Console, bug 851231. diff --git a/devtools/client/webconsole/test/browser_console_copy_command.js b/devtools/client/webconsole/test/browser_console_copy_command.js index 9ec143879d47..56d271593962 100644 --- a/devtools/client/webconsole/test/browser_console_copy_command.js +++ b/devtools/client/webconsole/test/browser_console_copy_command.js @@ -1,3 +1,4 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/devtools/client/webconsole/test/browser_console_copy_entire_message_context_menu.js b/devtools/client/webconsole/test/browser_console_copy_entire_message_context_menu.js index 67924ad43113..429b2584ec29 100644 --- a/devtools/client/webconsole/test/browser_console_copy_entire_message_context_menu.js +++ b/devtools/client/webconsole/test/browser_console_copy_entire_message_context_menu.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_console_dead_objects.js b/devtools/client/webconsole/test/browser_console_dead_objects.js index 43f937ab51a9..51fc2839b7d2 100644 --- a/devtools/client/webconsole/test/browser_console_dead_objects.js +++ b/devtools/client/webconsole/test/browser_console_dead_objects.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that Dead Objects do not break the Web/Browser Consoles. See bug 883649. // This test does: diff --git a/devtools/client/webconsole/test/browser_console_error_source_click.js b/devtools/client/webconsole/test/browser_console_error_source_click.js index ca34a936864a..253721c11847 100644 --- a/devtools/client/webconsole/test/browser_console_error_source_click.js +++ b/devtools/client/webconsole/test/browser_console_error_source_click.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that JS errors and CSS warnings open view source when their source link // is clicked in the Browser Console. See bug 877778. diff --git a/devtools/client/webconsole/test/browser_console_filters.js b/devtools/client/webconsole/test/browser_console_filters.js index abba2b4e0da9..8ab9ca96a674 100644 --- a/devtools/client/webconsole/test/browser_console_filters.js +++ b/devtools/client/webconsole/test/browser_console_filters.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that the Browser Console does not use the same filter prefs as the Web // Console. See bug 878186. diff --git a/devtools/client/webconsole/test/browser_console_hide_jsterm_when_devtools_chrome_enabled_false.js b/devtools/client/webconsole/test/browser_console_hide_jsterm_when_devtools_chrome_enabled_false.js index 79d8d12c5a45..58964858532d 100644 --- a/devtools/client/webconsole/test/browser_console_hide_jsterm_when_devtools_chrome_enabled_false.js +++ b/devtools/client/webconsole/test/browser_console_hide_jsterm_when_devtools_chrome_enabled_false.js @@ -1,8 +1,9 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ - +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + /* * Bug 922161 - Hide Browser Console JS input field if devtools.chrome.enabled * is false. diff --git a/devtools/client/webconsole/test/browser_console_history_persist.js b/devtools/client/webconsole/test/browser_console_history_persist.js index d196b4b7f694..bab168511654 100644 --- a/devtools/client/webconsole/test/browser_console_history_persist.js +++ b/devtools/client/webconsole/test/browser_console_history_persist.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_console_iframe_messages.js b/devtools/client/webconsole/test/browser_console_iframe_messages.js index 19a73174c2f7..74e618b7383d 100644 --- a/devtools/client/webconsole/test/browser_console_iframe_messages.js +++ b/devtools/client/webconsole/test/browser_console_iframe_messages.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that cached messages from nested iframes are displayed in the // Web/Browser Console. diff --git a/devtools/client/webconsole/test/browser_console_keyboard_accessibility.js b/devtools/client/webconsole/test/browser_console_keyboard_accessibility.js index d86453220027..699db92db34a 100644 --- a/devtools/client/webconsole/test/browser_console_keyboard_accessibility.js +++ b/devtools/client/webconsole/test/browser_console_keyboard_accessibility.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that basic keyboard shortcuts work in the web console. diff --git a/devtools/client/webconsole/test/browser_console_log_inspectable_object.js b/devtools/client/webconsole/test/browser_console_log_inspectable_object.js index be24205417a8..e33f64d72c21 100644 --- a/devtools/client/webconsole/test/browser_console_log_inspectable_object.js +++ b/devtools/client/webconsole/test/browser_console_log_inspectable_object.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that objects given to console.log() are inspectable. diff --git a/devtools/client/webconsole/test/browser_console_native_getters.js b/devtools/client/webconsole/test/browser_console_native_getters.js index 13ff20c8f75c..dc3f4061617b 100644 --- a/devtools/client/webconsole/test/browser_console_native_getters.js +++ b/devtools/client/webconsole/test/browser_console_native_getters.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that native getters and setters for DOM elements work as expected in // variables view - bug 870220. diff --git a/devtools/client/webconsole/test/browser_console_navigation_marker.js b/devtools/client/webconsole/test/browser_console_navigation_marker.js index 4a0522d236a9..ddade5106e58 100644 --- a/devtools/client/webconsole/test/browser_console_navigation_marker.js +++ b/devtools/client/webconsole/test/browser_console_navigation_marker.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that the navigation marker shows on page reload - bug 793996. diff --git a/devtools/client/webconsole/test/browser_console_netlogging.js b/devtools/client/webconsole/test/browser_console_netlogging.js index e77a5de35fe0..759b2c362e4b 100644 --- a/devtools/client/webconsole/test/browser_console_netlogging.js +++ b/devtools/client/webconsole/test/browser_console_netlogging.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_console_nsiconsolemessage.js b/devtools/client/webconsole/test/browser_console_nsiconsolemessage.js index 25cae153ebd2..1d521a8c36b7 100644 --- a/devtools/client/webconsole/test/browser_console_nsiconsolemessage.js +++ b/devtools/client/webconsole/test/browser_console_nsiconsolemessage.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that nsIConsoleMessages are displayed in the Browser Console. // See bug 859756. diff --git a/devtools/client/webconsole/test/browser_console_open_or_focus.js b/devtools/client/webconsole/test/browser_console_open_or_focus.js index 0c5f95c9df8f..9815d730b04f 100644 --- a/devtools/client/webconsole/test/browser_console_open_or_focus.js +++ b/devtools/client/webconsole/test/browser_console_open_or_focus.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that the "browser console" menu item opens or focuses (if already open) // the console window instead of toggling it open/close. diff --git a/devtools/client/webconsole/test/browser_console_optimized_out_vars.js b/devtools/client/webconsole/test/browser_console_optimized_out_vars.js index 43365c69944b..6e1ad41c8c5e 100644 --- a/devtools/client/webconsole/test/browser_console_optimized_out_vars.js +++ b/devtools/client/webconsole/test/browser_console_optimized_out_vars.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that inspecting an optimized out variable works when execution is // paused. diff --git a/devtools/client/webconsole/test/browser_console_private_browsing.js b/devtools/client/webconsole/test/browser_console_private_browsing.js index ea4e3d5f9f73..ba59ced27ed0 100644 --- a/devtools/client/webconsole/test/browser_console_private_browsing.js +++ b/devtools/client/webconsole/test/browser_console_private_browsing.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Bug 874061: test for how the browser and web consoles display messages coming // from private windows. See bug for description of expected behavior. diff --git a/devtools/client/webconsole/test/browser_console_server_logging.js b/devtools/client/webconsole/test/browser_console_server_logging.js index 60d02f4acff2..ef663339091a 100644 --- a/devtools/client/webconsole/test/browser_console_server_logging.js +++ b/devtools/client/webconsole/test/browser_console_server_logging.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_console_variables_view.js b/devtools/client/webconsole/test/browser_console_variables_view.js index 8b08412f74e7..9766dbe50977 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view.js +++ b/devtools/client/webconsole/test/browser_console_variables_view.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that variables view works as expected in the web console. diff --git a/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js b/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js index 64695bf3113f..ec40f2555401 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js @@ -1,10 +1,12 @@ -/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ -"use strict"; +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* Test that ensures DOM nodes are rendered correctly in VariablesView. */ +// Test that ensures DOM nodes are rendered correctly in VariablesView. + +"use strict"; function test() { const TEST_URI = 'data:text/html;charset=utf-8, \ diff --git a/devtools/client/webconsole/test/browser_console_variables_view_dont_sort_non_sortable_classes_properties.js b/devtools/client/webconsole/test/browser_console_variables_view_dont_sort_non_sortable_classes_properties.js index 794d4c995eec..536e78db326d 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_dont_sort_non_sortable_classes_properties.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_dont_sort_non_sortable_classes_properties.js @@ -1,7 +1,8 @@ -/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_console_variables_view_filter.js b/devtools/client/webconsole/test/browser_console_variables_view_filter.js index 4b70ac84f036..c29d618be2c5 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_filter.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_filter.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that variables view filter feature works fine in the console. diff --git a/devtools/client/webconsole/test/browser_console_variables_view_highlighter.js b/devtools/client/webconsole/test/browser_console_variables_view_highlighter.js index 4cc8adc20aa1..fb0d960e714f 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_highlighter.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_highlighter.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that variables view is linked to the inspector for highlighting and // selecting DOM nodes diff --git a/devtools/client/webconsole/test/browser_console_variables_view_special_names.js b/devtools/client/webconsole/test/browser_console_variables_view_special_names.js index 30178ab709ab..2b22269c0541 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_special_names.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_special_names.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that variables view handles special names like "" // properly for ordinary displays. diff --git a/devtools/client/webconsole/test/browser_console_variables_view_while_debugging.js b/devtools/client/webconsole/test/browser_console_variables_view_while_debugging.js index 02fb611e6e8d..4aefccdaabae 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_while_debugging.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_while_debugging.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that makes sure web console eval happens in the user-selected stackframe // from the js debugger, when changing the value of a property in the variables diff --git a/devtools/client/webconsole/test/browser_console_variables_view_while_debugging_and_inspecting.js b/devtools/client/webconsole/test/browser_console_variables_view_while_debugging_and_inspecting.js index eebeba276689..31cd2a4d374e 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_while_debugging_and_inspecting.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_while_debugging_and_inspecting.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that makes sure web console eval works while the js debugger paused the // page, and while the inspector is active. See bug 886137. diff --git a/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js b/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js index 5375d51aef5b..fbd032f9859e 100644 --- a/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js +++ b/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that makes sure web console eval happens in the user-selected stackframe // from the js debugger. diff --git a/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe2.js b/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe2.js index 32bbaf6e28e6..fc10c2f2a009 100644 --- a/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe2.js +++ b/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe2.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test to make sure that web console commands can fire while paused at a // breakpoint that was triggered from a JS call. Relies on asynchronous js diff --git a/devtools/client/webconsole/test/browser_jsterm_inspect.js b/devtools/client/webconsole/test/browser_jsterm_inspect.js index bb5cb8ca9fe7..d9d322f3bb61 100644 --- a/devtools/client/webconsole/test/browser_jsterm_inspect.js +++ b/devtools/client/webconsole/test/browser_jsterm_inspect.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that the inspect() jsterm helper function works. diff --git a/devtools/client/webconsole/test/browser_longstring_hang.js b/devtools/client/webconsole/test/browser_longstring_hang.js index bfbb178f65ff..289b1c8a8d80 100644 --- a/devtools/client/webconsole/test/browser_longstring_hang.js +++ b/devtools/client/webconsole/test/browser_longstring_hang.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that very long strings do not hang the browser. diff --git a/devtools/client/webconsole/test/browser_netmonitor_shows_reqs_in_webconsole.js b/devtools/client/webconsole/test/browser_netmonitor_shows_reqs_in_webconsole.js index 65958dd5d7c2..945c4c50b855 100644 --- a/devtools/client/webconsole/test/browser_netmonitor_shows_reqs_in_webconsole.js +++ b/devtools/client/webconsole/test/browser_netmonitor_shows_reqs_in_webconsole.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_output_breaks_after_console_dir_uninspectable.js b/devtools/client/webconsole/test/browser_output_breaks_after_console_dir_uninspectable.js index 6786f3a580ba..fb43c0def769 100644 --- a/devtools/client/webconsole/test/browser_output_breaks_after_console_dir_uninspectable.js +++ b/devtools/client/webconsole/test/browser_output_breaks_after_console_dir_uninspectable.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Make sure that the Web Console output does not break after we try to call // console.dir() for objects that are not inspectable. diff --git a/devtools/client/webconsole/test/browser_output_longstring_expand.js b/devtools/client/webconsole/test/browser_output_longstring_expand.js index 8b1cb18c451c..7504598d7cc4 100644 --- a/devtools/client/webconsole/test/browser_output_longstring_expand.js +++ b/devtools/client/webconsole/test/browser_output_longstring_expand.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that long strings can be expanded in the console output. diff --git a/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js b/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js index f06b34a3d240..a150d91f329a 100644 --- a/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js +++ b/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js @@ -1,8 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that makes sure messages are not considered repeated when coming from // different lines of code, or from different severities, etc. diff --git a/devtools/client/webconsole/test/browser_result_format_as_string.js b/devtools/client/webconsole/test/browser_result_format_as_string.js index cd345bcef85d..44dc00c350a1 100644 --- a/devtools/client/webconsole/test/browser_result_format_as_string.js +++ b/devtools/client/webconsole/test/browser_result_format_as_string.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Make sure that JS eval result are properly formatted as strings. diff --git a/devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js b/devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js index 9327f0bb23fb..e9b5912c6bdb 100644 --- a/devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js +++ b/devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_abbreviate_source_url.js b/devtools/client/webconsole/test/browser_webconsole_abbreviate_source_url.js index 29587c340bad..3edf03312fa7 100644 --- a/devtools/client/webconsole/test/browser_webconsole_abbreviate_source_url.js +++ b/devtools/client/webconsole/test/browser_webconsole_abbreviate_source_url.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that source URLs are abbreviated properly for display on the right- // hand side of the Web Console. diff --git a/devtools/client/webconsole/test/browser_webconsole_allow_mixedcontent_securityerrors.js b/devtools/client/webconsole/test/browser_webconsole_allow_mixedcontent_securityerrors.js index c392b3d110ad..408376404627 100644 --- a/devtools/client/webconsole/test/browser_webconsole_allow_mixedcontent_securityerrors.js +++ b/devtools/client/webconsole/test/browser_webconsole_allow_mixedcontent_securityerrors.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // The test loads a web page with mixed active and display content // on it while the "block mixed content" settings are _off_. diff --git a/devtools/client/webconsole/test/browser_webconsole_assert.js b/devtools/client/webconsole/test/browser_webconsole_assert.js index 151f2928e4e5..5f1b0d93e5e2 100644 --- a/devtools/client/webconsole/test/browser_webconsole_assert.js +++ b/devtools/client/webconsole/test/browser_webconsole_assert.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that console.assert() works as expected (i.e. outputs only on falsy // asserts). See bug 760193. diff --git a/devtools/client/webconsole/test/browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js b/devtools/client/webconsole/test/browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js index f4eaaa356042..2e23c4db624a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js +++ b/devtools/client/webconsole/test/browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js @@ -1,8 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_autocomplete_and_selfxss.js b/devtools/client/webconsole/test/browser_webconsole_autocomplete_and_selfxss.js index de2d04db7913..a043f2f7edb1 100644 --- a/devtools/client/webconsole/test/browser_webconsole_autocomplete_and_selfxss.js +++ b/devtools/client/webconsole/test/browser_webconsole_autocomplete_and_selfxss.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_autocomplete_crossdomain_iframe.js b/devtools/client/webconsole/test/browser_webconsole_autocomplete_crossdomain_iframe.js index 079af004ff5e..26bf8d0a1565 100644 --- a/devtools/client/webconsole/test/browser_webconsole_autocomplete_crossdomain_iframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_autocomplete_crossdomain_iframe.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that autocomplete doesn't break when trying to reach into objects from // a different domain, bug 989025. diff --git a/devtools/client/webconsole/test/browser_webconsole_autocomplete_in_debugger_stackframe.js b/devtools/client/webconsole/test/browser_webconsole_autocomplete_in_debugger_stackframe.js index cc9338d62d56..c6c22e1ed221 100644 --- a/devtools/client/webconsole/test/browser_webconsole_autocomplete_in_debugger_stackframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_autocomplete_in_debugger_stackframe.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that makes sure web console autocomplete happens in the user-selected // stackframe from the js debugger. diff --git a/devtools/client/webconsole/test/browser_webconsole_autocomplete_popup_close_on_tab_switch.js b/devtools/client/webconsole/test/browser_webconsole_autocomplete_popup_close_on_tab_switch.js index f38c07199402..ee50a82eb7b2 100644 --- a/devtools/client/webconsole/test/browser_webconsole_autocomplete_popup_close_on_tab_switch.js +++ b/devtools/client/webconsole/test/browser_webconsole_autocomplete_popup_close_on_tab_switch.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js b/devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js index 8dbf6aad8f3c..b02caa08b3c6 100644 --- a/devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js +++ b/devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // The test loads a web page with mixed active and display content // on it while the "block mixed content" settings are _on_. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_1006027_message_timestamps_incorrect.js b/devtools/client/webconsole/test/browser_webconsole_bug_1006027_message_timestamps_incorrect.js index 836636c3d999..852554bd3a0e 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_1006027_message_timestamps_incorrect.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_1006027_message_timestamps_incorrect.js @@ -1,3 +1,5 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js b/devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js index 6f38d7fe449e..30769b237835 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js @@ -1,8 +1,8 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* We are loading: a script that is allowed by the CSP header but not by the CSPRO header diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_1050691_click_function_to_source.js b/devtools/client/webconsole/test/browser_webconsole_bug_1050691_click_function_to_source.js index 9a7c94495f49..af89a1190e0d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_1050691_click_function_to_source.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_1050691_click_function_to_source.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_578437_page_reload.js b/devtools/client/webconsole/test/browser_webconsole_bug_578437_page_reload.js index b4bd21321088..baf0abdaf61c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_578437_page_reload.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_578437_page_reload.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_579412_input_focus.js b/devtools/client/webconsole/test/browser_webconsole_bug_579412_input_focus.js index f6c539ed376c..cea4e248834b 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_579412_input_focus.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_579412_input_focus.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_580001_closing_after_completion.js b/devtools/client/webconsole/test/browser_webconsole_bug_580001_closing_after_completion.js index 82ebb4ccef4a..ab59b9bdb878 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_580001_closing_after_completion.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_580001_closing_after_completion.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_580030_errors_after_page_reload.js b/devtools/client/webconsole/test/browser_webconsole_bug_580030_errors_after_page_reload.js index 3be69eeab9c9..b9a10f594ba8 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_580030_errors_after_page_reload.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_580030_errors_after_page_reload.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js b/devtools/client/webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js index a2faff65060d..1785b7d34c5c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Patrick Walton - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that appropriately-localized timestamps are printed. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_582201_duplicate_errors.js b/devtools/client/webconsole/test/browser_webconsole_bug_582201_duplicate_errors.js index b9cdd840da8d..4d0cedda53ea 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_582201_duplicate_errors.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_582201_duplicate_errors.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_583816_No_input_and_Tab_key_pressed.js b/devtools/client/webconsole/test/browser_webconsole_bug_583816_No_input_and_Tab_key_pressed.js index 3abeb82c6989..a84429dcef81 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_583816_No_input_and_Tab_key_pressed.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_583816_No_input_and_Tab_key_pressed.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_585237_line_limit.js b/devtools/client/webconsole/test/browser_webconsole_bug_585237_line_limit.js index 9c5c04d4fbc1..57387473fbe4 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_585237_line_limit.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_585237_line_limit.js @@ -1,13 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Patrick Walton - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the Web Console limits the number of lines displayed according to // the user's preferences. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_585956_console_trace.js b/devtools/client/webconsole/test/browser_webconsole_bug_585956_console_trace.js index f405e11ad717..15daa72cbde1 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_585956_console_trace.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_585956_console_trace.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_keys.js b/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_keys.js index b79f1dad0171..fd60a8070dc3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_keys.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_keys.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_popup.js b/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_popup.js index 2777ca2cd2b3..1cfe76382195 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_popup.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_popup.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_586388_select_all.js b/devtools/client/webconsole/test/browser_webconsole_bug_586388_select_all.js index e9ecc768fddd..42d1dd3923dc 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_586388_select_all.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_586388_select_all.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Patrick Walton - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js b/devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js index 184b37f200ad..a38d11674024 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js @@ -1,12 +1,8 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * Patrick Walton - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_588342_document_focus.js b/devtools/client/webconsole/test/browser_webconsole_bug_588342_document_focus.js index d69dd2d6d23a..ea76384f5c40 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_588342_document_focus.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_588342_document_focus.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_588730_text_node_insertion.js b/devtools/client/webconsole/test/browser_webconsole_bug_588730_text_node_insertion.js index b6cd6ef051f4..28a053f6d062 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_588730_text_node_insertion.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_588730_text_node_insertion.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_588967_input_expansion.js b/devtools/client/webconsole/test/browser_webconsole_bug_588967_input_expansion.js index 90e104e1bdbb..85b45dfaf8d1 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_588967_input_expansion.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_588967_input_expansion.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_589162_css_filter.js b/devtools/client/webconsole/test/browser_webconsole_bug_589162_css_filter.js index faaddc0db6c4..e2eebfaa7261 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_589162_css_filter.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_589162_css_filter.js @@ -1,13 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * Patrick Walton - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_592442_closing_brackets.js b/devtools/client/webconsole/test/browser_webconsole_bug_592442_closing_brackets.js index 1bafa8081ba9..609ccc38d48c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_592442_closing_brackets.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_592442_closing_brackets.js @@ -1,14 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Julian Viereck - * Patrick Walton - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that, when the user types an extraneous closing bracket, no error // appears. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_593003_iframe_wrong_hud.js b/devtools/client/webconsole/test/browser_webconsole_bug_593003_iframe_wrong_hud.js index 6c56978a33f0..6c2dcbeb79bc 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_593003_iframe_wrong_hud.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_593003_iframe_wrong_hud.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_594497_history_arrow_keys.js b/devtools/client/webconsole/test/browser_webconsole_bug_594497_history_arrow_keys.js index afed473fe380..5c1bd19b6447 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_594497_history_arrow_keys.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_594497_history_arrow_keys.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_595223_file_uri.js b/devtools/client/webconsole/test/browser_webconsole_bug_595223_file_uri.js index 6cfbac8d3913..94de05528140 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_595223_file_uri.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_595223_file_uri.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js b/devtools/client/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js index d46957715afe..4fd9e5e0e04b 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js @@ -1,13 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Patrick Walton - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the Web Console doesn't leak when multiple tabs and windows are // opened and then closed. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js b/devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js index d933399cad23..57e094c57c3b 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js b/devtools/client/webconsole/test/browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js index 10230063f143..c8148c0b17bc 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_597136_external_script_errors.js b/devtools/client/webconsole/test/browser_webconsole_bug_597136_external_script_errors.js index 6f806cf094f9..2418a239e236 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_597136_external_script_errors.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_597136_external_script_errors.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Patrick Walton - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_597136_network_requests_from_chrome.js b/devtools/client/webconsole/test/browser_webconsole_bug_597136_network_requests_from_chrome.js index a01ac5ea06c9..6737c37e4837 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_597136_network_requests_from_chrome.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_597136_network_requests_from_chrome.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that network requests from chrome don't cause the Web Console to // throw exceptions. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_597460_filter_scroll.js b/devtools/client/webconsole/test/browser_webconsole_bug_597460_filter_scroll.js index 027776604ad8..0ca4ac2295aa 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_597460_filter_scroll.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_597460_filter_scroll.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js b/devtools/client/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js index bb18a5d94088..593989732ee2 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_599725_response_headers.js b/devtools/client/webconsole/test/browser_webconsole_bug_599725_response_headers.js index aa14cdf36fc6..3ca9bdce19e9 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_599725_response_headers.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_599725_response_headers.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_600183_charset.js b/devtools/client/webconsole/test/browser_webconsole_bug_600183_charset.js index c0880b122284..e46e36092c7d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_600183_charset.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_600183_charset.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_601177_log_levels.js b/devtools/client/webconsole/test/browser_webconsole_bug_601177_log_levels.js index c72e651effc9..14555f48f3ab 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_601177_log_levels.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_601177_log_levels.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_601352_scroll.js b/devtools/client/webconsole/test/browser_webconsole_bug_601352_scroll.js index 1b7d03fe6997..2352e1de0a25 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_601352_scroll.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_601352_scroll.js @@ -1,3 +1,5 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_601667_filter_buttons.js b/devtools/client/webconsole/test/browser_webconsole_bug_601667_filter_buttons.js index 6f63ab78baa2..07a733e496d6 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_601667_filter_buttons.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_601667_filter_buttons.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the filter button UI logic works correctly. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js b/devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js index f7ee94e11c51..526348f70495 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_611795.js b/devtools/client/webconsole/test/browser_webconsole_bug_611795.js index e90c2b791e46..9933753621f5 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_611795.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_611795.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_613013_console_api_iframe.js b/devtools/client/webconsole/test/browser_webconsole_bug_613013_console_api_iframe.js index d47e8750bb99..f7ba44bdff03 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_613013_console_api_iframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_613013_console_api_iframe.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_613280_jsterm_copy.js b/devtools/client/webconsole/test/browser_webconsole_bug_613280_jsterm_copy.js index 078229760c83..718c0e40d61b 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_613280_jsterm_copy.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_613280_jsterm_copy.js @@ -1,10 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_613642_maintain_scroll.js b/devtools/client/webconsole/test/browser_webconsole_bug_613642_maintain_scroll.js index e6a6ba2fba80..1cb8360b7594 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_613642_maintain_scroll.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_613642_maintain_scroll.js @@ -1,11 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js b/devtools/client/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js index b5fa8fac58d3..c506547bd8b3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js @@ -1,11 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Șucan - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_614793_jsterm_scroll.js b/devtools/client/webconsole/test/browser_webconsole_bug_614793_jsterm_scroll.js index d3bd639b3835..4457ff99f505 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_614793_jsterm_scroll.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_614793_jsterm_scroll.js @@ -1,8 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js b/devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js index e46e8d7bf49d..f4453910decd 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_621644_jsterm_dollar.js b/devtools/client/webconsole/test/browser_webconsole_bug_621644_jsterm_dollar.js index e2be603ce9b3..610482888e5a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_621644_jsterm_dollar.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_621644_jsterm_dollar.js @@ -1,11 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Sucan - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_622303_persistent_filters.js b/devtools/client/webconsole/test/browser_webconsole_bug_622303_persistent_filters.js index e59f0a924ceb..5d4a0afe5bd7 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_622303_persistent_filters.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_622303_persistent_filters.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js b/devtools/client/webconsole/test/browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js index 0c607e660bc1..07ec7b9e045f 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test for https://bugzilla.mozilla.org/show_bug.cgi?id=623749 // Map Control + A to Select All, In the web console input, on Windows diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_630733_response_redirect_headers.js b/devtools/client/webconsole/test/browser_webconsole_bug_630733_response_redirect_headers.js index c29be251c3ae..22ace767a94b 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_630733_response_redirect_headers.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_630733_response_redirect_headers.js @@ -1,11 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Mihai Sucan - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_632275_getters_document_width.js b/devtools/client/webconsole/test/browser_webconsole_bug_632275_getters_document_width.js index fba24fa7eb12..003ecfcd7127 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_632275_getters_document_width.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_632275_getters_document_width.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_632347_iterators_generators.js b/devtools/client/webconsole/test/browser_webconsole_bug_632347_iterators_generators.js index ca51023d83c1..a4474a5d4273 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_632347_iterators_generators.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_632347_iterators_generators.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_632817.js b/devtools/client/webconsole/test/browser_webconsole_bug_632817.js index e3bd333f6510..6cadced09024 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_632817.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_632817.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that Web console messages can be filtered for NET events. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_642108_pruneTest.js b/devtools/client/webconsole/test/browser_webconsole_bug_642108_pruneTest.js index 924d80f89223..5662f72c946c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_642108_pruneTest.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_642108_pruneTest.js @@ -1,9 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the Web Console limits the number of lines displayed according to // the user's preferences. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_644419_log_limits.js b/devtools/client/webconsole/test/browser_webconsole_bug_644419_log_limits.js index 4a76fcf9dedc..e66e663625a3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_644419_log_limits.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_644419_log_limits.js @@ -1,8 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the Web Console limits the number of lines displayed according to // the limit set for each category. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js b/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js index 7aac71443155..9d688238abc6 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ @@ -27,31 +28,31 @@ add_task(function* () { text: "message for level log", category: CATEGORY_WEBDEV, severity: SEVERITY_LOG, - source: { url: "test-file-location.js", line: 5 }, + source: { url: "test-file-location.js", line: 7 }, }, { text: "message for level info", category: CATEGORY_WEBDEV, severity: SEVERITY_INFO, - source: { url: "test-file-location.js", line: 6 }, + source: { url: "test-file-location.js", line: 8 }, }, { text: "message for level warn", category: CATEGORY_WEBDEV, severity: SEVERITY_WARNING, - source: { url: "test-file-location.js", line: 7 }, + source: { url: "test-file-location.js", line: 9 }, }, { text: "message for level error", category: CATEGORY_WEBDEV, severity: SEVERITY_ERROR, - source: { url: "test-file-location.js", line: 8 }, + source: { url: "test-file-location.js", line: 10 }, }, { text: "message for level debug", category: CATEGORY_WEBDEV, severity: SEVERITY_LOG, - source: { url: "test-file-location.js", line: 9 }, + source: { url: "test-file-location.js", line: 11 }, }], }); }); diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_651501_document_body_autocomplete.js b/devtools/client/webconsole/test/browser_webconsole_bug_651501_document_body_autocomplete.js index 2e77b45ab167..a88a23c3f90d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_651501_document_body_autocomplete.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_651501_document_body_autocomplete.js @@ -1,8 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that document.body autocompletes in the web console. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_653531_highlighter_console_helper.js b/devtools/client/webconsole/test/browser_webconsole_bug_653531_highlighter_console_helper.js index eec51e31eeca..53ca3a22c4e5 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_653531_highlighter_console_helper.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_653531_highlighter_console_helper.js @@ -1,3 +1,4 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_658368_time_methods.js b/devtools/client/webconsole/test/browser_webconsole_bug_658368_time_methods.js index 9e215ba47f92..ceaf4bbf6700 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_658368_time_methods.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_658368_time_methods.js @@ -1,8 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the Console API implements the time() and timeEnd() methods. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_659907_console_dir.js b/devtools/client/webconsole/test/browser_webconsole_bug_659907_console_dir.js index e98c14f1d264..8419788456b8 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_659907_console_dir.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_659907_console_dir.js @@ -1,8 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that console.dir works as intended. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_660806_history_nav.js b/devtools/client/webconsole/test/browser_webconsole_bug_660806_history_nav.js index fa49c5118d00..55aa1d4f06e4 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_660806_history_nav.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_660806_history_nav.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_664131_console_group.js b/devtools/client/webconsole/test/browser_webconsole_bug_664131_console_group.js index 61e1be45e902..9d5ae3cc83fe 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_664131_console_group.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_664131_console_group.js @@ -1,8 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that console.group/groupEnd works as intended. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_686937_autocomplete_JSTerm_helpers.js b/devtools/client/webconsole/test/browser_webconsole_bug_686937_autocomplete_JSTerm_helpers.js index b6ce736681ef..ddd63b2fe5c0 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_686937_autocomplete_JSTerm_helpers.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_686937_autocomplete_JSTerm_helpers.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_704295.js b/devtools/client/webconsole/test/browser_webconsole_bug_704295.js index b1fa6c7f94ad..6d54052fda5f 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_704295.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_704295.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_734061_No_input_change_and_Tab_key_pressed.js b/devtools/client/webconsole/test/browser_webconsole_bug_734061_No_input_change_and_Tab_key_pressed.js index 8ae6681e10c5..6c46bc64b4eb 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_734061_No_input_change_and_Tab_key_pressed.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_734061_No_input_change_and_Tab_key_pressed.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_737873_mixedcontent.js b/devtools/client/webconsole/test/browser_webconsole_bug_737873_mixedcontent.js index 68bebadc4082..322ddb3042e7 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_737873_mixedcontent.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_737873_mixedcontent.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Tanvi Vyas - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the Web Console Mixed Content messages are displayed diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js b/devtools/client/webconsole/test/browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js index 6334d67f4b12..2288ba0cbdb3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that warnings about ineffective iframe sandboxing are logged to the // web console when necessary (and not otherwise). diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_about_blank_web_console_warning.js b/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_about_blank_web_console_warning.js index 3ffb03a9daa4..ca1ab9d22084 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_about_blank_web_console_warning.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_about_blank_web_console_warning.js @@ -1,9 +1,10 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ -/* - * Tests that errors about insecure passwords are logged - * to the web console - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +// Tests that errors about insecure passwords are logged to the web console. "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_web_console_warning.js b/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_web_console_warning.js index bd9b5d4cf79c..f016b7a6dd04 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_web_console_warning.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_web_console_warning.js @@ -1,9 +1,10 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ -/* - * Tests that errors about insecure passwords are logged - * to the web console - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + + // Tests that errors about insecure passwords are logged to the web console. "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_764572_output_open_url.js b/devtools/client/webconsole/test/browser_webconsole_bug_764572_output_open_url.js index 2c2ba5076f9d..aec93f090099 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_764572_output_open_url.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_764572_output_open_url.js @@ -1,6 +1,8 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. */ + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // This is a test for the Open URL context menu item // that is shown for network requests diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_766001_JS_Console_in_Debugger.js b/devtools/client/webconsole/test/browser_webconsole_bug_766001_JS_Console_in_Debugger.js index b8c8384a12c2..bcffd8003ed2 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_766001_JS_Console_in_Debugger.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_766001_JS_Console_in_Debugger.js @@ -1,7 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that message source links for js errors and console API calls open in // the jsdebugger when clicked. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_770099_violation.js b/devtools/client/webconsole/test/browser_webconsole_bug_770099_violation.js index 6296d1a03c0e..4725ae635f1a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_770099_violation.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_770099_violation.js @@ -1,9 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the Web Console CSP messages are displayed diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js b/devtools/client/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js index 3e8202046ffb..06bdf9e82b03 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js @@ -1,8 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_804845_ctrl_key_nav.js b/devtools/client/webconsole/test/browser_webconsole_bug_804845_ctrl_key_nav.js index e34b42daa410..f1edabeae023 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_804845_ctrl_key_nav.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_804845_ctrl_key_nav.js @@ -1,13 +1,8 @@ -/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * zmgmoz - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test navigation of webconsole contents via ctrl-a, ctrl-e, ctrl-p, ctrl-n // see https://bugzilla.mozilla.org/show_bug.cgi?id=804845 diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_817834_add_edited_input_to_history.js b/devtools/client/webconsole/test/browser_webconsole_bug_817834_add_edited_input_to_history.js index 1b45621ed3f7..144c122a9e35 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_817834_add_edited_input_to_history.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_817834_add_edited_input_to_history.js @@ -1,13 +1,8 @@ -/* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * zmgmoz - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that user input that is not submitted in the command line input is not // lost after navigating in history. diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_837351_securityerrors.js b/devtools/client/webconsole/test/browser_webconsole_bug_837351_securityerrors.js index ed3827188824..c034d213dc06 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_837351_securityerrors.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_837351_securityerrors.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_922212_console_dirxml.js b/devtools/client/webconsole/test/browser_webconsole_bug_922212_console_dirxml.js index 1b5c4561ff9a..231b7d8ae350 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_922212_console_dirxml.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_922212_console_dirxml.js @@ -1,8 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that console.dirxml works as intended. diff --git a/devtools/client/webconsole/test/browser_webconsole_cached_autocomplete.js b/devtools/client/webconsole/test/browser_webconsole_cached_autocomplete.js index 8eaf69024443..aac837b3718c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_cached_autocomplete.js +++ b/devtools/client/webconsole/test/browser_webconsole_cached_autocomplete.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_cd_iframe.js b/devtools/client/webconsole/test/browser_webconsole_cd_iframe.js index baafaff5a419..8344eade5fbd 100644 --- a/devtools/client/webconsole/test/browser_webconsole_cd_iframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_cd_iframe.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that the cd() jsterm helper function works as expected. See bug 609872. diff --git a/devtools/client/webconsole/test/browser_webconsole_certificate_messages.js b/devtools/client/webconsole/test/browser_webconsole_certificate_messages.js index 2c1852018bb7..61817e8cd104 100644 --- a/devtools/client/webconsole/test/browser_webconsole_certificate_messages.js +++ b/devtools/client/webconsole/test/browser_webconsole_certificate_messages.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the Web Console shows weak crypto warnings (SHA-1 Certificate, SSLv3, and RC4) diff --git a/devtools/client/webconsole/test/browser_webconsole_change_font_size.js b/devtools/client/webconsole/test/browser_webconsole_change_font_size.js index ad87ce3dc4e5..12e722aa4110 100644 --- a/devtools/client/webconsole/test/browser_webconsole_change_font_size.js +++ b/devtools/client/webconsole/test/browser_webconsole_change_font_size.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Jennifer Fong - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_chrome.js b/devtools/client/webconsole/test/browser_webconsole_chrome.js index f7f3cd0e328e..900ff224eb95 100644 --- a/devtools/client/webconsole/test/browser_webconsole_chrome.js +++ b/devtools/client/webconsole/test/browser_webconsole_chrome.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_clickable_urls.js b/devtools/client/webconsole/test/browser_webconsole_clickable_urls.js index 3dd43af4c926..59c12f9e33bf 100644 --- a/devtools/client/webconsole/test/browser_webconsole_clickable_urls.js +++ b/devtools/client/webconsole/test/browser_webconsole_clickable_urls.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // When strings containing URLs are entered into the webconsole, check // its output and ensure that the output can be clicked to open those URLs. diff --git a/devtools/client/webconsole/test/browser_webconsole_closure_inspection.js b/devtools/client/webconsole/test/browser_webconsole_closure_inspection.js index 46951f288bee..449d13ea30fd 100644 --- a/devtools/client/webconsole/test/browser_webconsole_closure_inspection.js +++ b/devtools/client/webconsole/test/browser_webconsole_closure_inspection.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that inspecting a closure in the variables view sidebar works when // execution is paused. diff --git a/devtools/client/webconsole/test/browser_webconsole_column_numbers.js b/devtools/client/webconsole/test/browser_webconsole_column_numbers.js index ea03af445f6b..2d3afdcc8570 100644 --- a/devtools/client/webconsole/test/browser_webconsole_column_numbers.js +++ b/devtools/client/webconsole/test/browser_webconsole_column_numbers.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check if console provides the right column number alongside line number diff --git a/devtools/client/webconsole/test/browser_webconsole_completion.js b/devtools/client/webconsole/test/browser_webconsole_completion.js index 2f891bfcb641..74a778c8ab88 100644 --- a/devtools/client/webconsole/test/browser_webconsole_completion.js +++ b/devtools/client/webconsole/test/browser_webconsole_completion.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_console_api_stackframe.js b/devtools/client/webconsole/test/browser_webconsole_console_api_stackframe.js index 08dbcba42e28..27d05408ff84 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_api_stackframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_api_stackframe.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_console_custom_styles.js b/devtools/client/webconsole/test/browser_webconsole_console_custom_styles.js index a522fc47bb0f..38e850380c58 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_custom_styles.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_custom_styles.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_console_extras.js b/devtools/client/webconsole/test/browser_webconsole_console_extras.js index 1ebaad8ab71c..cee046da0557 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_extras.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_extras.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_console_logging_api.js b/devtools/client/webconsole/test/browser_webconsole_console_logging_api.js index d4e4d6d41f22..e68fafd4cf69 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_logging_api.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_logging_api.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_console_logging_workers_api.js b/devtools/client/webconsole/test/browser_webconsole_console_logging_workers_api.js index 6f434319a158..b88f1beac226 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_logging_workers_api.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_logging_workers_api.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the basic console.log()-style APIs and filtering work for // sharedWorkers diff --git a/devtools/client/webconsole/test/browser_webconsole_console_trace_async.js b/devtools/client/webconsole/test/browser_webconsole_console_trace_async.js index 2d9f74666b5b..9af662739f30 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_trace_async.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_trace_async.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_console_trace_duplicates.js b/devtools/client/webconsole/test/browser_webconsole_console_trace_duplicates.js index d30a8c117686..174b4b6c4d81 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_trace_duplicates.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_trace_duplicates.js @@ -1,3 +1,5 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js b/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js index 506d868dd22c..f7f452e3ab99 100644 --- a/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js +++ b/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_context_menu_store_as_global.js b/devtools/client/webconsole/test/browser_webconsole_context_menu_store_as_global.js index 4cac45d1e40d..48102a070520 100644 --- a/devtools/client/webconsole/test/browser_webconsole_context_menu_store_as_global.js +++ b/devtools/client/webconsole/test/browser_webconsole_context_menu_store_as_global.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_count.js b/devtools/client/webconsole/test/browser_webconsole_count.js index cef417b09aec..e64130fd3c39 100644 --- a/devtools/client/webconsole/test/browser_webconsole_count.js +++ b/devtools/client/webconsole/test/browser_webconsole_count.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that console.count() counts as expected. See bug 922208. diff --git a/devtools/client/webconsole/test/browser_webconsole_dont_navigate_on_doubleclick.js b/devtools/client/webconsole/test/browser_webconsole_dont_navigate_on_doubleclick.js index 50f6ba04dadd..e6b6ce29e779 100644 --- a/devtools/client/webconsole/test/browser_webconsole_dont_navigate_on_doubleclick.js +++ b/devtools/client/webconsole/test/browser_webconsole_dont_navigate_on_doubleclick.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that if a link in console is double clicked, the console frame doesn't // navigate to that destination (bug 975707). diff --git a/devtools/client/webconsole/test/browser_webconsole_exception_stackframe.js b/devtools/client/webconsole/test/browser_webconsole_exception_stackframe.js index 50afbcf12eb7..973e8495a60d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_exception_stackframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_exception_stackframe.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_execution_scope.js b/devtools/client/webconsole/test/browser_webconsole_execution_scope.js index 0726660c6fdf..a5306cda83e1 100644 --- a/devtools/client/webconsole/test/browser_webconsole_execution_scope.js +++ b/devtools/client/webconsole/test/browser_webconsole_execution_scope.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_expandable_timestamps.js b/devtools/client/webconsole/test/browser_webconsole_expandable_timestamps.js index dee0e2e6c35e..0cf1c0925d7b 100644 --- a/devtools/client/webconsole/test/browser_webconsole_expandable_timestamps.js +++ b/devtools/client/webconsole/test/browser_webconsole_expandable_timestamps.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test for the message timestamps option: check if the preference toggles the // display of messages in the console output. See bug 722267. diff --git a/devtools/client/webconsole/test/browser_webconsole_filter_buttons_contextmenu.js b/devtools/client/webconsole/test/browser_webconsole_filter_buttons_contextmenu.js index 853c7a2a4334..72dec2ec86f5 100644 --- a/devtools/client/webconsole/test/browser_webconsole_filter_buttons_contextmenu.js +++ b/devtools/client/webconsole/test/browser_webconsole_filter_buttons_contextmenu.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the filter button context menu logic works correctly. diff --git a/devtools/client/webconsole/test/browser_webconsole_for_of.js b/devtools/client/webconsole/test/browser_webconsole_for_of.js index da19535bcb2d..1733c446f7b5 100644 --- a/devtools/client/webconsole/test/browser_webconsole_for_of.js +++ b/devtools/client/webconsole/test/browser_webconsole_for_of.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // A for-of loop in Web Console code can loop over a content NodeList. diff --git a/devtools/client/webconsole/test/browser_webconsole_history.js b/devtools/client/webconsole/test/browser_webconsole_history.js index 25860b781c2a..4bf559b86117 100644 --- a/devtools/client/webconsole/test/browser_webconsole_history.js +++ b/devtools/client/webconsole/test/browser_webconsole_history.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_hpkp_invalid-headers.js b/devtools/client/webconsole/test/browser_webconsole_hpkp_invalid-headers.js index 9b773830a0f0..0e24cdc8007e 100644 --- a/devtools/client/webconsole/test/browser_webconsole_hpkp_invalid-headers.js +++ b/devtools/client/webconsole/test/browser_webconsole_hpkp_invalid-headers.js @@ -1,7 +1,11 @@ - /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ -/* Tests that errors about invalid HPKP security headers are logged - * to the web console */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +// Tests that errors about invalid HPKP security headers are logged to the web +// console. "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_hsts_invalid-headers.js b/devtools/client/webconsole/test/browser_webconsole_hsts_invalid-headers.js index df6ed1238854..6fd1803085e2 100644 --- a/devtools/client/webconsole/test/browser_webconsole_hsts_invalid-headers.js +++ b/devtools/client/webconsole/test/browser_webconsole_hsts_invalid-headers.js @@ -1,7 +1,11 @@ - /* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ -/* Tests that errors about invalid HSTS security headers are logged - * to the web console */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +// Tests that errors about invalid HSTS security headers are logged +// to the web console. "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_input_field_focus_on_panel_select.js b/devtools/client/webconsole/test/browser_webconsole_input_field_focus_on_panel_select.js index 014f874a63c9..98858469ae16 100644 --- a/devtools/client/webconsole/test/browser_webconsole_input_field_focus_on_panel_select.js +++ b/devtools/client/webconsole/test/browser_webconsole_input_field_focus_on_panel_select.js @@ -1,6 +1,8 @@ -/* Any copyright is dedicated to the Public Domain - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that the JS input field is focused when the user switches back to the // web console from other tools, see bug 891581. diff --git a/devtools/client/webconsole/test/browser_webconsole_inspect-parsed-documents.js b/devtools/client/webconsole/test/browser_webconsole_inspect-parsed-documents.js index 87217f74c0ab..b9ca62ac032c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_inspect-parsed-documents.js +++ b/devtools/client/webconsole/test/browser_webconsole_inspect-parsed-documents.js @@ -1,6 +1,8 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set ft=javascript ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that dynamically created (HTML|XML|SVG)Documents can be inspected by // clicking on the object in console (bug 1035198). diff --git a/devtools/client/webconsole/test/browser_webconsole_js_input_expansion.js b/devtools/client/webconsole/test/browser_webconsole_js_input_expansion.js index 84666ae44846..b0a87bae4228 100644 --- a/devtools/client/webconsole/test/browser_webconsole_js_input_expansion.js +++ b/devtools/client/webconsole/test/browser_webconsole_js_input_expansion.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_jsterm.js b/devtools/client/webconsole/test/browser_webconsole_jsterm.js index 3efaefff02ca..b2fb98739486 100644 --- a/devtools/client/webconsole/test/browser_webconsole_jsterm.js +++ b/devtools/client/webconsole/test/browser_webconsole_jsterm.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_live_filtering_of_message_types.js b/devtools/client/webconsole/test/browser_webconsole_live_filtering_of_message_types.js index aa4578ffa9ff..a6221bba536a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_live_filtering_of_message_types.js +++ b/devtools/client/webconsole/test/browser_webconsole_live_filtering_of_message_types.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js b/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js index f06b10edf4bd..722a32510a2a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js +++ b/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_log_file_filter.js b/devtools/client/webconsole/test/browser_webconsole_log_file_filter.js index 3e17adce53a0..8a27f773319a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_log_file_filter.js +++ b/devtools/client/webconsole/test/browser_webconsole_log_file_filter.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that the text filter box works to filter based on filenames // where the logs were generated. diff --git a/devtools/client/webconsole/test/browser_webconsole_message_node_id.js b/devtools/client/webconsole/test/browser_webconsole_message_node_id.js index 99ee36977aed..70d8d6062a58 100644 --- a/devtools/client/webconsole/test/browser_webconsole_message_node_id.js +++ b/devtools/client/webconsole/test/browser_webconsole_message_node_id.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_netlogging.js b/devtools/client/webconsole/test/browser_webconsole_netlogging.js index 3af5ae23dddd..28e5feb11bcf 100644 --- a/devtools/client/webconsole/test/browser_webconsole_netlogging.js +++ b/devtools/client/webconsole/test/browser_webconsole_netlogging.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_netlogging_reset_filter.js b/devtools/client/webconsole/test/browser_webconsole_netlogging_reset_filter.js index 5d70d0a91f1a..90cea282c431 100644 --- a/devtools/client/webconsole/test/browser_webconsole_netlogging_reset_filter.js +++ b/devtools/client/webconsole/test/browser_webconsole_netlogging_reset_filter.js @@ -1,3 +1,5 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_notifications.js b/devtools/client/webconsole/test/browser_webconsole_notifications.js index d4ef6b2cf55f..4284df2cbea3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_notifications.js +++ b/devtools/client/webconsole/test/browser_webconsole_notifications.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_open-links-without-callback.js b/devtools/client/webconsole/test/browser_webconsole_open-links-without-callback.js index fdf2b1a470de..a87a969967a6 100644 --- a/devtools/client/webconsole/test/browser_webconsole_open-links-without-callback.js +++ b/devtools/client/webconsole/test/browser_webconsole_open-links-without-callback.js @@ -1,6 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that if a link without an onclick callback is clicked the link is // opened in a new tab and no exception occurs (bug 999236). diff --git a/devtools/client/webconsole/test/browser_webconsole_output_01.js b/devtools/client/webconsole/test/browser_webconsole_output_01.js index e9b57009b315..33591dfc4625 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_01.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_01.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. diff --git a/devtools/client/webconsole/test/browser_webconsole_output_02.js b/devtools/client/webconsole/test/browser_webconsole_output_02.js index d738835b4981..35ba309caf0f 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_02.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_02.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test the webconsole output for various types of objects. diff --git a/devtools/client/webconsole/test/browser_webconsole_output_03.js b/devtools/client/webconsole/test/browser_webconsole_output_03.js index 06d44c6055d6..1342be54463c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_03.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_03.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test the webconsole output for various types of objects. diff --git a/devtools/client/webconsole/test/browser_webconsole_output_04.js b/devtools/client/webconsole/test/browser_webconsole_output_04.js index 71b706db4b04..3033024a34f2 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_04.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_04.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. diff --git a/devtools/client/webconsole/test/browser_webconsole_output_05.js b/devtools/client/webconsole/test/browser_webconsole_output_05.js index b391a35998a6..273e17733e15 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_05.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_05.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test the webconsole output for various types of objects. diff --git a/devtools/client/webconsole/test/browser_webconsole_output_06.js b/devtools/client/webconsole/test/browser_webconsole_output_06.js index 2f3779844444..14f3174715a9 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_06.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_06.js @@ -1,6 +1,8 @@ - /* vim: set ft=javascript ts=2 et sw=2 tw=80: */ - /* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_output_copy_newlines.js b/devtools/client/webconsole/test/browser_webconsole_output_copy_newlines.js index 81037bc023bd..b241a6ea1ba9 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_copy_newlines.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_copy_newlines.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that multiple messages are copied into the clipboard and that they are // separated by new lines. See bug 916997. diff --git a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_01.js b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_01.js index cb928bed98f7..7c0cf66a6cab 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_01.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_01.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejections should be fixed. diff --git a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_02.js b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_02.js index a9fb70cce056..0b344dc80adf 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_02.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_02.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test the inspector links in the webconsole output for DOM Nodes actually // open the inspector and select the right node diff --git a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_03.js b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_03.js index 48f9f91d36d9..ffbbb0854e7e 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_03.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_03.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that inspector links in webconsole outputs for DOM Nodes highlight // the actual DOM Nodes on hover diff --git a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_04.js b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_04.js index 799277e6e544..c1a9344556ca 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_04.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_04.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test that inspector links in the webconsole output for DOM Nodes do not try // to highlight or select nodes once they have been detached diff --git a/devtools/client/webconsole/test/browser_webconsole_output_events.js b/devtools/client/webconsole/test/browser_webconsole_output_events.js index d3c673d8b88c..5744a92bbd5b 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_events.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_events.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Whitelisting this test. // As part of bug 1077403, the leaking uncaught rejection should be fixed. diff --git a/devtools/client/webconsole/test/browser_webconsole_output_order.js b/devtools/client/webconsole/test/browser_webconsole_output_order.js index 2a7de73f1f65..448b756eda3a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_order.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_order.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_regexp.js b/devtools/client/webconsole/test/browser_webconsole_output_regexp.js index f06beb1fa9a2..b61dff6b6ccd 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_regexp.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_regexp.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Test the webconsole output for various types of objects. diff --git a/devtools/client/webconsole/test/browser_webconsole_output_table.js b/devtools/client/webconsole/test/browser_webconsole_output_table.js index 59c8129ecd52..238f37fdb3ad 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_table.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_table.js @@ -1,6 +1,8 @@ - /* vim: set ft=javascript ts=2 et sw=2 tw=80: */ - /* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that console.table() works as intended. diff --git a/devtools/client/webconsole/test/browser_webconsole_promise.js b/devtools/client/webconsole/test/browser_webconsole_promise.js index 737c03945285..6ca7c128f3d8 100644 --- a/devtools/client/webconsole/test/browser_webconsole_promise.js +++ b/devtools/client/webconsole/test/browser_webconsole_promise.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Bug 1148759 - Test the webconsole can display promises inside objects. diff --git a/devtools/client/webconsole/test/browser_webconsole_property_provider.js b/devtools/client/webconsole/test/browser_webconsole_property_provider.js index 10b677334384..4b64064172ff 100644 --- a/devtools/client/webconsole/test/browser_webconsole_property_provider.js +++ b/devtools/client/webconsole/test/browser_webconsole_property_provider.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_reflow.js b/devtools/client/webconsole/test/browser_webconsole_reflow.js index 42b2226437b7..59331e34c7d4 100644 --- a/devtools/client/webconsole/test/browser_webconsole_reflow.js +++ b/devtools/client/webconsole/test/browser_webconsole_reflow.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_scratchpad_panel_link.js b/devtools/client/webconsole/test/browser_webconsole_scratchpad_panel_link.js index c3096c259bd9..4d21694a1fbb 100644 --- a/devtools/client/webconsole/test/browser_webconsole_scratchpad_panel_link.js +++ b/devtools/client/webconsole/test/browser_webconsole_scratchpad_panel_link.js @@ -1,6 +1,8 @@ -/* vim: set ts=2 et sw=2 tw=80: */ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js b/devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js index 740064b1fa00..7d2b96e9e8f4 100644 --- a/devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js +++ b/devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js @@ -1,8 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Ensure non-toplevel security errors are displayed diff --git a/devtools/client/webconsole/test/browser_webconsole_shows_reqs_in_netmonitor.js b/devtools/client/webconsole/test/browser_webconsole_shows_reqs_in_netmonitor.js index 48fb34917071..d013ed7a652e 100644 --- a/devtools/client/webconsole/test/browser_webconsole_shows_reqs_in_netmonitor.js +++ b/devtools/client/webconsole/test/browser_webconsole_shows_reqs_in_netmonitor.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_split.js b/devtools/client/webconsole/test/browser_webconsole_split.js index 5d67615f50a8..99449af60a27 100644 --- a/devtools/client/webconsole/test/browser_webconsole_split.js +++ b/devtools/client/webconsole/test/browser_webconsole_split.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_split_escape_key.js b/devtools/client/webconsole/test/browser_webconsole_split_escape_key.js index 7eacb951536f..7ae9c5899167 100644 --- a/devtools/client/webconsole/test/browser_webconsole_split_escape_key.js +++ b/devtools/client/webconsole/test/browser_webconsole_split_escape_key.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_split_focus.js b/devtools/client/webconsole/test/browser_webconsole_split_focus.js index 8be08d8a6e08..0315908c32e3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_split_focus.js +++ b/devtools/client/webconsole/test/browser_webconsole_split_focus.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_split_persist.js b/devtools/client/webconsole/test/browser_webconsole_split_persist.js index 8cf717308bcf..808a824bbe3a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_split_persist.js +++ b/devtools/client/webconsole/test/browser_webconsole_split_persist.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; diff --git a/devtools/client/webconsole/test/browser_webconsole_start_netmon_first.js b/devtools/client/webconsole/test/browser_webconsole_start_netmon_first.js index 4d4ac8dbe8c9..c3089d9c90b0 100644 --- a/devtools/client/webconsole/test/browser_webconsole_start_netmon_first.js +++ b/devtools/client/webconsole/test/browser_webconsole_start_netmon_first.js @@ -1,3 +1,5 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/browser_webconsole_strict_mode_errors.js b/devtools/client/webconsole/test/browser_webconsole_strict_mode_errors.js index 66d8e778d2ef..3c326d3f2469 100644 --- a/devtools/client/webconsole/test/browser_webconsole_strict_mode_errors.js +++ b/devtools/client/webconsole/test/browser_webconsole_strict_mode_errors.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Check that "use strict" JS errors generate errors, not warnings. diff --git a/devtools/client/webconsole/test/browser_webconsole_trackingprotection_errors.js b/devtools/client/webconsole/test/browser_webconsole_trackingprotection_errors.js index a3df1419a9ab..660c4c2d6aee 100644 --- a/devtools/client/webconsole/test/browser_webconsole_trackingprotection_errors.js +++ b/devtools/client/webconsole/test/browser_webconsole_trackingprotection_errors.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Load a page with tracking elements that get blocked and make sure that a // 'learn more' link shows up in the webconsole. diff --git a/devtools/client/webconsole/test/browser_webconsole_view_source.js b/devtools/client/webconsole/test/browser_webconsole_view_source.js index 45e1561678c2..114cf25c0299 100644 --- a/devtools/client/webconsole/test/browser_webconsole_view_source.js +++ b/devtools/client/webconsole/test/browser_webconsole_view_source.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // Tests that source URLs in the Web Console can be clicked to display the // standard View Source window. diff --git a/devtools/client/webconsole/test/head.js b/devtools/client/webconsole/test/head.js index 51dff262cd25..63f64951467a 100644 --- a/devtools/client/webconsole/test/head.js +++ b/devtools/client/webconsole/test/head.js @@ -1,4 +1,5 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ diff --git a/devtools/client/webconsole/test/test-bug-595934-canvas-css.js b/devtools/client/webconsole/test/test-bug-595934-canvas-css.js index cc364d6a305a..b7dc4b1f3662 100644 --- a/devtools/client/webconsole/test/test-bug-595934-canvas-css.js +++ b/devtools/client/webconsole/test/test-bug-595934-canvas-css.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ window.addEventListener("DOMContentLoaded", function() { var canvas = document.querySelector("canvas"); diff --git a/devtools/client/webconsole/test/test-bug-595934-empty-getelementbyid.js b/devtools/client/webconsole/test/test-bug-595934-empty-getelementbyid.js index dd94d716d661..4fc04f5fd8d1 100644 --- a/devtools/client/webconsole/test/test-bug-595934-empty-getelementbyid.js +++ b/devtools/client/webconsole/test/test-bug-595934-empty-getelementbyid.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ window.addEventListener("load", function() { document.getElementById(""); diff --git a/devtools/client/webconsole/test/test-bug-595934-workers.js b/devtools/client/webconsole/test/test-bug-595934-workers.js index 4e93c967b771..962e01e822d4 100644 --- a/devtools/client/webconsole/test/test-bug-595934-workers.js +++ b/devtools/client/webconsole/test/test-bug-595934-workers.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ onmessage = function() { fooBarWorker(); diff --git a/devtools/client/webconsole/test/test-bug-597136-external-script-errors.js b/devtools/client/webconsole/test/test-bug-597136-external-script-errors.js index 87c0aff8e0f2..2a4102cf55e9 100644 --- a/devtools/client/webconsole/test/test-bug-597136-external-script-errors.js +++ b/devtools/client/webconsole/test/test-bug-597136-external-script-errors.js @@ -1,12 +1,8 @@ -/* vim:set ts=2 sw=2 sts=2 et: */ -/* ***** BEGIN LICENSE BLOCK ***** - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - * - * Contributor(s): - * Patrick Walton - * - * ***** END LICENSE BLOCK ***** */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ function f() { bogus.g(); diff --git a/devtools/client/webconsole/test/test-bug-601177-log-levels.js b/devtools/client/webconsole/test/test-bug-601177-log-levels.js index ea37f533d8d6..6d02d4756cbc 100644 --- a/devtools/client/webconsole/test/test-bug-601177-log-levels.js +++ b/devtools/client/webconsole/test/test-bug-601177-log-levels.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ foobarBug601177strictError = "strict error"; diff --git a/devtools/client/webconsole/test/test-bug-603750-websocket.js b/devtools/client/webconsole/test/test-bug-603750-websocket.js index 3746424cc687..93ef14604b3a 100644 --- a/devtools/client/webconsole/test/test-bug-603750-websocket.js +++ b/devtools/client/webconsole/test/test-bug-603750-websocket.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ window.addEventListener("load", function () { var ws1 = new WebSocket("ws://0.0.0.0:81"); diff --git a/devtools/client/webconsole/test/test-bug-766001-console-log.js b/devtools/client/webconsole/test/test-bug-766001-console-log.js index 8f6a3bb9ca14..a6bd2a4be638 100644 --- a/devtools/client/webconsole/test/test-bug-766001-console-log.js +++ b/devtools/client/webconsole/test/test-bug-766001-console-log.js @@ -1,7 +1,8 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ function onLoad123() { console.log("Blah Blah"); diff --git a/devtools/client/webconsole/test/test-bug-766001-js-errors.js b/devtools/client/webconsole/test/test-bug-766001-js-errors.js index 932204395cf1..e1dade197c07 100644 --- a/devtools/client/webconsole/test/test-bug-766001-js-errors.js +++ b/devtools/client/webconsole/test/test-bug-766001-js-errors.js @@ -1,7 +1,9 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + window.addEventListener("load", function() { document.bar(); }, false); diff --git a/devtools/client/webconsole/test/test-bug_923281_test1.js b/devtools/client/webconsole/test/test-bug_923281_test1.js index 81342a437688..88282afb0786 100644 --- a/devtools/client/webconsole/test/test-bug_923281_test1.js +++ b/devtools/client/webconsole/test/test-bug_923281_test1.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ console.log("Sample log."); console.log("This log should be filtered when filtered for test2.js."); diff --git a/devtools/client/webconsole/test/test-bug_923281_test2.js b/devtools/client/webconsole/test/test-bug_923281_test2.js index f523103cd1b7..236e3b197d23 100644 --- a/devtools/client/webconsole/test/test-bug_923281_test2.js +++ b/devtools/client/webconsole/test/test-bug_923281_test2.js @@ -1,4 +1,7 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ console.log("This is a random text."); diff --git a/devtools/client/webconsole/test/test-file-location.js b/devtools/client/webconsole/test/test-file-location.js index f97ce57259dd..e2e926e5b83a 100644 --- a/devtools/client/webconsole/test/test-file-location.js +++ b/devtools/client/webconsole/test/test-file-location.js @@ -1,7 +1,9 @@ -/* - * Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ - */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + console.log("message for level log"); console.info("message for level info"); console.warn("message for level warn"); diff --git a/devtools/shared/webconsole/test/common.js b/devtools/shared/webconsole/test/common.js index ef5ef35e11e9..45d84d90147f 100644 --- a/devtools/shared/webconsole/test/common.js +++ b/devtools/shared/webconsole/test/common.js @@ -1,5 +1,8 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict";