Commit Graph

2963 Commits

Author SHA1 Message Date
Benoit Jacob
ef57b5655b Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Wes Kocher
de3dfc4a8e Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Wes Kocher
0b90687d1e Backed out changeset 040522aacba4 (bug 913847) 2013-09-18 17:18:56 -07:00
Benoit Jacob
5526ea7b69 Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Benoit Jacob
1b7e3c520e Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Shih-Chiang Chien
df8998c4db Bug 901805 - Report network activity in nsUDPServerSocket. r=honzab 2013-09-17 16:07:06 -04:00
Camilo Viecco
d5158d67a8 Bug 916226: Enable ecdhe AES128 CGM ciphers in psm now that nss support them. r=bsmith
--HG--
extra : rebase_source : 82379823637ef6cda9ffd8765881ff30a76b5b46
2013-09-16 15:43:05 -07:00
Ehsan Akhgari
c915f4615d Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus 2013-09-17 12:38:55 -04:00
Dan Gohman
a50084b38d Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
James Kitchener
3519f75625 Bug 912981 - Expose srcdoc status in nsIViewSourceChannel. r=bz 2013-09-10 13:40:35 -04:00
Valentin Gosu
77d1d37b73 Bug 622728 - Add NS_NewRunnableMethodWithArg. r=bsmedberg 2013-09-06 21:29:24 -04:00
Monica Chew
383e668837 Bug 904607: Add protocol parser for -digest256 lists (r=gcp). 2013-09-06 17:12:33 -07:00
Ed Morley
49a648594f Merge mozilla-central and inbound 2013-09-06 16:23:50 +01:00
Ed Morley
870b708409 Merge latest green fx-team changeset and mozilla-central 2013-09-06 16:19:32 +01:00
Jim Blandy
c0a631fad9 Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
b8289518e2 Bug 892114: Whitespace and spelling fixes encountered while working on Unix domain socket support. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
58ad28120e Bug 899757: Make nsServerSocket::InitWithAddress provide more detailed error results. r=mayhemer, r=ted
I looked through the NSPR socket creation functions that InitWithAddress
uses to see which errors they could return, and placed appropriate comments
in ErrorAccordingToNSPR.

The test coverage is not great; in particular, I wasn't able to find a way
to elicit "address in use" errors from Windows (although I could from
Linux); the web says that Windows is much more relaxed about binding
listening sockets than Unix derivatives. I'm interested in suggestions.
2013-09-06 08:06:22 -07:00
Jim Blandy
4f05888198 Bug 899757: Distinguish PR_ADDRESS_NOT_SUPPORTED_ERROR from other network failures. r=mayhemer
I broke out this this change on its own, because it seemed to require some care:
PR_ADDRESS_NOT_SUPPORTED_ERROR used to be lumped in with several other NSPR
error codes and reported as NS_ERROR_CONNECTION_REFUSED; and a dumb grep shows
that the NS_ERROR_ is widely checked for. Introducing the distinction might
require the new NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED value to be checked for
everywhere that currently checks for NS_ERROR_CONNECTION_REFUSED.

But that seems unlikely to be necessary: first of all, it shouldn't really
be possible, via the XPCOM interface, to force this error path to occur at
present: the components' implementations are in complete control over which
socket address types get used. I also did a Try push with a call to
NS_ABORT if a PR_ADDRESS_NOT_SUPPORTED_ERROR ever flows through
ErrorAccordingToNSPR; there were no crashes.

But if that's so, then why introduce the new error code at all? A later
patch adds support for Unix-domain sockets, a type of socket address which
is *not* supported on non-Unix systems. In that case, a distinct error code
will help people diagnose problems quickly.
2013-09-06 08:06:22 -07:00
Catalin Iordache
23de39cbe7 Bug 910942 - Don't include unnecessary things in netwerk/.../Dashboard. r=mcmanus, r=valentin.gosu 2013-09-05 16:12:38 -04:00
Mark Hammond
40f61430b5 Bug 909218 - add defaultLoadFlags to nsILoadGroup and have the docShell set them. r=mayhemer 2013-09-06 16:33:29 +10:00
Steve Workman
ad84723ad2 Bug 913151 - Always call nsInputStreamPump::OnStateTransfer on the main thread r=jduell 2013-09-05 17:07:04 -07:00
Robert O'Callahan
03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Wes Kocher
545fbb7bd2 Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Wes Kocher
f3cdf6ec00 Merge fx-team to m-c on a CLOSED TREE 2013-09-04 17:02:06 -07:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Catalin Iordache
d613892237 Bug 912259 - about:networking DNS Lookup Diagnostic Tool - patch over backend. r=mcmanus 2013-09-04 12:50:11 -04:00
Nicholas Nethercote
01c70c8c97 Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Valentin Gosu
29c726a932 Bug 909050 - Prevent about:networking from returning PB data. r=mcmanus 2013-08-31 12:06:14 -04:00
Ryan VanderMeulen
d6b66b2d53 Merge m-c to fx-team. 2013-08-30 13:41:29 -04:00
Mike de Boer
0dd746c947 Bug 900865: Make about:home call nsISearchEngine.getSubmission for all searches. r=gavin 2013-08-30 18:20:22 +02:00
Andrea Marchesini
4c65dc3395 Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Ryan VanderMeulen
dfe10b3ffb Backed out changeset 41729438f597 (bug 900865) for Windows mochitest-bc crashes. 2013-08-29 15:48:29 -04:00
Mike de Boer
5b03824427 Bug 900865: Make about:home call nsISearchEngine.getSubmission for all searches. r=gavin 2013-08-28 13:36:48 +02:00
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
1494818c8f Bug 909623 (part 5) - Remove |#include "jsapi.h"| from jsfriendapi.h. r=luke.
--HG--
extra : rebase_source : 2a7f0f65f3e08bb15ade23f4c556340650b48c71
2013-08-21 22:28:12 -07:00
Justin Lebar
35a65ed466 Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Gavin Sharp
dc192469a8 Bug 907893: update nsIBrowserSearchService IID because we forgot to in bug 493051, r=lumpy
--HG--
extra : transplant_source : %81%8F%8Dw2%BCp%E6%02B%CE6%23%F5%8Bz%A7%88%A0p
2013-08-24 08:09:10 -07:00
Makoto Kato
033e608a90 Bug 901820 - Part 1. replace nsCRT::strdup with strdup. r=bsmedberg 2013-08-22 19:31:48 +09:00
Ms2ger
f805d8d6eb Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
913bab58b0 Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
49f603cd4d Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
John Schoenick
e4df1399c9 Bug 902375 - Strict file origin policy - handle case where the target is the parent directory of the source. r=bz 2013-08-21 14:47:53 -07:00
Nicholas Nethercote
2585de9a07 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Patrick McManus
d3818c2ab0 bug 900322 dont nsithread->shutdown() from dtor r=karlt 2013-08-20 16:49:22 -04:00
Trevor Saunders
acfc9e9cd6 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Patrick McManus
0fccd9a520 bug 902170 - don't log data: PAC URIs to JS console r=jduell 2013-08-12 17:07:38 -04:00
Brian O'Keefe
61565e4086 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ms2ger
9d023a67df Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger
1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Steve Workman
55ccfb3702 Bug 897904 - Set nsInputStreamPump::mStatus only if EnsureWaiting fails 2013-08-12 11:13:23 -07:00
Nicholas Nethercote
d8f824e34e Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Ehsan Akhgari
03a33dc5da Bug 902082 - Forward-declare PSpdyPush3 in nsILoadGroup.h; r=mcmanus 2013-08-07 15:01:40 -04:00
Nicholas Nethercote
9624be5713 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
David Keeler
698f43041b bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-08-02 16:23:18 -07:00
David Keeler
6be2e1d4e0 bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-08-02 15:48:37 -07:00
Ryan VanderMeulen
9973ce0c8b Backed out changesets 5f8a88c6d0c8 and 97fcb5a154d8 (bug 887052) for OSX mochitest-other orange.
--HG--
rename : netwerk/base/public/nsISiteSecurityService.idl => netwerk/base/public/nsIStrictTransportSecurityService.idl
rename : security/manager/boot/src/nsSiteSecurityService.cpp => security/manager/boot/src/nsStrictTransportSecurityService.cpp
rename : security/manager/boot/src/nsSiteSecurityService.h => security/manager/boot/src/nsStrictTransportSecurityService.h
2013-08-05 16:18:06 -04:00
David Keeler
dfff78a666 bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-07-01 10:49:40 -07:00
David Keeler
fd28a3ce4c bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-07-01 09:30:11 -07:00
Catalin Iordache
9aa61b2c24 Bug 890513 - Diagnostic tool: DNS Lookup implementation. r=valentin.gosu 2013-08-02 12:42:45 -04:00
Bobby Holley
6f87931f0a Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke 2013-08-01 18:38:47 -07:00
Nathan Froyd
8f04d5ed49 Bug 900047 - remove nsIOThreadPool code; r=jduell 2013-07-31 12:04:47 -04:00
Robert Bindar
5167e2015f Bug 890597 - Transport layer ping diagnostic tool. r=valentin.gosu 2013-07-31 09:16:44 -04:00
Ehsan Akhgari
ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Bobby Holley
43974de990 Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke 2013-07-29 16:45:26 -07:00
Ryan VanderMeulen
2c49080aca Merge m-c to inbound. 2013-07-29 18:42:45 -04:00
Robert Bindar
343917fd58 Bug 897910 - Trace data sent or received by Firefox. r=mcmanus 2013-07-29 12:08:03 -04:00
Adrian Lungu
8bac10e69e Bug 887984 - Send telemetry data from NTLM Init() methods. r=honzab 2013-07-25 09:54:11 -07:00
Mike de Boer
d3a98caab4 Bug 890690 - Add postDataString property to nsISearchSubmission. r=gavin
--HG--
extra : transplant_source : %F8%86%BD%9A%0Bt%95%F8%DC%E5%FA%BD%C8%3BP%87%A1%CB/%95
2013-07-19 19:56:38 +02:00
Paolo Amadini
c9ba52a780 Bug 896179 - Crash in BackgroundFileSaver when append is enabled and hashing is disabled. r=mcmanus 2013-07-24 10:16:01 +02:00
Catalin Iordache
3ebe2a0a79 Bug 888628 - Create another field for HttpRetParams structure which keeps track of half open connections. r=valentin.gosu 2013-07-23 10:52:01 -04:00
Joshua Cranmer
b82a7849fb Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
37465bc6bd Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus
--HG--
extra : rebase_source : d029f73a1f27896c142f76dce263dd3542763b18
2013-07-18 21:24:13 -05:00
Cameron McCormack
cd4006ab60 Backout bdceed703766 (bug 887984) for Windows build failures. 2013-07-23 13:43:45 +10:00
Adrian Lungu
1b8eddbd1f Bug 887984 - Send telemetry data from NTLM Init() methods. r=mayhemer 2013-07-18 12:00:04 -07:00
Arnaud Sourioux
38d6c0d455 Bug 883360 - Remove bool operator and nsMainThreadPtrHolder conversion. r=bsmedberg 2013-07-19 12:53:12 -04:00
Gregory Szorc
5cf35af589 No Bug - Removing empty Makefile.in files; r=me 2013-07-18 09:09:28 -07:00
Ehsan Akhgari
192bc42d5e Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Bobby Holley
055a4a328f Bug 887334 - Miscellaneous JSAutoCompartments. r=luke 2013-07-17 11:53:53 -07:00
Brian O'Keefe
f4815f2203 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Hector Zhao
21f841bfd8 Bug 892340 - Remove Off-Main-Thread XPCWrappedJS refcounting from (UDP)ServerSocketListenerProxy. r=mcmanus 2013-07-11 14:00:52 +08:00
Benoit Girard
be559fe75a Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Trevor Saunders
f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Patrick McManus
ec80b06fb8 bug 888268 - wifi tickler for mitigating 802.11 psp mode on android r=dougt
--HG--
extra : rebase_source : a767b6c10501105b3c5d22043f11745807caf2f9
2013-07-11 11:39:36 -04:00
Ryan VanderMeulen
d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger
ac8ead2b37 Bug 890700 - Use MOZ_THIS_IN_INITIALIZER_LIST in netwerk/; r=bsmith 2013-07-10 11:57:34 +02:00
Steve Workman
881c09835a Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz 2013-07-08 18:45:26 -07:00
Steve Workman
39eb54cc4f Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell 2013-07-08 18:45:25 -07:00
Robert Bindar
41eb003349 Bug 888583 - Expose protocol version in about:networking. r=valentin.gosu 2013-07-08 16:35:08 -04:00
Ryan VanderMeulen
a3a6e8df2c Backed out changesets f9f13232e35f and 134b4feaff02 (bug 888583) for bustage. 2013-07-08 09:31:45 -04:00
Robert Bindar
438700f162 Bug 888583 - Expose protocol version in about:networking. r=mcmanus 2013-07-08 09:10:19 -04:00
Randy Lin
de7424c43f Bug 803414 - Part 2: Add DOMTemporaryFileBlob and TemporaryFileInputStream. r=roc 2013-07-02 11:00:37 +08:00
Paolo Amadini
9c4fd821b1 Bug 887425 - BackgroundFileSaver should support appending to an existing file. r=mcmanus, sr=biesi 2013-07-09 13:59:59 +02:00
Doug Turner
3de9e6a0cf Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
John Schoenick
115f9ae25d Bug 406541 - Split NS_CheckStrictFileOriginPolicy out of nsPrincipal::CheckMayLoad. r=bs 2013-07-02 16:40:39 -07:00
Patrick McManus
6e0db9c17e bug 878792 - part 2/2 - 64bit clean logging changes for socket transport r=hurley 2013-07-01 12:40:12 -04:00
Patrick McManus
aa11bf9a79 bug 878792 - orphaned CLOSE_WAIT sockets with multiple A records r=hurley 2013-07-02 16:41:19 -04:00
Mike Shal
884dee0b5a Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4); r=joey 2013-07-01 11:34:30 -04:00
Patrick McManus
1fdcea773a bug 658222 - Enable TLS False Start (PSM) r=bsmith
--HG--
extra : rebase_source : ac9f77ba73a0a902f4b6aa8d52add7d52efb1b53
2013-06-28 16:58:28 -04:00