Commit Graph

5319 Commits

Author SHA1 Message Date
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
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