Commit Graph

3809 Commits

Author SHA1 Message Date
Ryan VanderMeulen
1f1fb8a044 Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Ryan VanderMeulen
30168b484b Merge fx-team to m-c. 2013-09-11 21:48:20 -04:00
Robert Bindar
42fa38f702 Bug 912103 - Tests for about:networking - http, dns, sockets, and websockets. r=valentin.gosu 2013-09-11 09:49:51 -04:00
Patrick McManus
dfebb04067 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
8b7074b6dc Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Jason Duell
72c1fa7bb5 Bug 898156 - crash in thumbnail generation @ mozilla::net::FTPChannelParent::OnStartRequest r=mcmanus 2013-09-11 01:10:59 -07:00
Jim Blandy
b40f8e056b 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
9d1d4e73b0 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
1b2b3a4929 Bug 912981 - Expose srcdoc status in nsIViewSourceChannel. r=bz 2013-09-10 13:40:35 -04:00
Wes Kocher
8e0fc9121c Backed out changeset 88fd66b4944c (bug 897221) 2013-09-09 15:50:32 -07:00
Jim Chen
b6c5019f3f 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
6c84b1e663 Bug 897221 - Add test for UserAgentUpdates.jsm; r=fabrice 2013-09-09 15:47:47 -04:00
Jim Chen
23d4940b0d Bug 897221 - Initialize UserAgentUpdates.jsm inside UserAgentOverrides; r=fabrice 2013-09-09 15:47:47 -04:00
Jim Chen
8a4d8ea587 Bug 897221 - Add UserAgentUpdates.jsm; r=fabrice 2013-09-09 15:47:47 -04:00
Ed Morley
5eb2bdb5c4 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
85d3324d5e 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
14afabb9f3 Bug 622728 - Add NS_NewRunnableMethodWithArg. r=bsmedberg 2013-09-06 21:29:24 -04:00
Monica Chew
8796e58da3 Bug 904607: Add protocol parser for -digest256 lists (r=gcp). 2013-09-06 17:12:33 -07:00
Ed Morley
b8995a71d5 Merge mozilla-central and inbound 2013-09-06 16:23:50 +01:00
Ed Morley
f49790f43b Merge latest green fx-team changeset and mozilla-central 2013-09-06 16:19:32 +01:00
Jim Blandy
d5b6b24fc6 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
6581e4276a 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
28ebe45d1b 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
742666beae 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
b1526fc677 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
57cb2e4175 Bug 909218 - add defaultLoadFlags to nsILoadGroup and have the docShell set them. r=mayhemer 2013-09-06 16:33:29 +10:00
Steve Workman
16f5cf53c9 Bug 913151 - Always call nsInputStreamPump::OnStateTransfer on the main thread r=jduell 2013-09-05 17:07:04 -07:00
Patrick McManus
aacaed533b 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
33cdb42706 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
ad36ee41a9 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
43ad5b4dcf 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
8bba56d03f Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Wes Kocher
6adaca6598 Merge fx-team to m-c on a CLOSED TREE 2013-09-04 17:02:06 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Patrick McManus
3ba6fb1c1b bug 912582 - false start rc4 and rsa accomodations need exact principal matches r=dkeeler 2013-09-04 17:01:02 -04:00
Patrick McManus
1e8ba573b6 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
0d2e09c3ea Bug 912259 - about:networking DNS Lookup Diagnostic Tool - patch over backend. r=mcmanus 2013-09-04 12:50:11 -04:00
Phil Ringnalda
271703650a Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
f10d205e39 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
88db37da09 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
bceea37cd9 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Nicholas Nethercote
191ed08f6a 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
889ebbb081 Bug 909050 - Prevent about:networking from returning PB data. r=mcmanus 2013-08-31 12:06:14 -04:00
Sahil Chelaramani
97105b864d 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
5fd596509a Merge fx-team to m-c. 2013-08-30 21:00:08 -04:00
Ryan VanderMeulen
75bf650b68 Merge m-c to fx-team. 2013-08-30 13:41:29 -04:00
Mike de Boer
6d805dd6c8 Bug 900865: Make about:home call nsISearchEngine.getSubmission for all searches. r=gavin 2013-08-30 18:20:22 +02:00
Andrea Marchesini
4715ba2404 Bug 887364 - URL API for main thread. r=ehsan 2013-09-04 13:07:21 -04:00
Gregory Szorc
7693c5688d Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Ryan VanderMeulen
12e1ab669d Backed out changeset 41729438f597 (bug 900865) for Windows mochitest-bc crashes. 2013-08-29 15:48:29 -04:00