Commit Graph

3895 Commits

Author SHA1 Message Date
Ehsan Akhgari
2475f22cbe Bug 919320 - Minimize the #includes in netwerk/protocol; r=mcmanus 2013-09-22 23:35:52 -04:00
Ehsan Akhgari
a2b69d5030 Bug 919296 - Minimize the #includes in netwerk/ IDL files; r=mcmanus 2013-09-22 23:35:05 -04:00
Ehsan Akhgari
159e00aa38 Bug 919292 - Minimize the #includes in netwerk/streamconv; r=mcmanus 2013-09-22 23:34:09 -04:00
Phil Ringnalda
9c5131c9f6 Back out c93c3f52689c (bug 904170) for b2g desktop bustage
CLOSED TREE
2013-09-22 20:21:26 -07:00
Patrick McManus
b48609f368 bug 904170 - telemetry for daily http data consumption r=jduell 2013-09-22 23:01:10 -04:00
Nicholas Hurley
3c97fdab69 Bug 881804 (part 1) - Add support for predictive network actions. r=mcmanus f=honzab sr=biesi 2013-09-20 15:24:06 -07:00
Ed Morley
5e4e53c436 Bug 913807 - Fix up merge conflicts 2013-09-20 12:33:47 +01:00
Ed Morley
4a3427461b Merge mozilla-central and inbound 2013-09-20 10:55:03 +01:00
Ed Morley
0b498129ee Merge latest green inbound changeset and mozilla-central 2013-09-20 10:18:21 +01:00
Ed Morley
107311fe95 Merge mozilla-central and fx-team 2013-09-19 16:27:11 +01:00
Michal Novotny
3476cf6e3d Bug 913807 - HTTP cache v2: file I/O, off by default, r=honzab 2013-09-20 11:11:26 +02:00
Honza Bambas
da53acf440 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Robert Bindar
aef14ce337 Bug 915090 - Ping test and local servers for reaching tests. r=mcmanus 2013-09-19 08:50:21 -04:00
Wes Kocher
818ff844d4 Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Wes Kocher
ee41ec25e3 Backed out changeset 040522aacba4 (bug 913847) 2013-09-18 17:18:56 -07:00
Benoit Jacob
af97fdd40d Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Benoit Jacob
18df240efb Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Mike Hommey
7371888973 Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
John Shih
a64ff312a6 Bug 855949 - Network Per-App Metering on WebSocket. r=mcmanus 2013-09-12 11:39:14 +08:00
David Keeler
90fbdbf5d1 bug 913092 - remove unnecessary nsIPermissionManager in TestSTSParser r=mcmanus 2013-09-17 15:47:01 -07:00
Ryan VanderMeulen
449cad53d5 Backed out changeset 9fa8dd98a23c (bug 911325) for Android Armv6 xpcshell orange.
CLOSED TREE
2013-09-17 21:56:51 -04:00
Patrick McManus
947b301aa8 bug 911325 - detect mismatch between 206 content-range and 200 content-length r=jduell 2013-09-17 18:44:03 -04:00
Shih-Chiang Chien
0f9c045489 Bug 901805 - Report network activity in nsUDPServerSocket. r=honzab 2013-09-17 16:07:06 -04:00
Simone Carletti
48487c3002 Bug 910095 - update PSL for .ng. r=gerv. DONTBUILD.
--HG--
extra : rebase_source : b17d19f0ccac18f28a44cdb80588af61c3a360b3
2013-09-17 17:54:41 +01:00
Simone Carletti
e248caa61d Bug 910095 - update .sv and .om in PSL, and relevant test. r=gerv.
--HG--
extra : rebase_source : a6866a18f959f15af84640e1efa935b1e16ca415
2013-09-17 17:51:49 +01:00
Simone Carletti
3a55bc1867 Bug 912464 - update PSL for .ar. r=gerv.
--HG--
extra : rebase_source : ac1d0137c965018ab3ad1637a62a8e185861a00e
2013-09-17 17:56:51 +01:00
Camilo Viecco
546a202c87 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
e405bd80a2 Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus 2013-09-17 12:38:55 -04:00
Ehsan Akhgari
2ca40d9fee Remove three unused variables, no bug 2013-09-22 15:59:54 -04:00
Birunthan Mohanathas
eefecb0ae1 Bug 784739 - Switch from NULL to nullptr in netwerk/ (2/2); r=ehsan 2013-09-19 15:29:27 -04:00
Birunthan Mohanathas
79bf43a7d3 Bug 784739 - Switch from NULL to nullptr in netwerk/ (1/2); r=ehsan 2013-09-19 15:28:26 -04:00
Benoit Jacob
43fcdc2ede Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-19 09:54:42 -04:00
Benoit Jacob
b268087442 Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
025fc12dba Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
46e38d15e3 Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent 2013-06-03 18:14:37 +08:00
Marco Castelluccio
c421d01ddb Bug 905881 - Move the package to the local installation directory. r=fabrice, r=myk 2013-09-13 08:32:47 -04:00
Ryan VanderMeulen
982559c42b Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Ryan VanderMeulen
b2d6edce8e Merge fx-team to m-c. 2013-09-11 21:48:20 -04:00
Robert Bindar
45b7d4594d Bug 912103 - Tests for about:networking - http, dns, sockets, and websockets. r=valentin.gosu 2013-09-11 09:49:51 -04:00
Patrick McManus
916501b1ec bug 903484 - dont close spdy sessions with preferred entry if they can't actually coalesce yet r=hurley 2013-09-11 10:11:23 -04:00
Dan Gohman
586b9aee99 Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Jason Duell
76f59997fa Bug 898156 - crash in thumbnail generation @ mozilla::net::FTPChannelParent::OnStartRequest r=mcmanus 2013-09-11 01:10:59 -07:00
Jim Blandy
44724c65c2 Bug 913848: Attempt to fix intermittent test_unix_domain.js timeout with MOAR ASYNC. r=mayhemer
This patch makes the tests avoid expecting data from the client to be
available to the server immediately upon accepting a connection; instead,
the server uses asyncWait to receive those first bytes. This changes both
test_echo and test_connect_permission.

I've pushed this through the try server twice, and it didn't hang. In
either case, it adds a few more do_prints to give me more clues about the
source of the problem.
2013-09-11 14:00:19 -07:00
Nicholas Nethercote
fd238cabbe Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
James Kitchener
65211fb616 Bug 912981 - Expose srcdoc status in nsIViewSourceChannel. r=bz 2013-09-10 13:40:35 -04:00
Wes Kocher
2b1697dede Backed out changeset 88fd66b4944c (bug 897221) 2013-09-09 15:50:32 -07:00
Jim Chen
984c566d50 Bug 897221 - Schedule in main process and notify content processes of updates for B2G; r=fabrice 2013-09-09 15:47:47 -04:00
Jim Chen
61597cacd1 Bug 897221 - Add test for UserAgentUpdates.jsm; r=fabrice 2013-09-09 15:47:47 -04:00
Jim Chen
58bde26ed5 Bug 897221 - Initialize UserAgentUpdates.jsm inside UserAgentOverrides; r=fabrice 2013-09-09 15:47:47 -04:00
Jim Chen
61da25f5ef Bug 897221 - Add UserAgentUpdates.jsm; r=fabrice 2013-09-09 15:47:47 -04:00
Ed Morley
50ba829a39 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Nicholas Nethercote
9d7bc3d7f1 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Valentin Gosu
0dddd3046e Bug 622728 - Add NS_NewRunnableMethodWithArg. r=bsmedberg 2013-09-06 21:29:24 -04:00
Monica Chew
f81c78d346 Bug 904607: Add protocol parser for -digest256 lists (r=gcp). 2013-09-06 17:12:33 -07:00
Ed Morley
93ac26880b Merge mozilla-central and inbound 2013-09-06 16:23:50 +01:00
Ed Morley
ea69a10fdf Merge latest green fx-team changeset and mozilla-central 2013-09-06 16:19:32 +01:00
Jim Blandy
3ce8b0ca6a 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
445da12934 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
544b219f25 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
3e52bff456 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
c4c655813c 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
82367c4c5a Bug 909218 - add defaultLoadFlags to nsILoadGroup and have the docShell set them. r=mayhemer 2013-09-06 16:33:29 +10:00
Steve Workman
2902e2918a Bug 913151 - Always call nsInputStreamPump::OnStateTransfer on the main thread r=jduell 2013-09-05 17:07:04 -07:00
Patrick McManus
a0d1043c3d bug 910518 - check httpchannel for listener release on redirect callback r=jduell
--HG--
extra : rebase_source : 36a8adb0f863f01576b0991f10a0252e708f49e2
2013-09-05 16:20:15 -04:00
Robert O'Callahan
8ca63f18ef 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
Phil Ringnalda
3914af6be4 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
86b7ae4c3a Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Wes Kocher
10df022340 Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Wes Kocher
8ccb104e0e Merge fx-team to m-c on a CLOSED TREE 2013-09-04 17:02:06 -07:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Patrick McManus
538e56a476 bug 912582 - false start rc4 and rsa accomodations need exact principal matches r=dkeeler 2013-09-04 17:01:02 -04:00
Patrick McManus
91c0ac13b0 bug 907800 - only retry http 408 when it is suspected of being a persistent reuse race r=jduell 2013-09-04 16:39:25 -04:00
Catalin Iordache
fd3f57df0f Bug 912259 - about:networking DNS Lookup Diagnostic Tool - patch over backend. r=mcmanus 2013-09-04 12:50:11 -04:00
Phil Ringnalda
c1c484bd50 Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
fab628e981 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
eb3f8a45e2 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
295f553e4e Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Nicholas Nethercote
d74157039d 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
9bd3f5df0a Bug 909050 - Prevent about:networking from returning PB data. r=mcmanus 2013-08-31 12:06:14 -04:00
Sahil Chelaramani
0bfcb9e6b0 Bug 909283 - Change all occurances of yield to (yield undefined) in test_cache_jar.js. r=jdm 2013-08-30 23:08:44 -04:00
Ryan VanderMeulen
aa35c93fbe Merge fx-team to m-c. 2013-08-30 21:00:08 -04:00
Ryan VanderMeulen
1703a4f003 Merge m-c to fx-team. 2013-08-30 13:41:29 -04:00
Mike de Boer
4b78a28954 Bug 900865: Make about:home call nsISearchEngine.getSubmission for all searches. r=gavin 2013-08-30 18:20:22 +02:00
Andrea Marchesini
d80e13725f Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Gregory Szorc
4672bbb630 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Ryan VanderMeulen
b53a496903 Backed out changeset 41729438f597 (bug 900865) for Windows mochitest-bc crashes. 2013-08-29 15:48:29 -04:00
Mike de Boer
db6d7f59cc Bug 900865: Make about:home call nsISearchEngine.getSubmission for all searches. r=gavin 2013-08-28 13:36:48 +02:00
Brian O'Keefe
b0a1c0a276 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 4; r=mshal 2013-08-15 09:12:40 -04:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
3c9a9235c5 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
Birunthan Mohanathas
08ff2024e9 Bug 884332 - Part 1: Check and handle buffer truncation without asserting when converting UTF-16 to UCS-4 in nsIDNService.cpp. r=bsmith 2013-08-30 08:13:19 -04:00
Nicholas Nethercote
c765d05739 Bug 831193 (part 2) - Don't use NS_MEMORY_REPORTER_IMPLEMENT for the effective-tld-service reporter. r=michal.novotny.
--HG--
extra : rebase_source : d9c79c95d14f8a958e0a5a268a5e1665efbe22ce
2013-01-15 21:26:44 -08:00
Justin Lebar
4aeeb65d91 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
Geoff Brown
5a46efbe2b Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher 2013-08-25 10:58:31 -06:00
Phil Ringnalda
0267f47531 Merge m-i to m-c 2013-08-25 08:20:24 -07:00
Gavin Sharp
9f0b9f359c 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
Gabriele Svelto
619cc7ccf1 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Ms2ger
b5df99e7e3 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
b6e8140bfc Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Geoff Brown
b35d3fe181 Bug 905344 - Change server port to -1 in test_load_module.js; r=waldo 2013-08-23 09:11:34 -06:00