Commit Graph

15712 Commits

Author SHA1 Message Date
Kershaw Chang
62a41d6974 Bug 1413999 - Part3: IPC part, send trailers to child process r=dragana
The aim of this patch is to send trailers to child process via SendOnStopRequest.

--HG--
extra : rebase_source : 1a5e16e140ef20cfe2e723c3800d7feeebd9a5af
2018-01-03 02:05:00 +02:00
Kershaw Chang
73d9823e67 Bug 1413999 Part2: Take http trailers from chunk decoder and add serverTiming attribute in nsITimedChannel r=dragana
This patch includes:
1. Save http trailers in the header array in chunk decoder.
2. Take trailers from chunk decoder in OnStopRequest().
3. Add serverTiming attribute in nsITimedChannel.
4. Parse server timing header when GetServerTiming() is called.

--HG--
extra : rebase_source : 77c92b8a31d3d7eebb33aea266888f944af33327
2018-01-03 02:04:00 +02:00
Kershaw Chang
39f697a80b Bug 1413999 - Part1: Parse Serve-Timing header r=dragana
1. Add a helper function Tokenize() which is able to handle quoted-string and quoted-pair.
2. Modify ParsedHeaderValueListList
 - Use Tokenize() to split string by ','.
3. Modify ParsedHeaderValueList
 - Use Tokenize() to split string by ';'.
 - Function ParseNameAndValue() is for getting name and value from the string containing '='.
4. Handle backslash escapes for quoted string.
5. Reuse ParsedHeaderValueListList to parse server-timing header.

--HG--
extra : rebase_source : 7802a1ae9a6410c4ea992b1197018c5a3f994fa0
2018-01-03 02:04:00 +02:00
Andrea Marchesini
a5bdaa8cf2 Bug 1421678 - Get rid of nsFileInputStream::Tell warning message when nsFileInputStream is destroyed, r=qdot 2018-01-03 14:02:43 +01:00
Amy Chung
1bca7e374d Bug 1425292 - Add test for being unable to use document.cookie to access cookie after the non-httponly cookie modifies to httponly cookie. r=jdm 2017-12-22 16:08:53 +08:00
Jeff Hemphill
73c0663aec Bug 1425807 - Convert nsHostKey members to nsCString r=valentin
MozReview-Commit-ID: 8tZUukA8Rrk

--HG--
extra : rebase_source : 4877c8eef1c2fd3a630316641d492189663acc61
2017-12-22 14:08:17 -08:00
Masatoshi Kimura
8b05ff3704 Bug 1427023 - Remove nsCRT::strncmp. r=erahm 2018-01-09 23:49:37 +09:00
Honza Bambas
d7dde42948 Bug 1422467. r=michal 2017-12-21 14:39:42 -05:00
Dragana Damjanovic
7149091b44 Bug 1426474 - Turn on TFO only for Darwin 17.3 and later. r=hurley 2017-12-21 18:59:05 +01:00
Dragana Damjanovic
93626c6bec Bug 1426367 - Turn on TFO for Windows. r=hurley 2017-12-21 18:43:57 +01:00
Dragana Damjanovic
66a1074054 Bug 1426366 - Detect http transaction stalls with TFO. r=hurley 2017-12-21 18:32:28 +01:00
Florian Quèze
22c55eb7b7 Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
Florian Quèze
0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Eden Chuang
3fd3115e94 Bug 1423623 - Add telemetry for alternate data stream on service worker synthesized channels. r=bkelly, data-r=francois
1. Create a new telemetry scalar SW_ALTERNATIVE_BODY_USED_COUNT to count the
       number of the alternative body used in service worker synthesized channels.

    2. To report values of fetching related time of InterceptChannel according to
       the detail subresource type. Now subresource/script, subresource/other,
       subresource/image and subresource/stylesheet are provided, and keep using
       subresource for other types.
2017-12-15 14:35:44 +08:00
Ben Kelly
7c2e00408e Bug 1426253 P2 Use nsIDocument::GetClientInfo() where possible. r=asuth 2017-12-20 10:53:18 -05:00
Dragana Damjanovic
45d67964d6 Bug 1422895 - TFO should be possible only on Windows 10 Fall Creators Update or later. r=mcmanus 2017-12-20 16:45:30 +01:00
Dragana Damjanovic
00a47a6f30 Bug 1422545 - Do not close connection between a httpChannelChild and its httpChannelParent if we need to divert to parent.r=mayhemer
If UnknowDecoder is involved and the received content is short we will know whether we need to divert to parent only after OnStartRequest of the listener chain is called. Therefore do not do cleanup if we detect diversion.
2017-12-20 16:13:36 +01:00
Dragana Damjanovic
34afbed5d9 Bug 1402811 - Collect telemetry on how often a backup connection wins. r=mcmanus 2017-12-20 15:56:28 +01:00
Dragana Damjanovic
266c2b2aea Bug 1402879 - Make small changes to TFO: telemetry and use of backup socket that already has started. r-mcmanus 2017-12-20 15:40:07 +01:00
Kershaw Chang
df53d0fe58 Bug 1425512 - Make the sequence of requests more determinate, r=mayhemer
This test is aimed to check whether the order that http server gets requests is the same as the order in the client's pending queue.
However, even if the transactions are dispatched according to the order in pending queue, it doesn't mean the server can get the request in the same order.
This is because the transaction is really dispatched to a connection when nsHalfOpenSocket::OnOutputStreamReady() is called. The order may not be always the same as the pending queue.
Hence, this patch processes the dummy http request once at the time when the previous request's OnStopRequest() is called. This can force the client dispatch only one transaction at the time and make the behavior of this test more predictable.

--HG--
extra : rebase_source : 5f4631ecabdf1f36352a80fbe1939b54348ab682
2017-12-20 00:08:00 +02:00
Margareta Eliza Balazs
060948a574 Merge inbound to mozilla-central r=merge a=merge 2017-12-20 11:47:11 +02:00
Michal Novotny
32a0630b56 Bug 1418752 - Firefox instahang on start after landing patch from bug #1392841.vr=honzab
Initialize in advance all security services whose initialization on background thread could cause a deadlock.

--HG--
extra : rebase_source : 399f9acf736f9a06665d45a71b354076c1b85fa6
2017-12-19 21:08:15 -05:00
Nils Ohlmeier [:drno]
ae5815d5e1 Bug 1426059: removed transportlayerprsock code. r=bwc
MozReview-Commit-ID: IWcpxq1Z2V9

--HG--
extra : rebase_source : 5f4461cf80bd19c7f9eb22bc5026cfb0f1c51ce1
2017-12-18 20:30:05 -08:00
Nils Ohlmeier [:drno]
2b9e726ee7 Bug 1425697: WEBRTC_DATACHANNEL_MAX_MESSAGE_SIZE_REMOTE_DEFAULT++. r=lennart.grahl+594092
MozReview-Commit-ID: 7TWwZ2Z6ZXt

--HG--
extra : rebase_source : b1001eef2c12ba335998783112261d93d07cf6bb
2017-12-18 23:07:46 -08:00
Dorel Luca
d9227411a0 Backed out 2 changesets (bug 1424834) for AddressSanitizer failure r=backout a=backout
Backed out changeset 00e1d58aedfe (bug 1424834)
Backed out changeset 9b69f2b7d373 (bug 1424834)
2017-12-19 13:59:02 +02:00
Dorel Luca
8d7dc32e0f Merge mozilla-inbound to mozilla-central r=merge a=merge
--HG--
extra : amend_source : ab6e52d7abe431d1530dac3f5b0b09f7a8c18d62
2017-12-19 12:08:53 +02:00
Amy Chung
222e1893c3 Bug 1421324 - Modify rejection timing when processing httponly cookie on CookieServiceChild. r=jdm 2017-12-14 13:29:32 -06:00
Cosmin Sabou
0d3cfac1b7 Backed out changeset 5eff2c0351a9 (bug 1418752) for marionette harness fails on OS X at /builds/worker/workspace/build/src/netwerk/base/nsNetUtil.cpp:2669 r=backout on a CLOSED TREE 2017-12-18 19:50:00 +02:00
Michal Novotny
6c2705da74 Bug 1418752 - Firefox instahang on start after landing patch from bug #1392841, r=honzab
Initialize in advance all security services whose initialization on background thread could cause a deadlock.
2017-12-15 05:45:00 +02:00
Shih-Chiang Chien
be3edff94c Bug 1404454 - use about:blank as the inital page of the testing iframe. r=dragana
In our test script we set the unload handler on the inner iframe earlier than the page is loaded, therefore it pass the origin check since the contentWindow object is for about:blank.
Security error will raise if the OnStartRequest for that iframe is received beforehand.
Use about:blank can guarantee to have same-origin window on the inner iframe.

MozReview-Commit-ID: 8AiwGIfoF4

--HG--
extra : rebase_source : cfad1803a61719470f8240700ac917c4931e3dfe
2017-12-09 20:31:29 -06:00
Valentin Gosu
95aa8cfbb3 Bug 1425318 - Add MOZ_MUST_USE to methods in nsIURIMutator.idl r=mayhemer
* adds MOZ_MUST_USE to C++ methods and [must_use] to idl interfaces
* Rearranges the code so it's more readable, and it fits within 80 chars
* Fixes indentation in BaseURIMutator

MozReview-Commit-ID: 3vG5eVaOC9U

--HG--
extra : rebase_source : df3b1120ba71a83adb41852e9003ef08af98b662
2017-12-19 02:16:36 +01:00
Valentin Gosu
7ec2fb5907 Bug 1425318 - The second call to NS_MutateURI.Finalize should fail r=mayhemer
MozReview-Commit-ID: 4U2XsftU2sy

--HG--
extra : rebase_source : c63e014b862e7c2726c940934b06de33c6d45a2c
2017-12-19 02:06:45 +01:00
Valentin Gosu
ad95b9773a Bug 1425318 - Allow calling NS_MutateURI.Finalize(nsIURI**) r=mayhemer
MozReview-Commit-ID: Hz4CfDDS1FI

--HG--
extra : rebase_source : 2e67a8763cd286b81f903490f959d491d2e3010b
2017-12-19 02:04:40 +01:00
Phil Ringnalda
74065c09ed Backed out changeset fc0b6106be47 (bug 1425807) for static build bustage
CLOSED TREE
2017-12-18 18:31:20 -08:00
Jeff Hemphill
6d1f1c52d8 Bug 1425807 - Convert nsHostKey members to nsCString. r=valentin
MozReview-Commit-ID: 8tZUukA8Rrk

--HG--
extra : source : 966836866e8afe423a01a9926834a26cb3d3e2b0
extra : amend_source : 8602ab726f16bc561fafc5196d05fa9578073471
extra : histedit_source : 724da61db9ba94554bfdb15992a3a2aad18eca14%2C2a576438e92928c4a8196429dbcd76d1bd1eca7d
2017-12-18 11:27:38 -08:00
Csoregi Natalia
10b1db0472 Backed out changeset 966836866e8a (bug 1425807) for Build Bustage. r=backout on a CLOSED TREE 2017-12-19 03:09:04 +02:00
Jeff Hemphill
0e5ba4ebd8 Bug 1425807 - Convert nsHostKey members to nsCString r=valentin
MozReview-Commit-ID: 8tZUukA8Rrk

--HG--
extra : rebase_source : 717e730de9c79f13553fa617c7588805683f18c5
2017-12-18 11:27:38 -08:00
Valentin Gosu
9d89df19e4 Bug 1424834 - LinkedList::sizeOfExcludingThis should use ConstRawType instead of T* r=njn
MozReview-Commit-ID: 2EM9cEOAkIl

--HG--
extra : rebase_source : b3950ed06e1bc014fff9aa1deb5c2387fb2eb5bb
2017-12-15 15:46:31 -06:00
Valentin Gosu
d4f5405148 Bug 1424834 - Replace nsHostRecord.callbacks with LinkedList<RefPtr<nsResolveHostCallback>> r=mayhemer
* nsResolveHostCallback extends nsISupports (for addref-ing and because nsDNSAsyncRequest implements nsICancelable)
* nsResolveHostCallback extends LinkedListElement<RefPtr<nsResolveHostCallback>> so the list can properly manage references
* nsDNSAsyncRequest and nsDNSSyncRequest properly implement nsISupports and use RefPtr to manage lifetimes


MozReview-Commit-ID: 5NvBcWZzfyN

--HG--
extra : rebase_source : d8c5c89c35e455c5d8e6556a140a0ef119b95e86
2017-12-15 15:46:24 -06:00
Gurzau Raul
bc6e59d2b4 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-19 00:00:36 +02:00
Gijs Kruitbosch
ffc0ed12d2 Bug 1425363 - remove onWindowTitleChanged given that nobody uses it, r=bgrins
MozReview-Commit-ID: ALslAwZo4K9

--HG--
extra : rebase_source : ca1add0015eea86128c0c5f209252ebb6a228998
2017-12-14 21:55:44 -06:00
Valentin Gosu
679361e438 Bug 1424834 - LinkedList::sizeOfExcludingThis should use ConstRawType instead of T* r=njn
MozReview-Commit-ID: 2EM9cEOAkIl

--HG--
extra : rebase_source : 05ebe36ecdaacbaf26bd1b6e23715035996f88b4
2017-12-20 01:13:53 +01:00
Valentin Gosu
a7fe7a006d Bug 1424834 - Replace nsHostRecord.callbacks with LinkedList<RefPtr<nsResolveHostCallback>> r=mayhemer
* nsResolveHostCallback extends nsISupports (for addref-ing and because nsDNSAsyncRequest implements nsICancelable)
* nsResolveHostCallback extends LinkedListElement<RefPtr<nsResolveHostCallback>> so the list can properly manage references
* nsDNSAsyncRequest and nsDNSSyncRequest properly implement nsISupports and use RefPtr to manage lifetimes


MozReview-Commit-ID: 5NvBcWZzfyN

--HG--
extra : rebase_source : 67adcbd20a29803e5abbb3d16324f9cac6771d28
2017-12-20 01:13:46 +01:00
Cosmin Sabou
f0ab0b072a Backed out 2 changesets (bug 1424834) for leaks at netwerk/dns/nsHostResolver.cpp:352 r=backout a=backout
Backed out changeset 2503df83bbd9 (bug 1424834)
Backed out changeset 49cc08386f17 (bug 1424834)
2017-12-18 11:52:06 +02:00
Valentin Gosu
a659128162 Bug 1424834 - LinkedList::sizeOfExcludingThis should use ConstRawType instead of T* r=njn
MozReview-Commit-ID: 2EM9cEOAkIl

--HG--
extra : rebase_source : b3950ed06e1bc014fff9aa1deb5c2387fb2eb5bb
2017-12-15 15:46:31 -06:00
Valentin Gosu
d2697a43d6 Bug 1424834 - Replace nsHostRecord.callbacks with LinkedList<RefPtr<nsResolveHostCallback>> r=mayhemer
* nsResolveHostCallback extends nsISupports (for addref-ing and because nsDNSAsyncRequest implements nsICancelable)
* nsResolveHostCallback extends LinkedListElement<RefPtr<nsResolveHostCallback>> so the list can properly manage references
* nsDNSAsyncRequest and nsDNSSyncRequest properly implement nsISupports and use RefPtr to manage lifetimes


MozReview-Commit-ID: 5NvBcWZzfyN

--HG--
extra : rebase_source : d8c5c89c35e455c5d8e6556a140a0ef119b95e86
2017-12-15 15:46:24 -06:00
Amy Chung
d0eb2b7593 Bug 1413512 -- Added a telemtry for counting of the HTTP redirection that triggered by top-level document or by subresource. r=schien data=francois 2017-12-15 10:50:19 -06:00
Dragana Damjanovic
07543200e4 Bug 1425156 - Fix bug in the http-auth dialog blocking. r=ckerschb 2017-12-14 20:22:56 +01:00
Dragana Damjanovic
220fd9a72a Bug 1424915 - Close a httpTransaction from a http2session with the right error code if the error code is NS_BINDING_RETARGETED. Otherwise the transaction will be restarted twice. r=mcmanus 2017-12-14 10:35:54 +01:00
Ben Kelly
909001ec5a Bug 1424754 Fix some corner cases in PartiallySeekableInputStream cloning and serialization. r=baku 2017-12-13 09:56:31 -05:00
Cosmin Sabou
b0098afaea Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-12-13 12:14:29 +02:00
Andrea Marchesini
5f1be317f0 Bug 1421094 - nsIUploadChannel2.cloneUploadStream returns the length of the stream, r=smaug 2017-12-12 18:38:19 -06:00
Andrea Marchesini
da0a8f053e Bug 1421094 - Make nsBufferedStream cloneable, r=smaug 2017-12-12 18:38:19 -06:00
Tom Tung
f268a3c7c9 Bug 1420672 - P1: Propagate the uri reference to the redirect uri if the redirect uri doesn't have one. r=beklly
--HG--
extra : rebase_source : 5c2d137a03118b932631bbb52d640f34e269e86f
2017-12-08 15:42:30 +08:00
Andrea Marchesini
badd489870 Bug 1424808 - Get rid of isFileStream in nsHttpChannel.cpp, r=valentin 2017-12-12 06:01:18 -06:00
Andrea Marchesini
b32bea6044 Bug 1424809 - Get rid of NS_NewPostDataStream, r=valentin 2017-12-12 06:01:17 -06:00
Dragana Damjanovic
1ee1f7ed9c Bug 1409449 - Update test for bug 1409449. r=:ckerschb 2017-12-12 10:34:42 +01:00
Dragana Damjanovic
86a9ddb711 Bug 1409449 - Do not show auth-dialog for triggeringPrincipal==SystemPrincipal. r=ckerschb r=valentin r=francois 2017-12-12 10:34:12 +01:00
Margareta Eliza Balazs
c4027ebd8f Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-13 00:04:54 +02:00
Andreea Pavel
5ba2665757 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 22:21:17 +02:00
Eric Rahm
6058ba50a3 Bug 1423798 - Remove headers included for backwards compat in nsString.h. r=njn on a CLOSED TREE
Remove the headers included for "backwards compatibility" and just include them
where required.

--HG--
extra : source : e2beba7e6875120ebbbcadf24bcbcb5b86411a94
extra : amend_source : 11f07a27431cd468511f0bd45afe36150c6e342c
2017-12-06 19:36:57 -08:00
Csoregi Natalia
f488657fbd Backed out changeset e2beba7e6875 (bug 1423798) for failing Browser Chrome tests browser_temporary_permissions_expiry.js on Windows 7 debug. r=backout on a CLOSED TREE 2017-12-09 07:23:35 +02:00
Gurzau Raul
0fcc1a37e6 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-09 00:57:59 +02:00
Gurzau Raul
91d3bc0100 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 00:36:15 +02:00
Eric Rahm
74880b3483 Bug 1423798 - Remove headers included for backwards compat in nsString.h. r=njn
Remove the headers included for "backwards compatibility" and just include them
where required.

--HG--
extra : rebase_source : 03e703a81ed4b80f4f116ff36d8787464ce5acba
2017-12-06 19:36:57 -08:00
Gurzau Raul
15f8898e50 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-09 00:56:50 +02:00
Honza Bambas
1ee6257bc3 Bug 1386746 - Throttle HTTP response by allowing only small amount of data to read periodically, r=mcmanus 2017-11-28 05:37:00 +02:00
Eric Rahm
07c97a5afe Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
This removes an unnecessary level of indirection by replacing all
nsStringGlue.h instances with just nsString.h.

--HG--
extra : rebase_source : 340989240af4018f3ebfd92826ae11b0cb46d019
2017-12-06 16:52:51 -08:00
Shane Caraveo
76ee06b331 Bug 1149250 add support for https upgrades from webextensions, r=bz,mayhemer,rpl
MozReview-Commit-ID: ChIs2Q6bgEn

--HG--
extra : rebase_source : 942d6ee111df39fdd19d1d035e8eefa9280430f3
2017-12-08 12:12:37 -08:00
Patrick McManus
dc7b5677f7 Bug 1411316 - necko api for cancelling all transactions r=dragana
test by: :kershaw

MozReview-Commit-ID: BwjsDMiEGZY

--HG--
extra : rebase_source : 5f2bdc49295d19179e26f9c72204e1d8a9fb698a
2017-10-24 09:17:02 -07:00
Valentin Gosu
d9e085b9ec Bug 1423961 - Improve NS_MutateURI.Finalize by passing reference to nsCOMPtr instead nsIURI** r=mayhemer
MozReview-Commit-ID: 6VRhNJF3f0U

--HG--
extra : rebase_source : 01bf82ace5cfbf81fdf095cd76c5d98a2ce03245
2017-12-08 17:37:41 +01:00
Valentin Gosu
10292308b3 Bug 1424066 - Rename nsResolveHostCallback.OnLookupComplete and nsHostResolver.OnLookupComplete r=mayhemer
We have several different methods called OnLookupComplete, with similar but different arguments.
This makes it difficult to reason about the code, when lots of methods are called the same.

* renames nsResolveHostCallback.OnLookupComplete to nsResolveHostCallback.OnResolveHostComplete
* renames nsHostResolver.OnLookupComplete to nsHostResolver.CompleteLookup

MozReview-Commit-ID: AeWTErs4OQM

--HG--
extra : rebase_source : 6d06b50c1fa2ba678a887b93f28e1e602e209da4
2017-12-07 23:19:48 +01:00
Valentin Gosu
749a85ca11 Bug 1424066 - Use RefPtr to hold nsHostResolver in nsHostResolver::ThreadFunc r=mayhemer
MozReview-Commit-ID: CmKWJIq1SNy

--HG--
extra : rebase_source : 126e066b771b54d5a56d64b645bb60461f4478cd
2017-12-07 22:53:42 +01:00
Sylvestre Ledru
4591d82b23 Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f

--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Randell Jesup
edbe55cb90 Bug 1421963: lock around SCTP input processing, not just the receive callback r=drno 2017-12-07 13:24:46 -05:00
Randell Jesup
882ad2f961 Bug 1297418: reland SCTP library update to rev 0e076261b rs=jesup,drno r=tuexen,drno 2017-12-07 13:24:41 -05:00
Junior Hsu
344e2267f3 Bug 1419658 - let Basic http auth support ISO-8859-1 user/password, r=honzab
--HG--
extra : rebase_source : a3fdf8a70281775961277a0bcbf0645291f7b2b3
2017-12-07 01:31:00 +02:00
Bogdan Tara
8e9610529d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-07 13:02:03 +02:00
Michal Novotny
f9dafdd5cd Bug 1418854 - Race condition in AutoClose. r=honzab
--HG--
extra : amend_source : dc474202125cfd2f00c769d0266cc0fc76b9ac94
2017-12-06 20:48:06 -05:00
Ryan VanderMeulen
d945b2a059 Bug 1423667 - Disable some tests that fail on Windows Code Coverage builds with clang-cl r317840. rs=marco
--HG--
extra : histedit_source : d2f4b4d59301469c4cabb7198f0f98c5247eab84
2017-12-06 20:40:46 -05:00
Dragana Damjanovic
6faa3298a5 Bug 1423522 - We should not block http-authentication prompts for proxies. r=ckerschb 2017-12-06 14:13:32 +01:00
Dorel Luca
1208bc03a7 Merge mozilla-central to autoland r=merge on a CLOSED TREE
--HG--
extra : rebase_source : 5f22b0e83fd5f1b28e0c1ebbcc429c332835eb36
2017-12-07 00:27:29 +02:00
Tarek Ziadé
8d44fcec74 Bug 1415536 - Extend NotifyNetworkActivity to get sent/received bytes r=baku,valentin
MozReview-Commit-ID: Afdvz0lktY8

--HG--
extra : rebase_source : 050a3d3322397a581a2ada507f011424e066311f
2017-11-23 09:37:54 +01:00
Gurzau Raul
f5f1c3f294 Merge inbound to mozilla-central r=merge a=merge 2017-12-06 11:53:55 +02:00
Ben Kelly
dc20c8c537 Bug 1423412 P2 Copy the service worker controller across redirects by default and clear it explicitly for non-subresource redirects. r=baku 2017-12-05 20:45:23 -05:00
Valentin Gosu
efadeeed26 Bug 1420954 - Add NS_MutateURI helper function to chain nsIURIMutator setters in C++ r=bagder
MozReview-Commit-ID: 79NlOm08ebz

--HG--
extra : rebase_source : ba9b5cde71ce851762db2704b0142552ef75e9d3
2017-12-05 17:17:02 +01:00
Valentin Gosu
5a83d2bc0b Bug 1420954 - Make nsIURIMutator setters return nsIURIMutator so we can chain setters r=bagder
MozReview-Commit-ID: 53BD91hB2yi

--HG--
extra : rebase_source : 3c4f5b9ad8820353ae108b982026048dbf599d95
2017-12-05 02:35:21 +01:00
Honza Bambas
03b39896a0 Bug 1340197 - Don't wait for concurrent HTTP cache entry when the depending load is a top-level navigation. r=michal 2017-11-27 07:26:00 -05:00
Bogdan Tara
ebe0a1a20c Merge inbound to mozilla-central r=merge a=merge 2017-12-04 22:20:49 +02:00
Francois Marier
1e487450bd Bug 1421803 - Send ThreatHit requests and telemetry at the right time. r=dimi
The ThreatHit requests were never being sent because SetMatchedInfo() was
called on the channel _after_ calling SendThreatHitReport().

Additionally, the telemetry was sent in OnStartRequest() and so errors
returned in OnStopRequest() would not be caught.

This patch also includes some improvements to the logging of these
requests which can be toggled using:

    MOZ_LOG="UrlClassifierDbService:5,nsChannelClassifier:5"

MozReview-Commit-ID: 9dtRgEPVS3g

--HG--
extra : rebase_source : 6d0e4b745e203a54489ddd479935d008ab9a82d7
2017-11-28 12:10:37 -08:00
Michal Novotny
4e89b320f9 Bug 1394564 - Delete current outgoing message when PrimeNewOutgoingMessage fails. r=mcmanus
--HG--
extra : amend_source : 6ac45c6b007dac89195529a2e57ccfbd7ca88b8f
2017-11-22 05:17:00 -05:00
Valentin Gosu
e7b318dddd Bug 1422173 - Add comment mentioning leaked addr_info r=me
MozReview-Commit-ID: BFztnh9kO5C
2017-12-04 16:03:02 +01:00
Valentin Gosu
95aaaa5773 Bug 1422173 - Backed out changeset 27719294cb73 (Bug 1420677) r=me
MozReview-Commit-ID: 7iSG4279EfL
2017-12-04 16:02:59 +01:00
Valentin Gosu
1951f81b85 Bug 1422173 - Backed out changeset 34cfc821e335 (Bug 1417827) r=me
MozReview-Commit-ID: 5C5YN8zgAgt
2017-12-04 16:02:58 +01:00
Honza Bambas
4eab23cce4 Bug 1411632 - Introduce onload and DOMContentLoaded telemetry for active tab and network optimization. r=valentin, r=francois 2017-12-02 18:13:43 -05:00
Junior Hsu
61807cdb5d Bug 1420334 - protect timestamp setting in a critical section, r=michal 2017-11-30 19:45:00 +02:00
Valentin Gosu
fcad071405 Bug 1422173 - Use lock when changing nsHostRecord.addr_info r=mayhemer
MozReview-Commit-ID: A6Qk6G3Y1SY
2017-12-01 16:05:16 +01:00
Gurzau Raul
0b613c3887 Merge inbound to mozilla-central r=merge a=merge 2017-12-01 12:56:06 +02:00