Ehsan Akhgari
77182bbd83
Bug 1219469 - Part 1: Revert the error reporting added in bug 1233845; r=jdm
2016-01-04 09:39:10 -05:00
Ehsan Akhgari
208f93e405
Bug 1233245 - Propagate the interception information in the non-e10s case for all HTTP redirects, not just the internal ones; r=jdm
...
Doing this work in StartRedirectChannelToURI() was causing us to not set
the bypass service worker flag properly in the case of real HTTP redirects.
This patch also fixes the incorrect test expectation value.
2016-01-04 09:39:09 -05:00
Jason Duell
b091fa291e
Bug 1199841 - Restructure private browsing to remember status after OnStopRequest r=jdm
2015-12-30 17:51:21 -05:00
Mike Hommey
ce3914c897
Bug 1225384 - Change how the default resource "host names" are handled. r=michal
...
The meaning of resource:///, resource://app/ and resource://gre/ needs to
remain constant. Unfortunately, the model of the resource protocol handler
is that it is possible to set substitutions that change their meaning.
So, we forbid setting overwriting the substitutions for those three
special "host names".
Unfortunately, with e10s, the full list of substitutions is also sent to
the content process, which then sets substitutions, making it harder to
know in which cases SetSubstitution is valid for those three "host names"
or not.
So instead of trying to find the right heuristics, use the recently added
SubstitutingProtocolHandler::ResolveSpecialCases API to handle the three
"host names" instead of storing them as "normal" substitutions.
Still actively reject SetSubstitution with the three special "host names"
so as to find issues such as bug 1224000 instead of allowing the chrome
manifest entry and have it silently ignored.
Additionally, make GetSubstitution return the URIs for the three special
"host names" through GetSubstitutionInternal, replacing what was originally
added in bug 257162. Those changes from bug 257162 relied on the
resource:app string being handled by nsXREDirProvider::GetFile, but that was
removed in bug 620931, effectively making that code now in
GetSubstitutionInternal useless.
2015-12-28 06:49:05 +09:00
Ben Kelly
3972c8300e
Bug 1220681 P5 Don't double suspend parent channel during synthesized divert to parent. r=jdm
2015-12-23 12:20:53 -08:00
Ben Kelly
dd179ed223
Bug 1220681 P4 Automatically suspend the parent channel after synthesizing the response for diverison. r=jdm
2015-12-23 12:20:53 -08:00
Ben Kelly
9230279805
Bug 1220681 P3 Delay diversion on parent side until response head has been synthesized. r=jdm
2015-12-23 12:20:53 -08:00
Ben Kelly
0616535096
Bug 1220681 P1 Make HttpChannelChild::DivertToParent() work with synthetic responses. r=jdm
2015-12-23 12:20:53 -08:00
Patrick McManus
29ca4c0e9d
Bug 1218297 - eventtokenbucket shutdown leak r=valentin
2015-12-23 10:47:13 -05:00
Patrick McManus
90c978fb27
Bug 1234896 - refptrs for httphandler.cpp r=valentin.gosu
2015-12-23 11:43:41 -05:00
Ben Kelly
3fcfa5995a
Bug 1233962 P1 Call ResetInterception() if the controller is nullptr. r=jdm
2015-12-22 11:57:10 -08:00
Blake Kaplan
92c07bc4ad
Bug 1229177 - Show the tracking protection shield for fetch and XHR requests. r=jduell
...
--HG--
extra : rebase_source : 81f1819355ee85b323cdfff4505e20613c4c5296
2015-12-21 14:12:52 -08:00
Sebastian Hengst
678b0a4325
Backed out changeset e8c63b932647 (bug 1225384) for bustage in netwerk/test/unit/test_bug580508.js in e.g. XPCshell tests. r=bustage
2015-12-22 01:33:26 +01:00
Mike Hommey
b6ec2d180a
Bug 1225384 - Change how the default resource "host names" are handled. r=michal
...
The meaning of resource:///, resource://app/ and resource://gre/ needs to
remain constant. Unfortunately, the model of the resource protocol handler
is that it is possible to set substitutions that change their meaning.
So, we forbid setting overwriting the substitutions for those three
special "host names".
Unfortunately, with e10s, the full list of substitutions is also sent to
the content process, which then sets substitutions, making it harder to
know in which cases SetSubstitution is valid for those three "host names"
or not.
So instead of trying to find the right heuristics, use the recently added
SubstitutingProtocolHandler::ResolveSpecialCases API to handle the three
"host names" instead of storing them as "normal" substitutions.
Still actively reject SetSubstitution with the three special "host names"
so as to find issues such as bug 1224000 instead of allowing the chrome
manifest entry and have it silently ignored.
2015-12-22 07:55:40 +09:00
Ehsan Akhgari
aa999694ec
Bug 1234251 - Remove HttpChannelChild::mSynthesizedResponseHead; r=jdm
2015-12-21 17:01:28 -05:00
Dragana Damjanovic
c2d5cae269
Bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jduell
2015-12-19 16:11:39 -05:00
Josh Matthews
d2cef8692f
Bug 1233845 - Report an interception error and cancel the HTTP channel when encountering a known topcrash situation. r=ehsan
2015-12-19 09:40:06 -05:00
Patrick McManus
ae19b61b33
Bug 513129 - Dont reuse connections after security prefs change r=hurley
2015-12-17 17:37:53 -05:00
Wes Kocher
48e8bea219
Backed out changeset 82cd6a486698 (bug 1233245) for fetch-request-redirect.https.html failures CLOSED TREE
...
--HG--
extra : commitid : 2O37Vand5Zd
2015-12-17 16:18:29 -08:00
Ehsan Akhgari
91432f79e5
Bug 1233245 - Propagate the interception information in the non-e10s case for all HTTP redirects, not just the internal ones; r=jdm,bkelly
...
Doing this work in StartRedirectChannelToURI() was causing us to not set
the bypass service worker flag properly in the case of real HTTP redirects.
This patch also fixes the incorrect test expectation value.
2015-12-17 17:32:38 -05:00
Nicholas Hurley
a6d6d5ef55
Bug 1228822 - Ensure we send out the window update when matching a pushed stream with a pull stream. r=mcmanus
...
--HG--
extra : commitid : D6pRH1pTQe6
extra : rebase_source : 0b1d5f10a9ebeda7b037e2c147f426908ef241a2
2015-12-09 10:11:04 -08:00
Tim Nguyen
8fe11e6a5d
Bug 1137681 - Make user agent docshell overrides affect network requests. r=jduell
2015-12-08 09:27:00 +01:00
Patrick McManus
4c8ee0930e
Bug 1230743 - telemtry for nsConnectionEntry hit rate r=hurley
2015-12-05 07:43:01 -05:00
Jonas Sicking
081cb24a23
Bug 1226909 followup to fix bustage. Make sure that the channel returned by NS_NewChannel doesn't have a loadinfo that indicates that the channel has already been opened
2015-12-06 23:50:49 -05:00
Jonas Sicking
0bb4231605
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-06 18:33:15 -05:00
Jonas Sicking
28de02f687
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-06 18:33:14 -05:00
Jonas Sicking
0e0c8c52ea
Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb
2015-12-06 18:33:14 -05:00
Sebastian Hengst
774236075d
Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout
2015-12-05 16:34:47 +01:00
Jonas Sicking
993136c2c9
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-05 01:46:21 -08:00
Jonas Sicking
ff12f48c5a
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-05 01:46:20 -08:00
Jonas Sicking
918c689657
Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb
2015-12-05 01:46:20 -08:00
Nathan Froyd
9a956c9885
Bug 1223808 - part 3 - replace nsAutoArrayPtr<T> with UniquePtr<T[]> in netwerk/; r=mcmanus
2015-11-08 21:28:05 -05:00
Nathan Froyd
fcdd745657
Bug 1223808 - part 1 - optimize creating a WebSocketFrame with a payload; r=mcmanus
...
This function:
- Allocates a block of memory;
- Copies things into that block of memory;
- Allocates another block of memory inside nsAutoCString;
- Copies into our string from the block of memory we just allocated.
Clearly we can avoid a memory allocation and some copying by just
allocating the amount of data we need in the string first, and copying
things into the string.
2015-11-08 21:26:46 -05:00
Nathan Froyd
3071ec2419
Bug 1218454 - part 2a - fix bootlegging of nsContentUtils.h includes from nsILoadContext.h; r=bz
2015-12-01 21:49:38 -05:00
Nathan Froyd
c381a6b86c
Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
...
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Carsten "Tomcat" Book
5adcabb340
merge mozilla-inbound to mozilla-central a=merge
2015-12-02 15:20:57 +01:00
Carsten "Tomcat" Book
44cd9f4db8
Backed out changeset 7a9e01e904b0 (bug 1137681) for test bustage on a CLOSED TREE
2015-12-02 11:28:46 +01:00
Tim Nguyen
e0f8972f78
Bug 1137681 - Make user agent docshell overrides affect network requests. r=jduell
2015-12-01 13:08:00 +01:00
Mike Hommey
b2e31e6ade
Bug 1225682 - Don't use nsAuto{,C}String as class member variables in netwerk/. r=mcmanus
2015-12-02 11:04:37 +09:00
Christoph Kerschbaumer
413a60a063
Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking)
2015-11-17 17:35:30 -08:00
Blake Kaplan
b62a6327bd
Bug 1171215 - Compute third-partyness in the loadinfo instead of nsIHttpChannelInternal so that other protocols correctly respect the third-party cookie pref. r=sicking/ckerschb
2015-11-30 13:25:29 -08:00
Nicholas Nethercote
4a7f327575
Bug 1186783 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/ with iterators. r=valentin.
2015-11-19 16:46:24 -08:00
Patrick McManus
cff263f5f6
Bug 1133873 - some spdy logs r=hurley
2015-11-29 16:11:16 -05:00
Carsten "Tomcat" Book
358e4575c4
merge mozilla-inbound to mozilla-central a=merge
2015-11-26 16:54:27 +01:00
Daniel Stenberg
1a4f344e08
Bug 1227931 - init Http2Stream::mReceivedData in the constructor. r=nwgh
2015-11-25 05:15:00 +01:00
Yoshi Huang
4b500464f5
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Valentin Gosu
3890536ca3
Bug 1222352
- Resource Timing - nextHopProtocol does not work in e10s r=nwgh
2015-11-24 13:42:47 +01:00
Jonas Sicking
66bbe5bc72
Bug 1217456: Add a security flag for controlling redirects. Use this flag in fetch() implementation. r=bkelly,jduell
2015-11-23 18:47:10 -08:00
Valentin Gosu
c62bdbfd66
Bug 1226760 - ViewSource doesn't work for packaged app resources r=mcmanus
...
* The packaged app service should use the URI of the channel, not the URI of the channel's principal.
2015-11-25 12:44:43 +01:00
Ben Bucksch
2572e8c3db
Bug 1200802 - Accept RFC1929 SOCKS credentials in proxyInfo. r=michal
2015-11-24 22:56:00 +01:00
Patrick McManus
ad7e5f708d
Bug 1174899 - discarded spdy data with fin attributed to wrong stream r=bagder
2015-11-22 16:23:18 -05:00
Patrick McManus
cb590dc42e
Bug 1174899 - fixup log format strings for spdy/h2 r=bagder
2015-11-20 15:33:04 -05:00
Jan Varga
c1c950896a
Bug 961049 - Part 3: Move PersistenceType serializer from indexedDB to quota module; r=baku
2015-11-22 10:43:34 +01:00
Kris Maglione
758d568a88
Bug 1209184: Part 2 - [webext] Localize CSS files served from moz-extension: channels. r=jdm
...
--HG--
extra : commitid : AydP9pd8Oa0
extra : rebase_source : 11dfd5aff943faa3472577241a502ace3f87996e
extra : source : 9c63ffd499ebc4ed4f164d4b35e09a7a03c36387
2015-11-27 16:03:01 -08:00
Christoph Kerschbaumer
1a042dd25b
Bug 1226444 - Use helper function to identify preloads. r=sicking
2015-11-19 17:02:40 -08:00
Nicholas Nethercote
7226cb18c8
Bug 1187137 (part 3) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=michal.
...
--HG--
extra : rebase_source : 14445e0a69e5fdff108857b443e1e8fa2829415f
2015-11-03 17:05:34 -08:00
Nicholas Nethercote
1b73f741f6
Bug 1187137 (part 2) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=michal.
...
--HG--
extra : rebase_source : 07e6ca520d40492fe5ab7975c0026ed5511298bd
2015-11-03 17:00:30 -08:00
Nicholas Nethercote
7af30fe1a6
Bug 1187137 (part 1) - Replace nsBaseHashtable::Enumerate() calls in netwerk/protocol/ with iterators. r=michal.
...
--HG--
extra : rebase_source : 7448eda5a80a75d3b117599da849ae2e9df0b255
2015-11-03 16:31:40 -08:00
Mike Hommey
05bb883ae6
Bug 1225407 - Replace nsInterfaceHashtable::EnumerateRead() call in SubstitutingProtocolHandler with an iterator. r=michal
2015-11-19 08:05:51 +09:00
Ben Kelly
d6cd5e961e
Bug 1217909 P8 Track navigation interceptions per scope in ServiceWorkerManager. r=catalinb
2015-11-16 08:04:11 -08:00
Henry
c5b6b535ec
Bug 1224508 - Use URI path without reference as the callback key. r=valentin.
2015-11-13 02:15:00 +01:00
sajitk
8eb3a68c9e
Bug 1201997
- Part 4 - Change size and offset variables to size_t.r=froydn
2015-11-15 14:48:08 +01:00
Christoph Kerschbaumer
d9f1276ace
Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz)
2015-11-14 19:28:38 -08:00
Phil Ringnalda
596e8ff827
Back out 9 changesets (bug 1214305) for e10s devtools browser_bug1045902_console_csp_ignore_reflected_xss_message.js failures
...
Backed out changeset 82929be36e95 (bug 1214305)
Backed out changeset e926606aefbf (bug 1214305)
Backed out changeset 226c83ca9a2a (bug 1214305)
Backed out changeset 88ab26108f2d (bug 1214305)
Backed out changeset 2e3e4f256d46 (bug 1214305)
Backed out changeset 347cd0f8f1e3 (bug 1214305)
Backed out changeset be072bba15fc (bug 1214305)
Backed out changeset 3b85acbe7be7 (bug 1214305)
Backed out changeset 49b930683c02 (bug 1214305)
2015-11-14 10:09:58 -08:00
Ehsan Akhgari
f51834eac5
Bug 1214305 - Part 7: Decide in the child process whether an intercepted channel should go through a secure upgrade; r=mcmanus
...
This is OK from a security perspective, since this decision only affects
whether the channel will be intercepted with the secure URI in the child
process. If the intercepting service worker decides to fall back to an
actual network request, we send the request to the parent process with
the original pre-upgrade URI, and the parent process will still be in
charge of whether a network visible HTTP request should be upgraded.
2015-11-02 11:27:00 -05:00
Ehsan Akhgari
cef4c60f16
Bug 1214305 - Part 6: Use a non-IPC redirect for synthesized upgraded responses to ensure the response URL is correctly propagated; r=mcmanus
2015-11-02 11:27:00 -05:00
Ehsan Akhgari
03d8835f92
Bug 1214305 - Part 3: Add a nsIInterceptedChannel.secureUpgradedChannelURI helper; r=jdm
2015-11-02 11:27:00 -05:00
Ehsan Akhgari
1295fc0d03
Bug 1214305 - Part 2: Refactor the logic for obtaining the secure upgraded URI into HttpBaseChannel; r=mcmanus
2015-11-02 11:27:00 -05:00
Ehsan Akhgari
39d5e41384
Bug 1214305 - Part 1: Refactor the logic for querying whether a connection should go through a secure upgrade into NS_ShouldSecureUpgrade; r=mcmanus
2015-11-02 11:27:00 -05:00
Nicholas Hurley
31010dbad5
Bug 1224328 - Don't infinite loop when parsing headers with newlines. r=mcmanus
...
--HG--
extra : rebase_source : c044f7bd991b7e48010d6bb6997585b1fc846d1d
2015-11-12 14:44:31 -08:00
Nathan Froyd
245e39afde
Bug 1222867 - part 2 - be smarter about transferring ownership of WebSocketFrame; r=mcmanus
...
WebSocketFrames are created only to be transferred in to
WebSocketEventService::Frame{Sent,Received}, where a strong reference is
taken to them by a runnable posted to the main thread. Let's avoid an
extra AddRef/Release cycle by passing through already_AddRefed
structures.
2015-11-08 20:52:27 -05:00
Nathan Froyd
bb66fde0a0
Bug 1222867 - part 1 - return already_AddRefed from WebSocketEventService::CreateFrameIfNeeded; r=mcmanus
...
The result of CreateFrameIfNeeded is always assigned to a RefPtr, so we
can save a little code space by moving the AddRef into the callee,
rather than doing it in the caller.
2015-11-08 20:44:11 -05:00
Nathan Froyd
0d181baf2d
Bug 1219910 - make gSocketThread a relaxed atomic variable; r=mcmanus
...
Many places that (re-)declared gSocketThread already included
nsSocketTransportService2.h; we can delete the declaration for those
places. For all the other places, we need to include
nsSocketTransportService2.h.
2015-11-06 12:00:37 -05:00
Henry
ba8fe97d17
Bug 1214079 - Doom the package cache if the signature verification failed. r=valentin
2015-11-05 23:44:00 +01:00
Mike Hommey
4d40edea15
Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps
2015-11-06 09:59:21 +09:00
Gijs Kruitbosch
3718ce387c
Bug 1221444, r=bz
...
--HG--
extra : commitid : KNAjQV8ZZZG
extra : rebase_source : aae0193c47347b32a85a3c374b8dc6f2f2fb0fb8
2015-11-04 16:54:44 +00:00
Ben Kelly
8267928bb3
Bug 1220007 P2 Make InterceptedChannel's collect logs locally and only flush to nsIChannel on main thread r=bz
2015-11-03 11:20:56 -08:00
Ben Kelly
c59018c14a
Bug 1220007 P1 Allow ConsoleReportCollectors to flush to another collector. r=bz
2015-11-03 11:20:56 -08:00
Julian Seward
c93c98f458
Bug 1218506
- Uninitialised value use in nsHttpTransaction::OnTransportStatus. r=mcmanus.
2015-11-03 15:03:16 +01:00
Carsten "Tomcat" Book
507e90cf52
Backed out changeset c253b6bd00b1 (bug 1220007) for causing a bustage on B2g-emulator L builds which is only visible on b2g-inbound on a CLOSED TREE
2015-11-03 14:08:50 +01:00
Carsten "Tomcat" Book
042b4d64cd
Backed out changeset d8d75be11275 (bug 1220007)
2015-11-03 14:08:04 +01:00
Patrick McManus
073d4a9803
bug 1219466 - convert netwerk to LazyLogModule r=valentin.gosu
2015-11-02 23:35:29 -05:00
Wes Kocher
5c94e0f593
Merge m-c to inbound, a=merge
...
--HG--
extra : commitid : 2sVZQRwbKyB
2015-11-02 15:57:48 -08:00
Wes Kocher
3696443a14
Merge inbound to m-c a=merge
...
--HG--
extra : commitid : Iy93sktRpdv
2015-11-02 15:12:16 -08:00
Fabrice Desré
5f7f5f2afc
Bug 1220061 - Android UA is not correct when MOZ_UA_OS_AGNOSTIC is set r=gerv
2015-11-02 09:23:28 -08:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ben Kelly
537f8dad54
Bug 1220007 P2 Make InterceptedChannel's collect logs locally and only flush to nsIChannel on main thread r=bz
2015-11-02 12:04:29 -08:00
Ben Kelly
671d5644f9
Bug 1220007 P1 Allow ConsoleReportCollectors to flush to another collector. r=bz
2015-11-02 12:04:29 -08:00
Madhurima
a687733788
Bug 1197313 - remove PR_snprintf calls in netwerk/; r=froydnj
2015-10-29 16:07:44 -04:00
Ben Kelly
5b0d032145
Bug 1220678 Don't crash when DivertToParent() is called on an intercepted channel. r=jdm
2015-11-02 08:17:27 -08:00
Christoph Kerschbaumer
7dd3e47cb3
Bug 1194052 - Append to redirectchain before asyncopen() is called (r=sicking,mayhemer)
2015-10-31 15:22:01 -07:00
Christoph Kerschbaumer
08e98bc312
Bug 1194052 - Update Clone() functionality of LoadInfo (r=sicking)
2015-10-31 15:20:48 -07:00
Christoph Kerschbaumer
e15fd3a5f0
Bug 1194052 - Add support for internal redirectchain to loadInfo (r=sicking)
2015-10-31 15:18:59 -07:00
Phil Ringnalda
d8a1629175
Back out changeset ea8093d8be6a (bug 1197313) for Linux xpcshell bustage in test_offlinecache_custom-directory.js
...
CLOSED TREE
2015-10-31 12:14:38 -07:00
Madhurima
52b55c546f
Bug 1197313 - remove PR_snprintf calls in netwerk/; r=froydnj
2015-10-29 16:07:44 -04:00
Bill McCloskey
397ea79ef1
Bug 867407 - Fix cloning of file URIs with search query strings (r=sworkman)
2015-10-30 13:10:27 -07:00
Carsten "Tomcat" Book
cb10921e0d
Backed out changeset 2a233dadfc49 (bug 1219910) for bustage on a CLOSED TREE
...
--HG--
extra : rebase_source : 9d089223ab201540ca0f1852188114c2d2a743bd
2015-10-30 16:09:19 +01:00
Carsten "Tomcat" Book
4c0ed54e29
Backed out changeset 9093e927a247 (bug 1201997
)
...
--HG--
extra : rebase_source : c47b13e37a7756243a68cf15555bf176c0de8600
2015-10-30 15:52:18 +01:00
Nathan Froyd
a782e5c73e
Bug 1219910 - make gSocketThread a relaxed atomic variable; r=mcmanus
...
All the places that (re-)declared gSocketThread already included
nsSocketTransportService2.h, so we can safely delete them.
2015-10-29 16:47:23 -04:00
sajitk
fe2a36f981
Bug 1201997
- Part 4 - Change size and offset variables to size_t.r=froydn
...
--HG--
extra : rebase_source : 0fd59eb6513e1af0162a9a02c6041182e556b9e7
2015-10-29 19:58:00 +01:00
Ben Kelly
69c8a55480
Bug 1215140 P10 Avoid AddRef'ing the nsIChannel OMT. r=bz
2015-10-29 19:53:25 -07:00
Ben Kelly
5f3adc2e2b
Bug 1215140 P3 Flush pending console reports on http channels. r=bz
2015-10-29 19:53:25 -07:00
Ben Kelly
569cd6e587
Bug 1215140 P2 Make HttpBaseChannel implement nsIConsoleReportCollector. r=bz
2015-10-29 19:53:25 -07:00
Jonathan Hao
b4855726e4
Bug 1217694 - Signed package should come from the moz-package-origin specified in its manifest. r=valentin
2015-10-28 19:16:08 +08:00
Honza Bambas
8f88fd6cdc
Bug 1032254 - Generic way to pin reasource in the HTTP cache, r=michal
...
* * *
Bug NNNNNNN - message, r=reviewer
--HG--
rename : netwerk/test/unit/test_cache2-28-concurrent_read_resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29a-concurrent_read_resumable_entry_size_zero.js
rename : netwerk/test/unit/test_cache2-29-concurrent_read_non-resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js
2015-10-22 12:11:00 +02:00
Andrea Marchesini
cee356be8e
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal
2015-10-28 19:11:25 +00:00
Andrea Marchesini
419e060633
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal
2015-10-28 19:11:05 +00:00
Andrea Marchesini
73c08ab413
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 2 - Unique Serial number for WebSocketChannel in IPC, r=michal
2015-10-28 19:10:42 +00:00
Andrea Marchesini
b121e7da05
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal
...
--HG--
rename : netwerk/protocol/websocket/PWebSocketFrameListener.ipdl => netwerk/protocol/websocket/PWebSocketEventListener.ipdl
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp => netwerk/protocol/websocket/WebSocketEventListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.h => netwerk/protocol/websocket/WebSocketEventListenerChild.h
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp => netwerk/protocol/websocket/WebSocketEventListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.h => netwerk/protocol/websocket/WebSocketEventListenerParent.h
rename : netwerk/protocol/websocket/WebSocketFrameService.cpp => netwerk/protocol/websocket/WebSocketEventService.cpp
rename : netwerk/protocol/websocket/WebSocketFrameService.h => netwerk/protocol/websocket/WebSocketEventService.h
rename : netwerk/protocol/websocket/nsIWebSocketFrameService.idl => netwerk/protocol/websocket/nsIWebSocketEventService.idl
2015-10-28 19:10:20 +00:00
Carsten "Tomcat" Book
bc50966763
Backed out changeset 7393a036ce36 (bug 1215092) for failing on own tests on a CLOSED TREE
...
--HG--
rename : netwerk/protocol/websocket/PWebSocketEventListener.ipdl => netwerk/protocol/websocket/PWebSocketFrameListener.ipdl
rename : netwerk/protocol/websocket/WebSocketEventListenerChild.cpp => netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketEventListenerChild.h => netwerk/protocol/websocket/WebSocketFrameListenerChild.h
rename : netwerk/protocol/websocket/WebSocketEventListenerParent.cpp => netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketEventListenerParent.h => netwerk/protocol/websocket/WebSocketFrameListenerParent.h
rename : netwerk/protocol/websocket/WebSocketEventService.cpp => netwerk/protocol/websocket/WebSocketFrameService.cpp
rename : netwerk/protocol/websocket/WebSocketEventService.h => netwerk/protocol/websocket/WebSocketFrameService.h
rename : netwerk/protocol/websocket/nsIWebSocketEventService.idl => netwerk/protocol/websocket/nsIWebSocketFrameService.idl
2015-10-28 14:28:59 +01:00
Carsten "Tomcat" Book
df5ef54deb
Backed out changeset 2284c3e8c336 (bug 1215092)
2015-10-28 14:28:37 +01:00
Carsten "Tomcat" Book
b8bc8b9405
Backed out changeset f527785e39c6 (bug 1215092)
2015-10-28 14:28:35 +01:00
Carsten "Tomcat" Book
b9f731bd8e
Backed out changeset 2730cc97c6ec (bug 1215092)
2015-10-28 14:28:34 +01:00
Andrea Marchesini
17e360f5e5
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal
2015-10-28 11:42:53 +00:00
Andrea Marchesini
7a36913896
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal
2015-10-28 11:42:21 +00:00
Andrea Marchesini
e0173ff60c
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 2 - Unique Serial number for WebSocketChannel in IPC, r=michal
2015-10-28 11:42:00 +00:00
Andrea Marchesini
4d8e79e969
Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal
...
--HG--
rename : netwerk/protocol/websocket/PWebSocketFrameListener.ipdl => netwerk/protocol/websocket/PWebSocketEventListener.ipdl
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp => netwerk/protocol/websocket/WebSocketEventListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.h => netwerk/protocol/websocket/WebSocketEventListenerChild.h
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp => netwerk/protocol/websocket/WebSocketEventListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.h => netwerk/protocol/websocket/WebSocketEventListenerParent.h
rename : netwerk/protocol/websocket/WebSocketFrameService.cpp => netwerk/protocol/websocket/WebSocketEventService.cpp
rename : netwerk/protocol/websocket/WebSocketFrameService.h => netwerk/protocol/websocket/WebSocketEventService.h
rename : netwerk/protocol/websocket/nsIWebSocketFrameService.idl => netwerk/protocol/websocket/nsIWebSocketEventService.idl
2015-10-28 11:41:24 +00:00
Makoto Kato
63f3a6b33c
Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on netwerk. r=nfroyd
2015-10-28 14:30:07 +09:00
Ben Kelly
51ad72c930
Bug 1217501 P1 Expose Accept and Accept-Language to service worker FetchEvent.request. r=mcmanus
2015-10-26 08:25:15 -07:00
Ehsan Akhgari
0549164d1b
Bug 1206298 - Part 1: Update the expiration time on the fake cache entry object for an intercepted request in the non-e10s case; r=mcmanus
2015-10-27 11:58:29 -04:00
Jonathan Hao
92a67d9e5c
Bug 1218284
- Match signed packages' with trust origin without suffix. r=valentin
2015-10-26 15:30:38 +08:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Nicholas Hurley
16a6305536
Bug 1213060 (part 2) - Re-add state assertion in Http2Session::OnWriteSegment. r=mcmanus
...
--HG--
extra : rebase_source : d4752bea750d0d8d252e40d60bc6717a0ce5d57f
2015-10-22 12:48:57 -07:00
Nicholas Hurley
728aabcd9c
Bug 1213060 (part 1) - Properly handle discarding padding in Http2Session::OnWriteSegment. r=mcmanus
...
--HG--
extra : rebase_source : 5351820cd1ac06403b29ee35b02773d98fe233f2
2015-10-26 12:13:53 -07:00
Wes Kocher
3ac77ec6f9
Backed out 3 changesets (bug 1217501) for m(4) leaks CLOSED TREE
...
Backed out changeset f00f079f712b (bug 1217501)
Backed out changeset 86ac4feb0e38 (bug 1217501)
Backed out changeset 0c7e876a69e5 (bug 1217501)
--HG--
extra : commitid : DHpgGALANW2
2015-10-26 11:52:23 -07:00
Andrea Marchesini
5fb333826f
Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 4 - IPC, r=michal
2015-10-26 15:31:00 +00:00
Andrea Marchesini
2cabb2ac76
Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 3 - timestamp, r=michal
2015-10-26 15:30:39 +00:00
Andrea Marchesini
08f3fd3539
Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 2 - WebSocketFrameService, r=michal
2015-10-26 15:30:11 +00:00
Andrea Marchesini
8ec6671244
Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 1 - WindowID added into WebSocketChannel, r=michal
2015-10-26 15:29:28 +00:00
Ben Kelly
4fa55322eb
Bug 1217501 P1 Expose Accept and Accept-Language to service worker FetchEvent.request. r=mcmanus
2015-10-26 08:25:15 -07:00
Nate Hughes ext:(%2C%20Valentin%20Gosu%20%3Cvalentin.gosu%40gmail.com%3E)
7e19134192
Bug 1154309 - Add New Resource Timing Fields r=bz,hurley
2015-07-24 08:49:25 -07:00
Honza Bambas
844d2170f3
Bug 1213577 - Use OriginAttributes in nsHttpAuthManager, r=mcmanus
2015-10-29 10:43:00 +01:00
Honza Bambas
1e445509dc
Bug 1206060 - Show pinning status at about:cache. r=michal
2015-10-30 08:12:00 +01:00
Ehsan Akhgari
e3eca83210
Bug 1214277 - Avoid bypassing opening a cache entry for possibly intercepted channels; r=mcmanus
2015-10-24 00:39:08 -04:00
Patrick McManus
266550b577
bug 1217834 - buzzfeed packet loss r=dragana
2015-10-22 17:46:02 -04:00
Jonathan Hao
3d02a2da65
Bug 1216469 - Bypass verification for signed packages from trust origins. r=valentin
2015-10-22 17:09:44 +08:00
Henry
9fe43dfb43
Bug 1180088 - Use origin-based permission check on parent side for signed packaged web app. r=kanru.
2015-10-22 05:44:00 +02:00
Josh Matthews
de85fb3b8a
Bug 1173811
- Part 2: Propagate the response URL to intercepted channels when necessary (e10s). r=mayhemer,bkelly
2015-10-22 09:23:48 -04:00
Josh Matthews
d3726427db
Bug 1173811
- Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly
2015-10-22 09:23:39 -04:00
Phil Ringnalda
6401c0185c
Back out 2 changesets (bug 1173811
) for test_synthesized_response.js timeouts
...
CLOSED TREE
Backed out changeset 56bc1314e660 (bug 1173811
)
Backed out changeset 0ad51d302ba9 (bug 1173811
)
2015-10-21 20:21:05 -07:00
Josh Matthews
187a3da7d2
Bug 1173811
- Part 2: Propagate the response URL to intercepted channels when necessary (e10s). r=mayhemer,bkelly
2015-10-21 00:05:40 -04:00
Josh Matthews
591281df75
Bug 1173811
- Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly
2015-10-21 00:05:40 -04:00
Wes Kocher
3fe8e966dd
Merge m-c to inbound, a=merge CLOSED TREE
2015-10-21 16:39:18 -07:00
Wes Kocher
ceefa2939a
Merge b2ginbound to central, a=merge
2015-10-21 16:37:24 -07:00
Patrick McManus
70c555d190
bug 1083930 - cpu spin during large h2/spdy upload r=hurley
...
--HG--
extra : rebase_source : 0204d5128df1f76d0e2c9a9ec24f719cb538a1e6
2015-10-19 17:42:18 -04:00
Carsten "Tomcat" Book
68ab10be0d
Merge m-c to b2g-inbound on a CLOSED TREE
2015-10-21 15:37:25 +02:00
Patrick McManus
06d7c103e1
bug 1215552 - nsHttpConnectionMgr::PostEvent shouldnt manually ref count r=hurley
2015-10-16 11:36:59 -04:00
Jonathan Hao
e4b1f62b85
Bug 1178448 - Use imported CA in developer mode. r=keeler,valentin
2015-10-08 17:08:45 +08:00
Carsten "Tomcat" Book
dab1222aac
Backed out changeset 9fc04da2a662 (bug 1211694
) for perma failures in B2G ICS Emulator opt C1 Tests on a CLOSED TREE
...
--HG--
extra : rebase_source : 9a83f398604b155849dc128fb029e35f4c6b023a
2015-10-20 16:09:13 +02:00
Dragana Damjanovic
1fe2f40e7d
Bug 1211694
- dataLength has been added twice. r=mcmanus
...
--HG--
extra : rebase_source : 1257d714d47126059bcf368a316252eca70b7e81
2015-10-05 14:58:00 +02:00
Dragana Damjanovic
2e111f2bed
Bug 1211694
- dataLength has been added twice. r=mcmanus
2015-10-05 14:58:00 +02:00
Jonas Sicking
7bf7cbbd1a
Bug 1215746: Remove RequestMode::Cors_with_forced_preflight. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
be2deca017
Bug 1195167 part 1: Let necko handle all protocols. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
cc10dd7ad3
Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan
2015-10-19 11:14:54 -07:00
Jonas Sicking
4316c13003
Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb
2015-10-19 11:14:54 -07:00
Patrick McManus
80650cd58d
bug 1215724 - enable brotli on spdy r=hurley
2015-10-17 12:09:37 -04:00
Ehsan Akhgari
0078aed98a
Bug 1198394 - Part 1: Allow interception of HSTS upgraded connections in non-e10s mode; r=mcmanus
2015-10-19 10:26:22 -04:00
Henry
fdaaf864d7
Bug 1216062 - Notify OnStartSignedPackagedRequest with package identifier. r=valentin.
2015-10-19 03:33:00 +02:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Shih-Chiang Chien
e50f7091ee
Bug 1199592 - support TV device type in UA string. r=fabrice.
...
--HG--
extra : rebase_source : 7999c1a81fd7e297b88d3b780c252b70bf265d23
2015-10-05 19:58:00 +02:00
Jonas Sicking
54c75e38eb
Bug 1211000: Move CORS preflight logic from nsCORSListenerProxy to nsCORSPreflightListener. r=ehsan
2015-10-15 02:07:25 -07:00
Patrick McManus
03d026b624
Bug 1213979 - h2 packet formats. r=hurley
2015-10-12 23:56:12 -04:00
Michael Layzell
d4beae866a
Backout of bug 1207233 due to web-compat concerns
2015-10-14 16:06:35 -04:00
Henry
d0922cb7a4
Bug 1210235 - Skip package verification if pref out or no signature. The package would be treated unsigned. r=valentin
...
--HG--
extra : histedit_source : e3820fb54cfbab00bf8db377aec2bc8afcb0fb0e
2015-10-12 15:38:41 +08:00
Carsten "Tomcat" Book
51460284dc
Merge m-c to mozilla-inbound
...
--HG--
extra : rebase_source : ff3eb8adeb22d7c5166ce9fbb4ac693e0585b254
2015-10-13 12:27:01 +02:00
Ryan VanderMeulen
89f4a647c5
Backout eab6f9c125cc (bug 1211694
) to see if it fixes the crashes reported in bug 1213979. a=me
...
--HG--
extra : amend_source : f08a20212360b2729c3a313c818981d806c12321
2015-10-12 18:04:55 -04:00
Valentin Gosu
370bdbf483
Bug 1211871 - Backout bug 1142083. r=mcmanus
2015-10-12 23:49:23 +02:00
Dragana Damjanovic
daeb9f7f13
Bug 1211694
- dataLength has been added twice. r=nwgh
2015-10-11 18:13:10 +02:00
Dragana Damjanovic dd.mozilla@gmail.com
48d945f4e6
Bug 1197679 - If nsUnknownDecoder is involved in e10s DivertToParent can break. r=jduell
2015-10-11 18:13:09 +02:00
Honza Bambas
4bd41740d0
Bug 1165269 - Use OriginAttributes in nsILoadContextInfo, r=michal+allstars
2015-10-11 18:13:09 +02:00
Patrick McManus
7b4a70a169
bug 718797 - allow heuristic cache of query string resources r=hurley
2015-10-09 09:28:37 -04:00
Ehsan Akhgari
d5f5467827
Bug 1213150 follow-up: fix build bustage
2015-10-09 11:27:05 -04:00
Ehsan Akhgari
a9097bf0fb
Bug 1213150 - Part 3: Remove nsIInterceptedChannel.isNavigation; r=jdm
2015-10-09 10:52:56 -04:00
Ehsan Akhgari
f303ed36f2
Bug 1213150 - Part 2: Rework ShouldPrepareForIntercept() in terms of subresource requests; r=jdm
2015-10-09 10:52:55 -04:00
Sajal Kayan
315c526a1e
Bug 1211168 - Fix resource timing domainLookupStart by setting the timestamp only once. r=mcmanus
2015-10-04 18:43:15 +07:00
Patrick McManus
ad9258704b
bug 1208114 - fix h2 connect tunnels r=hurley
2015-10-07 12:55:07 -04:00
Wes Kocher
163f262ba5
Backed out changeset 3cd86929d883 (bug 1208114) for test_video_playback.py crashes
2015-10-08 13:12:20 -07:00
Patrick McManus
9beb606f8c
bug 1211706
- fix network io loop spin when clearing h2 flow control buffer r=hurley
2015-10-07 17:45:46 -04:00
Patrick McManus
bfd706e3e8
bug 1208114 - fix h2 connect tunnels r=hurley
2015-10-07 12:55:07 -04:00
Daniel Stenberg
2a6016b36e
Bug 1201037 - only send "HTTP pings" on seemingly idle connections, r=mcmanus
2015-10-08 03:59:00 +02:00
Henry
4f83bb6af3
Bug 1210573 - Add attribute 'packageIdentifier' to nsIPackagedAppUtils. r=valentin.
2015-10-07 20:02:00 +02:00
Ehsan Akhgari
a2befb3bb7
Bug 1210077 - Null check gNeckoChild in HttpChannelChild::ResetInterception(); r=mcmanus
2015-10-07 23:25:25 -04:00
Michal Novotny
05dff5829e
Bug 1211001 - constant ASSERTION: nsITimer->SetDelay() called when the one-shot timer is not set up, r=mcmanus
2015-10-08 00:32:18 +02:00
Ben Kelly
53f9c75469
Bug 1210413 P1 Propagate new channel load flags from child to parent on redirect. r=jduell a=dveditz
2015-10-07 14:33:31 -07:00
Patrick McManus
0793f32151
bug 1211916 - rename brotli http coding to br r=bagder
2015-10-06 11:03:50 -04:00
Patrick McManus
295fd4fa05
bug 1211580 - cancel brotli failures from channel instead of converter r=bagder
2015-10-05 14:11:26 -04:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Nicholas Hurley
90183c451d
Bug 1197847 - Disallow folded headers in h2. r=mcmanus
...
This also fixes a lot of situations in which we could get a compression
state out of sync with the server, which would be Very Bad.
--HG--
extra : rebase_source : 53b87c3cacd34c496f4c63cddda606d005a383e5
2015-09-22 19:58:14 -07:00
Ben Kelly
0482554d13
Bug 1210941 P13 Remove ForceNoIntercept from jar channel. r=jduell
2015-10-06 06:37:07 -07:00
Ben Kelly
031144370f
Bug 1210941 P12 Remove http channel's ForceNoIntercept. r=jduell IGNORE IDL
2015-10-06 06:37:07 -07:00
Ben Kelly
d908cf0384
Bug 1210941 P9 Use LOAD_BYPASS_SERVICE_WORKER in nsCORSListenerProxy. r=ehsan
2015-10-06 06:37:07 -07:00
Ben Kelly
5f0bbc9218
Bug 1210941 P2 Use LOAD_BYPASS_SERVICE_WORKER in HttpBaseChannel instead of mForceNoIntercept. r=jduell
2015-10-06 06:37:06 -07:00
Henry Chang
10017eda0f
Bug 1186290 - Notify TabParent to switch process when loading a signed package. r=honzab, r=kanru.
2015-10-02 05:25:22 -07:00
Andrea Marchesini
48bc6c454b
Bug 1147749 - View source should go through service worker interception, r=bz, r=jduell
2015-10-05 14:46:24 +01:00
Bobby Holley
75a560dba5
Bug 1208756 - Introduce URI_FETCHABLE_BY_ANYONE and use it for moz-extension. r=bz
...
This matches the behavior described in
https://developer.chrome.com/extensions/manifest/web_accessible_resources
2015-10-02 15:02:07 -07:00
Mike Perry
742a935cd3
Bug 962358 - Provide an observer event to close persistent connections. r=arthuredelstein
...
We need to prevent linkability across "New Identity", which includes closing
keep-alive connections.
Conflicts:
netwerk/protocol/http/nsHttpHandler.cpp
2015-09-15 20:35:00 +02:00
Ehsan Akhgari
7f68257bc6
Bug 1204596 - Part 1: Avoid overriding the channel final URI when it gets intercepted; r=nsm,bkelly
2015-10-01 18:47:04 -04:00
Ben Kelly
ce0c9e1623
Bug 1208755 HttpBaseChannel::ShouldIntercept() should not assume every channel has a LoadInfo. r=ckerschb
2015-09-30 13:48:37 -07:00
Stephanie Ouillon
5e14a3b3a8
Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages r=bholley,fabrice,valentin
2015-08-26 13:12:13 +02:00
Mike Conley
b33b0eb0c4
Bug 1204301 - HttpChannelParent needs to be able to GetInterface to an nsIPrompt. r=billm.
...
NSS TLS authentication prompts require us to ask the user for their
master password in the event that the user has one set up. In that
case, the nsIInterfaceRequestor passed to PK11_DoPassword needs to
be able to GetInterface to an nsIPrompt in order to prompt the user
for the password.
This nsIInterfaceRequestor, when running with e10s enabled, happens
to be HttpChannelParent.
--HG--
extra : commitid : 2xscAswpfjc
extra : rebase_source : 155e40104d9e4191d0bc9ce36e84a97e469f3b72
extra : amend_source : 5ccfce3925eee68eb3ed011bf05915ecb76ffdf1
2015-09-22 17:39:15 -04:00
Carsten "Tomcat" Book
363e40e298
merge mozilla-inbound to mozilla-central a=merge
2015-09-28 14:13:24 +02:00
Yoshi Huang
d38b78ae54
Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley
2015-09-23 16:10:21 +08:00
Ehsan Akhgari
3414ffd758
Bug 1207556 - Part 1: Stop reusing the loadinfo in StartCORSPreflight; r=sicking
2015-09-26 12:34:16 -04:00
Wes Kocher
dab2db0590
Backed out 2 changesets (bug 1207556) for leaks in various mochitests
...
Backed out changeset bd1eed74e2ec (bug 1207556)
Backed out changeset 3260a147595a (bug 1207556)
2015-09-25 14:46:03 -07:00
Michael Layzell
59b6510302
Bug 1207233 - Don't provide a default content-type header if user calls XHR.setRequestHeader('Content-Type', ''), r=jduell
2015-09-24 16:54:11 -04:00
Ehsan Akhgari
63ed1d6a3e
Bug 1207556 - Part 1: Stop reusing the loadinfo in StartCORSPreflight; r=sicking
2015-09-25 16:09:28 -04:00
Jonathan Hao
077ea1aeb2
Bug 1178518 - Verify signed packages. r=valentin
2015-09-24 10:07:01 +08:00
Jonathan Hao
ae5a452f5b
Bug 1178518 - Packaged App Utils. r=valentin
2015-09-18 11:50:37 +08:00
Ehsan Akhgari
0bc360edc4
Bug 1204581 - Add a deprecation warning for the usage of AppCache when service worker fetch interception is enabled; r=mcmanus,baku
2015-09-24 10:09:10 -04:00
Dave Townsend
a22c2d1f9e
Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
...
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.
I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.
UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
--HG--
extra : commitid : KsbH21csjH4
extra : rebase_source : bc7c08de1ec6e802261b8cd294d88ee2c4e75c2d
2015-09-14 11:04:19 -07:00
Patrick McManus
c32c5be689
bug 366559 - patch 7, content-encoding brotli for https r=bagder
...
--HG--
extra : rebase_source : 7723eb77ac22aa5000d8e00bf68c83427e3411bb
2015-09-22 12:55:23 -04:00
Nikhil Marathe
48d53f38df
Bug 1184798 - Ensure workers loads are treated as non-subresource fetches. r=jdm
...
--HG--
extra : commitid : KSrA2sDx3MI
extra : rebase_source : c28988811316aa40e38752669a928d27750001b6
2015-09-17 11:56:41 -07:00
Patrick McManus
94bbb268e4
bug 366559 - backout due to android build bustage patch 7 on CLOSED TREE r=backout
...
--HG--
extra : amend_source : c5d7b9ed27860c9aff9598814762fea9b1c00089
2015-09-22 12:47:25 -04:00
Patrick McManus
24ea44733e
bug 366559 - patch 7, content-encoding brotli for https r=bagder
2015-09-18 18:04:28 -04:00
Patrick McManus
5fd5ee712e
bug 366559 - patch 6, support different content encodings for http vs https r=bagder
2015-09-19 18:51:32 -04:00
hchang
5513455b8d
Bug 1205228 - Change PackagedAppVerifier to notify the verification result asynchronously. r=valentin.
2015-09-21 03:11:00 +02:00
Ehsan Akhgari
46ece311dc
Bug 1206894 follow-up: Add a null check
2015-09-21 22:13:39 -04:00
Ehsan Akhgari
5d40efa578
Bug 1206894 - Enable asynchronous dispatching of fetch events; r=jdm
...
This refactoring patch separates the preparation of the fetch event
object from its dispatching, so that consumers would be able to
dispatch the event asynchronously.
2015-09-21 20:59:27 -04:00
Patrick McManus
7479d7b332
bug 1206771 - fix reentrantFlag compiler warning on >= beta r=jduell
2015-09-21 13:22:23 -04:00
Patrick McManus
53b6eb3848
bug 1187239 - ontransportstatus SENDING_TO should not use request stream re-entrantly r=hurley r=bz
2015-09-15 18:12:37 -04:00
Ben Kelly
3528a43c26
Bug 1206084 Always Cancel() channel in nsCORSListenerProxy for failed redirects. r=ehsan
2015-09-18 07:15:39 -07:00
Andrea Marchesini
9462aa8c25
Bug 1163545 - Bypass AppCache completely when Service Workers supported & registered, r=jdm
2015-09-18 10:18:38 +08:00
Patrick McManus
0027642c1e
Bug 1205810 - telemetry for local h2 goaway code r=hurley
2015-09-17 15:26:59 -04:00
Nicholas Nethercote
647b520991
Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
...
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Phil Ringnalda
92751c5b3e
Back out 3 changesets (bug 1204596) for b2g test_fetch_cors.html failures
...
Backed out changeset 2662a1ad4cad (bug 1204596)
Backed out changeset cfc4c4ecbbf5 (bug 1204596)
Backed out changeset d10c6f32ce46 (bug 1204596)
2015-09-16 20:51:17 -07:00
Ehsan Akhgari
b2a35e80cb
Bug 1204596 - Part 1: Avoid overriding the channel final URI when it gets intercepted; r=nsm,bkelly
2015-09-16 20:38:19 -04:00
Patrick McManus
60d6db97ae
bug 1204614 - use h2 per stream flow control to deal with suspended channels r=hurley
2015-09-11 15:53:27 -04:00
Patrick McManus
9a07c5f169
Bug 1204731 - telemetry for peer h2 goaway r=hurley
2015-09-14 21:55:06 -04:00
Nigel Babu
1d36e1a565
Backed out changeset d5d0b5994149 (bug 1152046) for b2g debug hustdown hangs
...
CLOSED TREE
2015-09-16 11:44:12 +05:30
Patrick McManus
daaeed9ec1
bug 1152046 - Revert Make separate thread only for PRClose. r=backout
...
This reverts commit 760a84e7cf
.
2015-09-15 21:40:28 -04:00
Nicholas Nethercote
2ee4fd783b
Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
...
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote
479244f7c9
Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
...
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Ben Kelly
16d99d45bd
Bug 1203680 P8 nsCORSListenerProxy::OnStartRequest must always call outer OnStartRequest. r=ehsan
2015-09-15 10:15:45 -07:00
Ben Kelly
c1505a4206
Bug 1203680 P7 Fix e10s handling on interceptions resulting in redirect status codes. r=jdm
2015-09-15 10:15:45 -07:00
Ben Kelly
6195e9f02c
Bug 1203680 P3 Add a method to ensure an http upload stream is directly cloneable. r=mcmanus
2015-09-15 10:15:45 -07:00
Wes Kocher
a336f83a0a
Backed out 9 changesets (bug 1203680) for mochitest bustage CLOSED TREE
...
Backed out changeset e4733b9eb53c (bug 1203680)
Backed out changeset fb33eb2a55b0
Backed out changeset eb42e21bbb96 (bug 1203680)
Backed out changeset 86642d84e604 (bug 1203680)
Backed out changeset 1026da4b02fb (bug 1203680)
Backed out changeset 311f9810e0b3 (bug 1203680)
Backed out changeset 6fedc85dc0d9 (bug 1203680)
Backed out changeset b25230c0a193 (bug 1093357)
Backed out changeset 2369d63ef14a (bug 1203680)
2015-09-14 14:27:57 -07:00
Ben Kelly
8dc9231872
Bug 1203680 P7 Fix e10s handling on interceptions resulting in redirect status codes. r=jdm
2015-09-14 12:04:56 -07:00
Ben Kelly
35d27caaa0
Bug 1203680 P3 Add a method to ensure an http upload stream is directly cloneable. r=mcmanus
2015-09-14 12:04:56 -07:00
Dragana Damjanovic
760a84e7cf
Bug 1152046 - Make separate thread only for PRClose. r=mcmanus r=mayhemer
...
--HG--
extra : rebase_source : a4f4845023d6cebdd56d75b1ff7afd29447d2167
2015-09-10 19:07:00 +02:00
Ehsan Akhgari
48f31cf19f
Bug 1199049 - Part 15: Add a missing include
2015-09-12 20:13:23 -04:00
Ehsan Akhgari
13d849f40c
Bug 1199049 - Part 14: Cancel the original channel in case a CORS preflight fails using AsyncAbort(); r=jduell
2015-09-12 19:21:17 -04:00
Ehsan Akhgari
c30d38ac4d
Bug 1199049 - Part 13: Cancel the preflight channel if the original channel gets canceled when a CORS preflight is in progress; r=jduell,sicking
2015-09-12 19:21:15 -04:00
Ehsan Akhgari
c22d4dd15d
Bug 1199049 - Part 12: Move the calls on the listener object to OnPreflightFailed(); r=jduell
2015-09-12 19:21:13 -04:00
Ehsan Akhgari
b511946ddc
Bug 1199049 - Part 11: Make it impossible to start CORS preflights from outside of Necko; r=jduell,ckerschb,sicking
2015-09-12 19:21:11 -04:00
Ehsan Akhgari
c9ef5ad84e
Bug 1199049 - Part 7: Remove entries from the CORS preflight cache in the parent process when a CORS check in the child process fails; r=jduell
...
This is necessary because it's possible for one request triggered from
a child to start a CORS preflight in the parent process and get an entry
into the preflight cache, and then a CORS check for the same URL to fail
in the child process later on. In this case, we need to tell the parent
process to clear its CORS preflight cache entry.
2015-09-12 19:21:03 -04:00
Ehsan Akhgari
d1029ccc78
Bug 1199049 - Part 6: Transfer the preflight parameters to the parent process in e10s mode; r=jduell
2015-09-12 19:21:01 -04:00
Ehsan Akhgari
661f3173cd
Bug 1199049 - Part 5: Preserve the CORS preflight information when setting up a replacement channel; r=jduell
2015-09-12 19:21:00 -04:00