Commit Graph

5448 Commits

Author SHA1 Message Date
Patrick McManus
1980794790 bug 1076129 generate event on socket transport cancelation r=sworkman 2014-10-02 00:47:28 -04:00
Ryan VanderMeulen
9b7cb69f1b Merge m-c to inbound. a=merge 2014-10-03 16:26:37 -04:00
Dave Townsend
f2143abb88 Bug 1077078: Don't spam stderr when failing to create a channel. r=mcmanus 2014-10-03 09:59:10 -07:00
Ed Morley
f34acba2a8 Backed out changeset a2192165100c (bug 1041180) for xpcshell failures; CLOSED TREE 2014-10-03 10:12:53 +01:00
Christoph Kerschbaumer
0bacef12a1 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-02 23:34:30 -07:00
Daniel Holbert
b2fa190df1 Bug 1073711: Clean up nsCacheService::CreateSessionInternal; drop useless null-check of 'this' and after 'new', and use nsRefPtr::forget(). r=mayhemer 2014-10-03 10:54:44 -07:00
Ryan VanderMeulen
e5793f09bd Backed out 3 changesets (bug 1076129, bug 1003448) for frequent xpcshell crashes on a CLOSED TREE.
Backed out changeset 3034162ee435 (bug 1003448)
Backed out changeset 086fe4b0ba14 (bug 1003448)
Backed out changeset 1babd65ebec7 (bug 1076129)
2014-10-02 15:53:21 -04:00
Patrick McManus
e6ca8478f3 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [2/2 necko] r=hurley 2014-08-21 10:50:17 -04:00
Patrick McManus
1239a3e897 bug 1003448 - HTTP/2 Alternate Service and Opportunistic Security [1/2 PSM] r=keeler 2014-08-20 16:30:16 -04:00
Patrick McManus
d59eea946b bug 1076129 generate event on socket transport cancelation r=sworkman 2014-10-02 00:47:28 -04:00
Ryan VanderMeulen
990ae72de0 Merge m-c to inbound. a=merge 2014-10-02 13:14:06 -04:00
Ryan VanderMeulen
9e879e02d8 Merge fx-team to m-c. a=merge 2014-10-02 13:00:31 -04:00
Christoph Kerschbaumer
1a3d83a58a Bug 1073282 - Proxy release of mLoadInfo in cannel dtors (r=jduell) 2014-09-29 08:48:11 -07:00
Patrick McManus
d2772198b4 bug 1073747 - nsurlparser xpcom methods don't validate input r=sworkman 2014-09-27 14:51:19 -04:00
Richard Newman
ff8f989d85 Bug 1071785 - Fix strict mode error in httpd.js. r=trivial 2014-10-01 18:09:42 -07:00
Jacek Caban
85d51fc6c4 Bug 1067679 - mingw fixup. 2014-10-01 10:58:30 +02:00
Carsten "Tomcat" Book
e2ff1820af Merge m-c to mozilla-inbound 2014-09-30 15:35:59 +02:00
Honza Bambas
193df74284 Bug 1064258 - Allow caching channels only store metadata, r=jduell 2014-09-30 15:32:47 +02:00
Carsten "Tomcat" Book
1f82b2fb58 merge fx-team to mozilla-central a=merge 2014-09-30 15:10:47 +02:00
Ryan VanderMeulen
7420c8422d Merge m-c to fx-team. a=merge 2014-09-29 16:09:22 -04:00
Ed Morley
45fcc7c2ff Backed out changeset 50220dbf59ed (bug 1064258) for xpcshell failures; CLOSED TREE 2014-09-29 17:43:10 +01:00
Honza Bambas
754c1af9cc Bug 1064258 - Allow caching channels only store metadata, r=jduell 2014-09-29 17:01:58 +02:00
Christoph Kerschbaumer
9c3b215c94 Bug 1072316 - Proxy release of mLoadInfo in WebSocketChannel dtor (r=jduell) 2014-09-25 07:23:27 -07:00
Stephen Pohl
cf2ca1fd7c Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher 2014-09-29 11:51:29 -07:00
Ben Turner
141df104d6 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
James Willcox
3e19f27830 Bug 1024614 - Guard against null resolver when flushing DNS cache r=sworkman
--HG--
extra : histedit_source : 028f9b336a9da0ede7fec22afc4cabd00b86222f
2014-09-26 13:31:22 -05:00
Camilo Viecco
1954b909cc Bug 787133 - (hpkp) Part 1/2. Header Parsing and interface within PSM. r=keeler, r=mcmanus 2014-09-03 10:24:12 -07:00
Patrick McManus
83b1a493e3 bug 1072860 - modernize ref counting and thread asserts for nshttptransaction r=valentin 2014-09-23 19:18:47 -04:00
Eric Rahm
6f45f5dd6c Bug 1075984 - SpdyZlibReporter.h is missing an include guard. r=froydnj
--HG--
extra : rebase_source : 1765ff21f520e07da6337ce0b4a8c1190d46fdb7
2014-10-01 13:57:18 -07:00
Phil Ringnalda
dd7ebaded4 Back out 693507b38116 (bug 1041180) since it doesn't like compiling without its friend
CLOSED TREE
2014-09-25 21:18:01 -07:00
Christoph Kerschbaumer
0de2d98100 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-25 16:10:28 -07:00
Wes Kocher
bc0709c6bc Backed out changeset 0b75d671af47 (bug 1072860) for b2g m3 orange 2014-09-25 16:45:14 -07:00
Patrick McManus
589b59a268 bug 1072860 - modernize ref counting and thread asserts for nshttptransaction r=valentin 2014-09-23 19:18:47 -04:00
Ryan VanderMeulen
4cf7455ce4 Merge inbound to m-c. a=merge 2014-09-25 16:46:51 -04:00
Jonathan Hao
2a91faeeab Bug 1024276 - Replace multiple character literals with enumerated constants. r=sworkman 2014-09-19 18:01:40 +08:00
Steve Workman
e3ffd2b86d Bug 1070966 - Change WrapRunnableNM to NS_NewRunnableMethodWithArg r=mcmanus 2014-09-24 09:56:13 -07:00
Andrea Marchesini
308a9b24dc Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz 2014-09-24 17:09:50 +01:00
Ed Morley
6c7b4f5958 Backed out changeset 89d06d103c10 (bug 939318) for Valgrind failures; CLOSED TREE 2014-09-24 16:17:57 +01:00
Ed Morley
fc392ab02d Backed out changeset 0a066b7ffa46 (bug 939318) 2014-09-24 16:17:32 +01:00
Ed Morley
d70213fe4e Backed out changeset 20ae968df114 (bug 939318) 2014-09-24 16:17:27 +01:00
Ed Morley
2d34f1993e Backed out changeset a7f522902e40 (bug 939318) 2014-09-24 16:17:23 +01:00
Ed Morley
be82e4f5d9 Backed out changeset c15814d1ec25 (bug 939318) 2014-09-24 16:17:18 +01:00
Ed Morley
d9e3d2c7f8 Backed out changeset fedb7e3d1ae0 (bug 939318) 2014-09-24 16:17:14 +01:00
Daniel Stenberg
a0eaf77f38 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
Daniel Stenberg
f27fff6422 Bug 939318 - Send a network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-09-19 06:34:00 -04:00
Daniel Stenberg
c0691b4a28 Bug 939318 - Have websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
e6b07731ef Bug 939318 - Have protocolproxy service act on network change. r=mcmanus
Reloads the PAC on network change, but avoids the reload if the
specified PAC URL is a file: or a data: one - as those are not likely to
have changed just because the network changed.
2014-09-05 09:29:00 -04:00
Daniel Stenberg
d4de9b21f4 Bug 939318 - Find and close HTTP connections without traffic after network change, r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-09-11 06:55:00 -04:00
Daniel Stenberg
9b14e61d5f Bug 939318 - Detect network interface changes on windows. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected. It does not send any CHANGED events
during the first 2 seconds after startup.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache and restarts
ongoing name resolves)

HttpHandler: acts on network changes
2014-09-23 03:48:00 -04:00
Carsten "Tomcat" Book
bb6b27d528 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Carsten "Tomcat" Book
f9320e7667 Backed out changeset 13028d2039e8 (bug 1069401) for b2g m1 test failures 2014-09-24 12:40:43 +02:00
Christoph Kerschbaumer
72c6a44018 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Andrea Marchesini
9dc4fd68a2 Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz 2014-09-23 22:26:00 +02:00
Wes Kocher
0300f6d4af Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Christoph Kerschbaumer
5453719121 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Nicholas Hurley
f5d481fd4d Bug 1046915 - Pref to advertise the latest HTTP/2 draft as "h2". r=mcmanus 2014-09-23 10:49:13 -07:00
Nils Ohlmeier [:drno]
999a679fe9 Bug 1049688 - Allow override of MOZ_DISABLE_NONLOCAL_CONNECTIONS. r=froydnj 2014-09-22 09:48:00 -04:00
Christoph Kerschbaumer
7879c92b87 Bug 1037669: Setting LoadInfo explicitly for nsIWebSocketChannels (r=tanvi,jduell) 2014-08-13 13:26:17 -07:00
Daniel Stenberg
c9509d1945 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
Daniel Stenberg
5cc4927898 Bug 939318 - Send a network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-09-19 06:34:00 -04:00
Daniel Stenberg
714212437e Bug 939318 - Have websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
f94b737def Bug 939318 - Have protocolproxy service act on network change. r=mcmanus
Reloads the PAC on network change, but avoids the reload if the
specified PAC URL is a file: or a data: one - as those are not likely to
have changed just because the network changed.
2014-09-05 09:29:00 -04:00
Daniel Stenberg
820cb9c20e Bug 939318 - Find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-09-11 06:55:00 -04:00
Daniel Stenberg
19d039df28 Bug 939318 - Detect network interface changes on Windows. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected. It does not send any CHANGED events
during the first 2 seconds after startup.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache and restarts
ongoing name resolves)

HttpHandler: acts on network changes
2014-09-24 23:14:00 -04:00
Valentin Gosu
9363a1533b Bug 1011354 - Use a mutex to guard access to nsHttpTransaction::mConnection. r=mcmanus, r=honzab 2014-09-18 22:21:59 +03:00
Christoph Kerschbaumer
5a5770c020 Bug 1038756: Refactor SetUpChannelOwner to ChannelShouldInheritPrincipal (r=bz) 2014-07-17 16:07:58 -07:00
Christoph Kerschbaumer
d73465b906 Bug 1038756: Callsites creating a channel in /netwerk/ [e10s parts] (r=mcmanus) 2014-09-21 09:40:27 -07:00
Christoph Kerschbaumer
a298cfb2d1 Bug 1038756: Callsites creating a channel in /netwerk/ (r=mcmanus)
* * *
[mq]: child_parent_communication.patch
2014-09-21 09:40:12 -07:00
Christoph Kerschbaumer
86ac863b72 Bug 1038756: Extend nsNetutil to include requestingPrincipal, requestingNode, and contentPolicyType (r=mcmanus) 2014-07-17 14:52:25 -07:00
J. Ryan Stinnett
322790378f Bug 242448 - Add a basic scriptable TLS server. r=honzab 2014-09-19 17:25:00 +02:00
David Major
8c0502a467 Bug 1067679 followup - fix build bustage with VS2013.
--HG--
extra : rebase_source : 63b5b6795d53d70b2d3b3efa1efee1ea2ae2b9df
2014-09-22 13:52:28 +12:00
John Sullivan
edc23b7817 Bug 1067679 - Call DnsQuery in addition to getaddrinfo to get DNS TTL on Windows r=sworkman 2014-09-20 15:10:18 -07:00
Julian Seward
bb22142b53 Bug 1065130 - nsFtpState::mDoomCache is used uninitialised r=jduell 2014-09-19 13:12:10 -07:00
Carsten "Tomcat" Book
a3f25d54e1 Backed out changeset 23400439c1da (bug 242448) for breaking non-unified builds 2014-09-19 11:39:04 +02:00
Carsten "Tomcat" Book
a69ac84315 Backed out changeset 824da93333e7 (bug 1065130) for bustage 2014-09-19 09:41:34 +02:00
Julian Seward
4f42311f55 Bug 1065130 - "nsFtpState::mDoomCache is used uninitialised". r=jduell.mcbugs 2014-09-09 14:54:00 +02:00
J. Ryan Stinnett
6d7b3cb914 Bug 242448 - Add a basic scriptable TLS server. r=honzab 2014-09-18 08:13:00 +02:00
Tom Tromey
4e26acc2f9 Bug 1069387 - Fix "Transaction" typos in netwerk/protocol/http. r=mcmanus 2014-09-18 08:13:00 -04:00
Patrick McManus
b4a19a84c8 bug 1048468 - pac resolution with myIPAddress can block on dns timeouts r=sworkman 2014-09-18 11:53:30 -04:00
Ben Turner
26edfb8667 Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Valentin Gosu
6e9120ce80 Bug 1064706 - Send timing info to content process r=honzab 2014-10-06 14:33:27 +03:00
Valentin Gosu
76f03084dd Bug 1064706 - Move nsHttpChannel::GetPerformance to HttpBaseChannel so it can be used in HttpChannelChild r=honzab 2014-10-06 14:33:13 +03:00
Josh Matthews
bde1d32e83 Bug 898524: Part 2 - Avoid IPC roundtrips for synthesized responses. r=mayhemer 2014-10-17 09:55:09 -04:00
Josh Matthews
7dde338c16 Bug 898524 - Part 1: Permit certain HTTP channels to be intercepted before initiating a network connection. r=mayhemer 2014-07-09 16:35:02 -04:00
Dragana Damjanovic
c9443fd0b0 Bug 1081794 - Fixing a test for dns request cancel. On e10s, the dns resolver is sometimes faster than a cancel request. Use a random string to be resolved instead of a fix one. r=sworkman 2014-10-14 10:03:00 +02:00
Camilo Viecco
e647f88ae5 Bug 787133 - (hpkp) update nsSiteSecurityService idl. r=keeler.
--HG--
extra : rebase_source : 6671c4026d6a8413adc3c71cb374321756a51f6c
2014-09-12 14:56:53 -07:00
Dragana Damjanovic
7adc5b3ce4 Bug 1067346 - Fix "apply conversion" when channel is diverted to parent. r=jduell 2014-09-16 06:30:00 -04:00
Wes Kocher
48ee047035 Merge inbound to m-c a=merge 2014-09-16 17:06:43 -07:00
Henry Chang
b02ca9a6f7 Bug 1058022 - B2G crashes during RTSP and HTTP streaming playback. r=sworkman 2014-09-10 16:09:48 +08:00
Michal Novotny
50c34b82c7 Bug 1056919 - crash in memcpy | mozilla::net::CacheFileChunk::OnDataRead(mozilla::net::CacheFileHandle*, char*, tag_nsresult), r=honzab 2014-09-16 20:37:39 +02:00
Honza Bambas
f387fc251d Bug 1065478 - POSTs are coming from offline application cache, r=jduell 2014-09-16 15:51:51 +02:00
Honza Bambas
68d2a7c257 Bug 1066726 - Concurrent HTTP cache read and write issues, r=michal+jduell 2014-09-16 15:51:50 +02:00
Honza Bambas
ee43f2e8a8 Bug 1029782 - Have OPEN_SECRETLY flag for opening cache entries, r=michal 2014-09-16 15:51:50 +02:00
Honza Bambas
882f9ddf23 Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal 2014-09-16 15:51:50 +02:00
Mark Hammond
f9a0630114 Bug 1058433 - nsPermissionManager now records the mod-time of a permission and allows removal of ones modified since a specified time. r=ehsan 2014-09-15 11:33:12 +10:00
Ben Turner
b3c31c0c49 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Carsten "Tomcat" Book
411a228105 Backed out changeset ce8f00cca9dd (bug 1000338) for XPC-2 test failures 2014-09-11 14:31:54 +02:00
Carsten "Tomcat" Book
e03354c9e3 Backed out changeset 25c721fd5dc6 (bug 1029782) for XPCshell bustage on a CLOSED TREE 2014-09-11 13:07:41 +02:00
Honza Bambas
4ce87c28cb Bug 1029782 - Have OPEN_SECRETLY flag for opening cache entries, r=michal 2014-09-11 11:44:31 +02:00
Honza Bambas
2846883729 Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal 2014-09-11 11:44:31 +02:00
Michal Novotny
981990a55c Bug 1052266 - Potential deadlock detected: CacheEntry, CacheIndex.mLock, CacheStorageService at CacheEntry, r=honzab 2014-09-10 14:43:50 +02:00
Kyle Huey
a34a3ab32d Bug 982212: Part 3 - Now that nsTArray::AppendElement supports r-value references, remove the workarounds added in Bug 967364. r=nfroyd
--HG--
extra : rebase_source : 1e6188d26b745f6dc9bdf2accc0abf7f07351510
2014-03-15 18:56:00 +01:00
Valentin Gosu
c7a5fff644 Bug 936814 - Part 1: Implement the _timing allow check algorithm_ for cross-origin Resource Timing r=bz,honzab 2014-05-15 08:26:07 +03:00
Bobby Holley
16ad956f14 Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz 2014-09-09 16:02:10 -07:00
Valentin Gosu
24863e4c29 Bug 473822 - Square brackets not percent-encoded in URI's query-part. r=jduell 2014-09-06 01:32:04 +03:00
Carsten "Tomcat" Book
1e9ad66b26 Backed out changeset 876ba605d62c (bug 939318) for XPCTest Failures 2014-09-08 12:41:53 +02:00
Carsten "Tomcat" Book
cec0cfd191 Backed out changeset 6c0f309856fc (bug 939318) XPCTest Failures 2014-09-08 12:41:39 +02:00
Carsten "Tomcat" Book
05ff9e4327 Backed out changeset 5d4a27b67b96 (bug 939318) for XPCTest failures 2014-09-08 12:41:28 +02:00
Carsten "Tomcat" Book
9db06fa0fa Backed out changeset 19325851ecee (bug 939318) for XPCtest failures 2014-09-08 12:41:16 +02:00
Carsten "Tomcat" Book
2779b6dbd6 Backed out changeset d4b3920ae4a3 (bug 939318) for XPCtest failures 2014-09-08 12:40:52 +02:00
Daniel Stenberg
768a615222 Bug 939318 - send network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-08-24 23:21:00 +02:00
Daniel Stenberg
c85bd51a16 Bug 939318 - websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 +02:00
Daniel Stenberg
5c268b4f05 Bug 939318 - protocolproxy service acts on network change. r=mcmanus
Reloads the PAC on network change, but avoids the reload if the
specified PAC URL is a file: or a data: one - as those are not likely to
have changed just because the network changed.
2014-09-05 09:29:00 +02:00
Daniel Stenberg
cd29f4684a Bug 939318 - find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-08-24 23:20:00 +02:00
Daniel Stenberg
0ede3a0f79 Bug 939318 - detect network interface changes on windows properly. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-29 01:18:00 +02:00
David Keeler
7083e45f19 bug 775370 - (part 2/2) use DataStorage as back-end to nsSiteSecurityService r=briansmith 2014-09-04 10:42:31 -07:00
Carsten "Tomcat" Book
c8d51a56fb Backed out changeset 4c214efc94f8 (bug 939318) 2014-09-05 13:10:50 +02:00
Carsten "Tomcat" Book
97c48a9219 Backed out changeset f6442e1ba5f0 (bug 939318) 2014-09-05 13:10:48 +02:00
Carsten "Tomcat" Book
c5405e9e5f Backed out changeset 775de48c0e2b (bug 939318) 2014-09-05 13:10:45 +02:00
Carsten "Tomcat" Book
9c06b14d2c Backed out changeset fee0bffd3a91 (bug 939318) 2014-09-05 13:10:43 +02:00
Carsten "Tomcat" Book
ef9f6c8d69 Backed out changeset a96f30861b6c (bug 939318) 2014-09-05 13:10:39 +02:00
Carsten "Tomcat" Book
cb0bff4cfe Backed out changeset c25e5f0020fe (bug 939318) 2014-09-05 13:10:23 +02:00
Daniel Stenberg
f11c453a5f 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-03 02:14:00 +02:00
Daniel Stenberg
c7ef4fb8d8 Bug 939318 - send network changed event when returning from sleep, r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-08-24 23:21:00 +02:00
Daniel Stenberg
42d17f2bf7 Bug 939318 - websockets act on network interface changes, r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 +02:00
Daniel Stenberg
f8cfa5b3f7 Bug 939318 - protocolproxy service acts on network change. r=mcmanus
Reloads the PAC on network change, but avoids the reload if the
specified PAC URL is a file: or a data: one - as those are not likely to
have changed just because the network changed.
2014-09-04 06:14:00 +02:00
Daniel Stenberg
37b3226ba9 Bug 939318 - find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-08-24 23:20:00 +02:00
Daniel Stenberg
0da6f62065 Bug 939318 - detect network interface changes on windows properly, r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-29 01:18:00 +02:00
Wes Kocher
db3d33320b Merge m-c to inbound a=merge 2014-09-04 18:47:52 -07:00
Wes Kocher
c537f62af1 Merge inbound to m-c a=merge 2014-09-04 18:30:01 -07:00
Tim Taubert
c5806ca208 Bug 1047472 - Make parseSubmissionURL return the string offset for each search term r=paolo 2014-08-06 20:36:35 +02:00
Christoph Kerschbaumer
42b948f5dd Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Mike Hommey
6258dd8523 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
fc99c53ae5 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ryan VanderMeulen
d57ca8703d Merge inbound to m-c. a=merge 2014-09-03 16:38:57 -04:00
Ethan Tseng
49df6aced7 Bug 1049241 - [MADAI][Multimedia] Cannot play some RTSP link due to error in MP4A-LATM assembler. r=sworkman 2014-09-03 10:54:54 +08:00
Gervase Markham
3f0cba8a46 Bug 1061264 - Add service.gov.uk to the PSL. Patch by David Illsley <david.illsley@digital.cabinet-office.gov.uk>. r=gerv. 2014-09-02 08:07:00 +02:00
Steve Workman
764dfbafcf Bug 1058099 - Cancel CacheStorageService::mPurgeTimer if it's still set during shutdown r=mayhemer 2014-09-02 13:33:32 -07:00
Ehsan Akhgari
d8ab3bafa7 Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg 2014-09-02 18:24:49 -04:00
Trevor Saunders
f4fbfeeb43 bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ehsan Akhgari
3be29fea36 Bug 1061052 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-09-02 09:49:38 -04:00
Tim Taubert
acab6146ae Bug 525284 - When cancelling a HTTP transaction, abandon all its half-open sockets r=mcmanus 2014-08-30 10:24:36 +02:00
Birunthan Mohanathas
76f19ef3f9 Bug 1058669 - Expand NS_IMPL_GETSET macro in nsDirIndex. r=mayhemer 2014-08-29 13:38:45 -07:00
Gervase Markham
48fba8831a Bug 1061266 - New TLD additions for gTLDs contracted with ICANN from 2014-07-25 to 2014-09-01. r=gerv 2014-09-02 07:27:00 +02:00
Ryan VanderMeulen
a3c8179253 Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Ryan VanderMeulen
84bb6ce5ad Backed out 6 changesets (bug 939318) for Windows xpcshell failures on a CLOSED TREE.
Backed out changeset faece15110ef (bug 939318)
Backed out changeset ecc0368d9283 (bug 939318)
Backed out changeset 4dcb889cf913 (bug 939318)
Backed out changeset 2fe8c65c26c2 (bug 939318)
Backed out changeset 0b9c1bbc7826 (bug 939318)
Backed out changeset fc191ae0a0e8 (bug 939318)
2014-08-29 14:22:47 -04:00
Ethan Tseng
0914f87108 Bug 1059144 - [MADAI][Multimedia] System crash when RTSP client connects to a non-RTSP-server port. r=sworkman 2014-08-29 17:57:32 +08:00
Daniel Stenberg
07e8c4d9a7 Bug 939318 - Introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the events in test_ping_aboutnetworking.js and in
test_proxy-failover_passing.js
2014-08-29 01:11:00 -04:00
Daniel Stenberg
cdb68cbea1 Bug 939318 - Send network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
8d1e8907ab Bug 939318 - Websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
ecaf056807 Bug 939318 - protocolproxy service acts on network interface changes. r=mcmanus 2014-08-24 23:20:00 -04:00
Daniel Stenberg
a67387629d Bug 939318 - Find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-08-24 23:20:00 -04:00
Daniel Stenberg
7b39579914 Bug 939318 - Detect network interface changes on windows properly. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-29 01:18:00 -04:00
Fabrice Desré
172043d717 Bug 1011738 - Theme support for b2g/gaia, Part 4 : security checks r=bent,bz 2014-08-28 17:20:27 -07:00
Ryan VanderMeulen
f153cd4134 Backed out changeset 2f94e060bac3 (bug 1012917) for Mnw bustage.
CLOSED TREE
2014-08-28 14:58:14 -04:00
Steve Workman
f41bbe849b Bug 1012917 - Send HttpBaseChannel::mApplyConversion with ChannelDiverter constructor in IPDL r=reuben r=mayhemer 2014-08-28 10:58:20 -07:00
Ryan VanderMeulen
9141b52fd8 Merge m-c to fx-team. a=merge 2014-08-27 15:57:14 -04:00
Tim Taubert
29b6a02660 Bug 1040931 - Add extensionID parameter to addEngineWithDetails r=gavin 2014-08-27 16:38:20 +02:00
Nicholas Nethercote
8b3951c20f Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Wes Kocher
cb8766e5a7 Bug 745283 - rev UUID again r=me a=kwierso 2014-08-26 18:05:26 -07:00
Wes Kocher
abd94963b6 Merge m-c to inbound a=merge 2014-08-26 17:49:52 -07:00
Ryan VanderMeulen
5927bdbbcf Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-26 16:05:42 -04:00
Ryan VanderMeulen
a390eae5a3 Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Ryan VanderMeulen
8017b23648 Backed out 7 changesets (bug 939318) for frequent Win7/Win8 xpcshell failures. a=backout
Backed out changeset 21dcd9e1b607 (bug 939318)
Backed out changeset cc131cf9ef81 (bug 939318)
Backed out changeset 02925699b9bb (bug 939318)
Backed out changeset a2d39ac660a6 (bug 939318)
Backed out changeset eeb8897aaa59 (bug 939318)
Backed out changeset d1e1ca369322 (bug 939318)
Backed out changeset 37bee525b188 (bug 939318)
2014-08-26 15:56:51 -04:00
Jim Chen
67cb28f899 Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
Botond Ballo
b3b8a74941 Bug 965022 - Use MOZ_FORMAT_PRINTF for nsTString::AppendPrintf, and fix incorrect usages. r=jrmuizel 2014-08-26 12:05:41 -04:00
Dragana Damjanovic
5c1e528724 Bug 947721 - Fix function CancelAsyncRequest and add the same function for the child process. r=sworkman
--HG--
extra : rebase_source : b89d296732cd65e8bfc0c6ff563095a668484eae
2014-08-26 05:09:00 -04:00
Ryan VanderMeulen
521320e7a6 Bug 939318 - Bump nsINetworkLinkService UUID. r=IDon'tLikeRandomBustage 2014-08-26 08:53:53 -04:00
Daniel Stenberg
9be938c1c2 Bug 939318 - Introduce the "network.notify.changed" prefs. r=mcmanus
Makes it possible to disable 'changed' events.

Disable the events in test_ping_aboutnetworking.js and in
test_proxy-failover_passing.js
2014-08-24 23:22:00 -04:00
Daniel Stenberg
6c9dba028a Bug 939318 - Send network changed event when returning from sleep. r=mcmanus
Coming back from hibernation, the network situation is unknown and may
have changed since the computer went into sleep.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
0678ab3012 Bug 939318 - Websockets act on network interface changes. r=mcmanus
If there's no outstanding PING, send a new to make sure the connection
is still alive and fine.
2014-08-24 23:21:00 -04:00
Daniel Stenberg
d9b41c0968 Bug 939318 - protocolproxy service acts on network interface changes. r=mcmanus 2014-08-24 23:20:00 -04:00
Daniel Stenberg
dedeaf267e Bug 939318 - Find and close HTTP connections without traffic after network change. r=mcmanus
SPDY/http2 connections get a ping and be allowed N seconds to respond.

Active HTTP connections will be allowed N seconds to get traffic, if they
don't afer N seconds they get closed to avoid risking stalled transfers.

N is 5 by default: pref is "network.http.network-changed.timeout"
2014-08-24 23:20:00 -04:00
Daniel Stenberg
08c0f03cf8 Bug 939318 - Detect network interface changes on windows properly. r=mcmanus
Now supports IPv6 as well if a new enough windows version is used.
Which notification function to use is detect at run-time.

Now sends CHANGED event if the online interface(s) are different in any
way since it was previously checked and considered UP. CHANGED is sent
before UP in case both are detected.

nIOService: split up the network event receiver function from the
network status init function and have the event receiver act on the
incoming event.

DNSservice: acts on network changes (flushes the host cache)

HttpHandler: acts on network changes
2014-08-24 23:19:00 -04:00
Shih-Chiang Chien
33f79972b1 Bug 745283 - Part 3: Support send input stream and multicast operation via PUDPSocket.ipdl. r=jduell, r=mt 2014-05-06 18:32:25 +08:00
Shih-Chiang Chien
0d65516572 Bug 745283 - Part 1: Expose nsINetAddr for the local address of nsUDPSocket and support send with InputStream. r=jduell, r=mayhemer
--HG--
rename : netwerk/test/unit/test_bug952927.js => netwerk/test/unit/test_udpsocket.js
2014-04-21 09:33:00 +08:00
Wes Kocher
c7dd458b8c Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Wes Kocher
98851f79ce Backed out 4 changesets (bug 745283) for conflicting with the backout of bug 786419 a=backout
Backed out changeset a1af198d91bd (bug 745283)
Backed out changeset 9fc6f4275bbb (bug 745283)
Backed out changeset 37c10c9f2a4d (bug 745283)
Backed out changeset bc0ab47e8ac7 (bug 745283)

--HG--
rename : netwerk/test/unit/test_udpsocket.js => netwerk/test/unit/test_bug952927.js
2014-08-26 16:33:42 -07:00
Shih-Chiang Chien
d731e8e068 Bug 745283 - Part 3: Support send input stream and multicast operation via PUDPSocket.ipdl. r=jduell, r=mt 2014-05-06 18:32:25 +08:00
Shih-Chiang Chien
eef3ad620b Bug 745283 - Part 1: Expose nsINetAddr for the local address of nsUDPSocket and support send with InputStream. r=jduell, r=mayhemer
--HG--
rename : netwerk/test/unit/test_bug952927.js => netwerk/test/unit/test_udpsocket.js
2014-04-21 09:33:00 +08:00
Ben Kelly
704f54767d Bug 1062005 Export nsURLParsers.h to allow use of nsStdURLParser. r=mcmanus 2014-09-04 17:01:03 -04:00
Ryan VanderMeulen
daedf86689 Bug 1048579 - Update the nsIChannel UUID. rs=Ms2ger
--HG--
extra : rebase_source : c4032b92e3ced113610ec9c365a5dadea2f57947
2014-08-25 09:55:57 -04:00
Robert O'Callahan
622145dd8d Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 39b6d37dbbf138095856954bee583e84cfd971b5
2014-08-23 00:08:14 +12:00
Valentin Gosu
90677f4d7d Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Steve Workman
209b12a168 Bug 1054572 - Remove redundant references to HTTP cache v1 API r=mayhemer 2014-08-22 15:17:32 -07:00
Steve Workman
c0e556300f Bug 1054572 - Don't mark cache entries as classified if on the allow list r=mmc 2014-08-22 15:17:32 -07:00
Wes Kocher
63a2f980c8 Backed out 3 changesets (bug 1054572) for being the apparent cause of ASAN m-3 leaks
Backed out changeset cbd1a7c4d0b0 (bug 1054572)
Backed out changeset 466d677dacc0 (bug 1054572)
Backed out changeset 8b49480288aa (bug 1054572)
2014-08-22 12:45:29 -07:00
Steve Workman
dd1d112130 Bug 1054572 - Remove redundant references to HTTP cache v1 API r=mayhemer 2014-08-22 10:49:29 -07:00
Steve Workman
99d67a26c7 Bug 1054572 - Don't mark cache entries as classified if on the allow list r=mmc 2014-08-22 10:49:28 -07:00
Ryan VanderMeulen
fc020ce791 Backed out changeset ecf04c6eb4dd (bug 1048579) for xpcshell failures. 2014-08-22 10:08:10 -04:00
Robert O'Callahan
0850121797 Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 067e99eaad781dec78a772405870b02c195a42e2
2014-08-23 00:08:14 +12:00
Trevor Saunders
86b7aff8fc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Bobby Holley
cb544bb5fc Bug 981218 - Stop using a default compartment object in the IndexedDB and ProxyAutoConfig JSRuntimes. r=bobowen 2014-08-21 17:13:51 -07:00
Honza Bambas
c9317f4613 Bug 1040086 - EV identifier missing when restoring session with HTTP cache v2. r=michal 2014-08-21 15:50:16 -07:00
Nathan Froyd
631962a036 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Christoph Kerschbaumer
e25473a9a7 Bug 1053028 - Remove remaining relicts of deprecated X-CSP header (r=sstamm) 2014-08-12 21:15:56 -07:00
Kyle Huey
9cb07e8f1c Bug 1034315: Don't use NS_DECL_NSIFOO macros without inheriting from nsIFoo in netwerk/. r=mayhemer
--HG--
extra : rebase_source : a16e530ad8aafa28f45be95641c6c0c3aac7cda6
2014-08-21 10:47:38 -07:00
Patrick McManus
4a4d8db0c5 Bug 820391 - Backout revision 4741ef815af9 for various regressions.
DONTBUILD
2014-08-21 10:53:11 -04:00
Ryan VanderMeulen
d6ca1b3277 Backed out changeset 49502f43bd03 for landing with the wrong bug number. 2014-08-21 11:03:02 -04:00
Patrick McManus
4e6d326cde bug 820931 - backout 4741ef815af9 r=backout
--HG--
extra : rebase_source : d862e877dd3d28df5322b3464e3c0b10a460a56d
2014-08-21 10:53:11 -04:00