gecko/dom/tests/browser
Jim Blandy b6b202b6bb Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
..
browser_autofocus_background.js
browser_autofocus_preference.js
browser_bug396843.js
browser_bug1004814.js Bug 1004814 - console.time/timeEnd work in workers, r=bz 2014-05-06 10:50:12 +01:00
browser_ConsoleAPITests.js Bug 823097 - Add support for %c style formatting in the web console; r=past,bz 2014-04-10 17:59:21 +03:00
browser_ConsoleStorageAPITests.js Backed out changeset 46c16792274f (bug 1010955) for suspicion of causing memory leaks on a CLOSED TREE 2014-05-19 15:02:58 +02:00
browser_ConsoleStoragePBTest_perwindowpb.js Bug 965860 - patch 1 - Convert ConsoleAPIStorage in a Service, r=msucan, r=khuey 2014-02-27 23:38:54 +00:00
browser_focus_steal_from_chrome_during_mousedown.js Bug 1000894 - fix browser-chrome tests in dom/tests/browser/ to not replace the original tab; r=ehsan 2014-04-24 21:02:59 -04:00
browser_focus_steal_from_chrome.js Bug 1000894 - fix browser-chrome tests in dom/tests/browser/ to not replace the original tab; r=ehsan 2014-04-24 21:02:59 -04:00
browser_frame_elements.html
browser_frame_elements.js Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
browser_geolocation_privatebrowsing_page.html
browser_geolocation_privatebrowsing_perwindowpb.js
browser_localStorage_privatestorageevent.js
browser_test__content.js
browser_test_new_window_from_content.js Bug 989501 - Part 4: Tests for window opening behaviours over browser.link.open_newwindow and browser.link.open_newwindow.restriction. rs=smaug. 2014-06-20 14:09:26 -04:00
browser_webapps_permissions.js Bug 898647 - Backend for app updates. r=myk,fabrice 2014-03-15 14:37:37 -07:00
browser_webapps_perms_reinstall.js Bug 1011458 - Buy back a few characters for Windows paths by renaming tests staging directory. r=ted 2014-05-16 04:55:00 +02:00
browser_xhr_sandbox.js
browser.ini Bug 989501 - Part 4: Tests for window opening behaviours over browser.link.open_newwindow and browser.link.open_newwindow.restriction. rs=smaug. 2014-06-20 14:09:26 -04:00
network_geolocation.sjs
page_privatestorageevent.html
test_bug1004814.html Bug 1004814 - console.time/timeEnd work in workers, r=bz 2014-05-06 10:50:12 +01:00
test_new_window_from_content_child.html Bug 989501 - Part 4: Tests for window opening behaviours over browser.link.open_newwindow and browser.link.open_newwindow.restriction. rs=smaug. 2014-06-20 14:09:26 -04:00
test_new_window_from_content_child.js Bug 989501 - Part 4: Tests for window opening behaviours over browser.link.open_newwindow and browser.link.open_newwindow.restriction. rs=smaug. 2014-06-20 14:09:26 -04:00
test-console-api.html Bug 965860 - patch 4 - Console format string, r=khuey 2014-02-27 23:39:12 +00:00
test-webapp-original.webapp
test-webapp-reinstall.webapp
test-webapp.webapp
test-webapps-permissions.html
worker_bug1004814.js Bug 1004814 - console.time/timeEnd work in workers, r=bz 2014-05-06 10:50:12 +01:00