Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Daniel Stenberg 41837a73eb Bug 939318 - Introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the network changed event in test_ping_aboutnetworking.js
2014-09-19 06:36:00 -04:00
Ed Morley 04d60c2607 Backed out changeset fedb7e3d1ae0 (bug 939318) 2014-09-24 16:17:14 +01:00
Daniel Stenberg c29b234f19 Bug 939318 - Introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the network changed event in test_ping_aboutnetworking.js
2014-09-19 06:36:00 -04:00
Jim Blandy 7e20285e70 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
Jim Blandy b004cbf7cd Bug 914753: Fix broken Emacs mode lines. DONTBUILD r=ehsan
Don't bother to fix the misspelled mode names; we'll drop them in the next patch.
2014-06-24 22:11:56 -07:00
Valentin Gosu a673f808ca Bug 983000 - "Intermittent test_ping_aboutnetworking.js | test failed (with xpcshell return code: 0), see following log | -1 != -1 - See following stack" r=mcmanus 2014-05-01 15:57:00 +02:00
Valentin Gosu ff4fa43bdb Bug 991116 - Intermittent test_ping_aboutnetworking.js. r=mcmanus
Use nsMainThreadPtrHandle<NetDashboardCallback> for JS objects.
Remove pointles code that clears the JS callback.
Fix test using out of scope variable.
2014-04-23 23:45:10 +03:00
Valentin Gosu e77f94f5e6 Bug 983000 - Call requestSockets only after successfully establishing a connection. r=mcmanus 2014-03-13 13:08:04 +01:00
Robert Bindar d5481a6e40 Bug 923686 - Refactor about:networking return values. r=hurley 2013-11-20 09:29:01 -05:00
Ed Morley d089bd9c45 Bug 913807 - Fix up merge conflicts 2013-09-20 12:33:47 +01:00
Robert Bindar bd07376938 Bug 915090 - Ping test and local servers for reaching tests. r=mcmanus 2013-09-19 08:50:21 -04:00