Commit Graph

13431 Commits

Author SHA1 Message Date
Gijs Kruitbosch
6806a51e47 Bug 1280584 - implement cloneWithNewRef, r=valentin
MozReview-Commit-ID: 8FIyclkJPDp

--HG--
extra : rebase_source : 5fee9f021e3d23a981c52b1996f1a21fc03f6365
2016-07-18 16:00:54 +01:00
Andi-Bogdan Postelnicu
423a1b45b2 Bug 1289397 - prevent overflow in CacheFileChunk::UpdateDataSize. r=valentin
MozReview-Commit-ID: HCZD9tkSr9I

--HG--
extra : rebase_source : 044f7d67f08de850da8cd23b4a35eb1cc5c99ccc
2016-07-26 15:29:16 +03:00
Gijs Kruitbosch
61094e5a36 Bug 1280584 - implement cloneWithNewRef and thereby make hash/ref links use a simple unified codepath in the IO service, r=valentin
MozReview-Commit-ID: 8FIyclkJPDp

--HG--
extra : rebase_source : 49fb2b12488bd57a5417c7c3bff2211d651c5de7
extra : amend_source : d9940a1d9009930dc2f499417a7e1446d4601c20
2016-07-26 23:38:46 +01:00
Valentin Gosu
59fdb38682 Bug 1288301 - Convert TestStandardURL to gtest r=mcmanus
MozReview-Commit-ID: FscilBXGhI2

--HG--
rename : netwerk/test/TestStandardURL.cpp => netwerk/test/gtest/TestStandardURL.cpp
2016-07-25 21:48:05 +02:00
Carsten "Tomcat" Book
b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Carsten "Tomcat" Book
0a5622c093 Backed out changeset 640247e978ba (bug 1246540) for bustage 2016-07-24 15:59:31 +02:00
Kate McKinley
547500d5a7 Bug 1246540 - HSTS Priming Proof of Concept. r=honzab
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

(r=ckerschb,r=mayhemer,r=jld,r=smaug,r=dkeeler,r=jmaher,p=ally)
2016-07-22 18:35:00 +02:00
Jan de Mooij
c7e88a5ad8 Bug 1286795 part 6 - Replace JS_NewRuntime/JS_DestroyRuntime with JS_NewContext/JS_DestroyContext. r=luke,bz 2016-07-23 19:54:19 +02:00
Wei-Cheng Pan
eab2098c99 Bug 1264566 - Part 3: Release upload stream after request complete. r=valentin
MozReview-Commit-ID: 5r1fEkOy9vU

--HG--
extra : transplant_source : %1Dc6%99%3F%5C%81%F6%FDu%FD%C0l%B8-%CD%AF%BBx%01
extra : histedit_source : b407a427fa4cd3fedfd71f7d7f56958fce1099ca
2016-06-24 18:12:32 +08:00
Wei-Cheng Pan
fd87664d8e Bug 1264566 - Part 2: Refactor all usage of FileDescriptor. r=valentin
Callers should use a UniquePtr to hold the platform handle.

MozReview-Commit-ID: 6BWnyAf4b3a

--HG--
extra : transplant_source : %26%CA%0D%28%08%9BT%97Z%A1%3Dq%CD%21%A1_%EFE%83%0E
extra : histedit_source : 77f8ed3d0fdec6cce0c95469130ade0fb547bb91
2016-05-27 16:12:51 +08:00
Carsten "Tomcat" Book
8b6316ec5f Merge mozilla-central to mozilla-inbound 2016-07-22 11:59:06 +02:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book
c7846e126c Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests 2016-07-22 11:30:23 +02:00
Jim Chen
ce45a595ab Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -04:00
Fabrice Desré
f5b619fb28 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book
4a64baa9d4 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Rob Wu
f8554fe4b9 Bug 1234677 - Introduce _generated_background_page.html r=billm
- Fixes bugzil.la/1234677
- Fixes bugzil.la/1286057
- Fixes bug: the URL failed to load if a query string or reference
  fragment was present.

MozReview-Commit-ID: 4oMwI3IS7OX

--HG--
extra : rebase_source : 621878e4f62febdc34899192e254f8ec315b789e
2016-07-12 13:55:14 -07:00
Franziskus Kiefer
dd5231632f Bug 1263793 - Using content signature verifier for verifying remote newtab, r=keeler,mayhemer
MozReview-Commit-ID: ABXYYseKImq

--HG--
extra : rebase_source : 79614e5215e738dff9683ad447245bd830c887bf
2016-05-19 10:59:48 +02:00
Chris Peterson
d634a99cad Bug 1277106 - Part 4: Remove MOZ_UTF16() macro. r=Waldo 2016-07-19 21:07:53 -07:00
Chris Peterson
b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book
e8bc59a87a Backed out changeset 684888aeee81 (bug 1287946) 2016-07-21 08:07:12 +02:00
Jim Chen
78f67d1f6f Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 00:42:26 -04:00
Christoph Kerschbaumer
9ec95d3d9d Bug 471020 - Implement X-Content-Type-Options: nosniff. r=dveditz,bz,mcmanus 2016-07-20 12:22:27 +02:00
Mike Hommey
d5a26f74b7 Bug 1280578 - Free pAdapterAddrs with GlobalFree in sctp_init_ifns_for_vrf(). r=jesup
Until da6f8ba in upstream git repository, sctp_init_ifns_for_vrf() was
using the MALLOC and FREE macros, using respectively HeapAlloc and
HeapFree. da6f8ba changed the allocations to use GlobalAlloc, but didn't
change the deallocations to use the symmetric GlobalFree.

This doesn't seem to cause direct problems, but when wrapping one family
of allocation functions, the dissymmetry causes allocator mismatch
problems.

Moreover, the MALLOC macro being unused, it might as well be removed,
along the FREE macro, so that both allocations and deallocations use one
API explicitly.

See https://github.com/sctplab/usrsctp/pull/92
2016-07-20 14:04:40 +09:00
Xidorn Quan
76db18facb Bug 1284406 part 3 - Export ICU headers in include/unicode. r=glandium
MozReview-Commit-ID: FuwAgEGjhxm

--HG--
extra : source : c07ceab42b47b18a1e8d436e7c888bdd113575fa
2016-07-20 15:00:13 +10:00
Xidorn Quan
17ee95ed83 Bug 1284406 part 1 - Move warning suppression of C4577 to global level. r=glandium
MozReview-Commit-ID: 66TD5A3L73D

--HG--
extra : source : e35f507952ccb081e77d5ba78c1b0d2ed566ac73
2016-07-20 15:00:13 +10:00
Honza Bambas
908654ae93 Bug 1287487 - remove no longer relevant test_bug651100.js, r=jduell 2016-07-18 08:54:00 +02:00
Honza Bambas
9ce4e1672b Bug 913823 - enable some net xpcshell tests that have been disabled because of cache2, r=michal
--HG--
extra : rebase_source : fba8cea900333bee5ef026446fbf48ed56a518ae
2016-07-18 09:03:00 +02:00
Masatoshi Kimura
8f5ad0af70 Bug 1286694 - Part 1: Modify test_tls_server.js to test TLS 1.3. r=keeler
MozReview-Commit-ID: 5OhfwG1J1Hq

--HG--
extra : rebase_source : 7336296aa363f3eeedec64fb5ed5cfd79dbd99c0
extra : source : 7214c64cf4798f0622df13eebbfc3e4ddbe0c952
2016-07-20 04:59:28 +09:00
Wes Kocher
3bba9b339e Backed out 5 changesets (bug 1287623) for static build bustage CLOSED TREE
Backed out changeset a48daec87ec9 (bug 1287623)
Backed out changeset 248153344e15 (bug 1287623)
Backed out changeset 8aa409c9b1ce (bug 1287623)
Backed out changeset 602d4d88e806 (bug 1287623)
Backed out changeset 114da8bdc0b0 (bug 1287623)
2016-07-20 15:40:33 -07:00
Andrew McCreight
41cc2c03eb Bug 1287624, part 2 - Replace swap with forget in a few places. r=froydnj
The return argument was initialized to null in all of these, so it
should not change the behavior.
2016-07-20 15:19:00 -07:00
Andrew McCreight
f4b033d329 Bug 1287623, part 5 - Convert CacheFileIOManager::gInstance to StaticRefPtr. r=mayhemer 2016-07-20 15:19:00 -07:00
Andrew McCreight
54bdb774ad Bug 1287623, part 4 - Make CacheIndex::gInstance a StaticRefPtr. r=mayhemer 2016-07-20 15:19:00 -07:00
Andrew McCreight
afa9136306 Bug 1287602 - CacheFile::GetChunk() is unused. r=michal 2016-07-20 15:18:59 -07:00
Wes Kocher
e2d9911273 Backed out changeset 21d8bb5af7b4 (bug 1263793) for leaks in various jobs CLOSED TREE 2016-07-20 11:16:37 -07:00
Franziskus Kiefer
9b9c643025 Bug 1263793 - Using content signature verifier for verifying remote newtab, r=keeler,mayhemer
MozReview-Commit-ID: CHUPgBr8WaC

--HG--
extra : rebase_source : 969bd058a157c7307b7a4d3c2a4c5d62e82b7489
2016-05-19 10:59:48 +02:00
Thomas Zimmermann
4bee1b2945 Bug 1288077: Forward declare arrays by including 'nsTArrayForwardDeclare.h', r=froydnj
MozReview-Commit-ID: 4RBeHDyhQgr
2016-07-20 17:29:36 +02:00
Thomas Zimmermann
c9844397ea Bug 1288077: Whitespace fixes, r=froydnj
MozReview-Commit-ID: DpKAsid5O3k
2016-07-20 17:29:36 +02:00
Michal Novotny
d115f7f708 Bug 1287266 - Integer overflow check in WebSocketChannel::ProcessInput, r=mcmanus 2016-07-20 17:15:32 +02:00
Fabrice Desré
7846da76d6 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : 20f6f0235667530c21aca4889b5d33e39c2d1a48
2016-03-03 09:58:47 -08:00
Andrew McCreight
9653815dee Bug 1287623, part 5 - Convert CacheFileIOManager::gInstance to StaticRefPtr. r=mayhemer 2016-07-21 09:54:17 -07:00
Andrew McCreight
3059107942 Bug 1287623, part 4 - Make CacheIndex::gInstance a StaticRefPtr. r=mayhemer 2016-07-21 09:54:17 -07:00
Carsten "Tomcat" Book
b73990fc83 Merge mozilla-central to mozilla-inbound 2016-07-21 16:26:18 +02:00
Nathan Froyd
121f6f491f Bug 1282154 - add more override declarations for Android-specific code; r=snorp 2016-07-21 16:46:41 -04:00
Sylvestre Ledru
264ead6793 Bug 1289135 - Fix typos in the properties files r=Ehsan
MozReview-Commit-ID: 5n2mCxzkDch

--HG--
extra : rebase_source : d2837bb8928d355ea109aedcde4a37c056ddcb95
2016-07-25 16:34:38 +02:00
Patrick McManus
13b75c9133 Bug 1242597 - Fix nsSocketTransport reference loop. r=dragana
--HG--
extra : rebase_source : dd7c8b420bca72348153178b20ba7d90c63899ca
2016-01-19 17:48:15 -05:00
Dragana Damjanovic
67635a6600 Bug 1295636 - SetHostPort should reset the port if the host parameter does not have a port number. r=valentin, r=smaug
--HG--
extra : rebase_source : 2e63afd5708c55810206f9bc47b6f078a0824400
2016-08-17 23:25:00 -04:00
Dragana Damjanovic
4cf673afa8 Bug 1264578 - NSS support for http with TLS 1.3. r=keeler
--HG--
extra : rebase_source : ed323e68723ecbe2687dcc23acd279a64225c5ba
2016-08-17 13:57:00 -04:00
Dragana Damjanovic
ff61d396de Bug 1264578 - Networking support for http with TLS 1.3. r=mcmanus
--HG--
extra : rebase_source : 09ca6da3ec12db1db0520f20a7cc39c515d8b5a8
2016-08-11 08:28:00 -04:00
Byron Campen [:bwc]
44288fe630 Bug 1293347: Move the set/unset of |cur_it| to a better place. r=tuexen,jduell
MozReview-Commit-ID: BGRFposcrBG
2016-08-09 10:18:08 -05:00
Honza Bambas
564db81aea Bug 1286735 - Add after-shutdown nullchecks to the appcache code, r=michal
--HG--
extra : rebase_source : ebf25a8b608f9fb604907528b88cac201546e135
2016-07-27 12:10:00 +02:00
Honza Bambas
14d285bdcd Bug 1171203 - Fix redirection limit underflow, don't count internal redirect to this limit, r=mcmanus 2016-08-01 04:12:00 +02:00
Nicholas Nethercote
6fa37ab6c0 Bug 1290350 - Make fallible some potentially large allocations in nsSimpleURI::GetSpec. r=valentin.
--HG--
extra : rebase_source : afb8e8a177eb171db1977ca8414eb01a6cd68838
2016-08-01 09:14:33 +10:00
Nicholas Nethercote
249cd65c71 Bug 1156255 - Make fallible a potentially large allocation in nsSimpleURI::SetPath. r=dholbert.
--HG--
extra : rebase_source : 9dfe68e8179e293c096a93276ff1100a052527b2
2016-08-01 09:13:29 +10:00
Dragana Damjanovic
56aa665f1b Bug 1274818 - Early return from nsHttpChannel::CallOnStartRequest on its second call, r=dragana 2016-07-15 12:14:00 +02:00
Jonathan Hao
198b01a6aa Bug 1270681 - Add a test to ensure that the HTTP Cache is respecting usercontextId. r=mayhemer 2016-07-18 02:21:00 +02:00
Dragana Damjanovic dd.mozilla@gmail.com
35cecae1b6 Bug 1261585 - Make nsITraceableChannel listener work with content encoding.r=jduell
--HG--
extra : rebase_source : 98c549ada53f64f66eb716801f0140da6b7252ef
2016-07-19 05:05:00 +02:00
Honza Bambas
fb60c43315 Bug 1288327 - Disable some HTTP cache tests when the old backend is used, r=dragana
--HG--
rename : netwerk/test/unit/test_cache2-29e-non-206-response.js => netwerk/test/unit/test_cache2-29e-concurrent_read_half-non-206-response.js
2016-07-21 02:00:00 +08:00
Kate McKinley
567ebcf321 Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb, r=mayhemer, r=jld, r=smaug, r=dkeeler, r=jmaher, p=ally
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.
2016-07-26 13:03:00 -04:00
Honza Bambas
e064945148 Bug 1119394 - Remove textual reference to bug 1000338 from about:cache. r=michal 2016-07-25 10:26:00 -04:00
Michal Novotny
5c8e3e2111 Bug 1288905 - Questionable reinterpret cast in WebSocketChannel::PrimeNewOutgoingMessage(), r=mcmanus 2016-07-26 19:57:03 +02:00
Nicholas Nethercote
b844244609 Bug 1273043 - Add a missing null check to HttpChannelChild::DoOnStartRequest(). r=michal.
--HG--
extra : rebase_source : 9524ee9f1328505c8136a8da8bfea49fb279f33e
2016-07-12 10:33:07 +10:00
Wes Kocher
c9783f64cb Backed out 4 changesets (bug 471020) for frequent Windows w(2) failures CLOSED TREE a=merge
Backed out changeset d9675ab3d203 (bug 471020)
Backed out changeset 3ee328c56de0 (bug 471020)
Backed out changeset 000576e264bd (bug 471020)
Backed out changeset ffe60708c457 (bug 471020)
2016-07-18 16:07:28 -07:00
Kannan Vijayan
2c6b8dc9ef Bug 1286636 - Use dedicated custom-port query socket to do mDNS queries. Respond to queries using per-interface sockets. r=justindarc 2016-07-18 12:41:31 -04:00
Christoph Kerschbaumer
f897b7df7e Bug 471020 - Implement X-Content-Type-Options: nosniff. r=dveditz,bz,mcmanus 2016-07-18 14:47:48 +02:00
Andrea Marchesini
c2e7f126f5 Bug 1282407 - Implement nsIURIWithBlobImpl to support blobURL after revoking them, r=smaug 2016-07-17 16:32:02 +02:00
Carsten "Tomcat" Book
a0992595d6 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Wes Kocher
ad9620b862 Merge m-c to autoland a=merge 2016-07-15 17:01:59 -07:00
Carsten "Tomcat" Book
0f6e33eb43 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2016-07-15 16:16:45 +02:00
Xidorn Quan
30788d7d8b Backed out 4 changeset (bug 1284406) for build bustage on CLOSED TREE
--HG--
extra : amend_source : 9ad3b754789e60fe021f5b1989d7063cea8ca457
extra : histedit_source : 66c8b4fc923335e88a4593fd900c6c2cf57f6123%2C0f634c3c453a5d922de0e4e66dac69deec9f729c
2016-07-16 12:27:45 +10:00
Xidorn Quan
7167e29a37 Bug 1284406 part 2 - Export ICU headers in include/unicode. r=glandium
MozReview-Commit-ID: FuwAgEGjhxm

--HG--
extra : source : a90c00e3fa63f1e9934fe5f515233dddb11970b6
2016-07-16 11:44:15 +10:00
Xidorn Quan
9b80ed9cd0 Bug 1284406 part 1 - Move warning suppression of C4577 to global level. r=glandium
MozReview-Commit-ID: 66TD5A3L73D

--HG--
extra : source : 61c129befe265ed4628995aaf71aa9ec6bfd9636
2016-07-16 11:44:15 +10:00
Jan Horak
f1cd3790fc Bug 890908 - Move Negotiate auth off main thread. r=mayhemer
--HG--
extra : rebase_source : ca85ad4bb099845b45a276823fe1abca68d384eb
2016-07-14 03:32:00 -04:00
Johann Hofmann
261d220621 Bug 1206252 - Part 1: Add a function to get all permissions by URI to nsIPermissionManager. r=jdm
MozReview-Commit-ID: KxnlBbmNJFZ

--HG--
extra : rebase_source : c931b331ea311c21adc8dcac9dbb88fee3a4a05f
2016-07-07 16:27:10 +02:00
Nicholas Nethercote
303d9bf656 Bug 1278439 - Adding missing prefs service null checks in netwerk/. r=valentin.
--HG--
extra : rebase_source : 837c2579c05e99f09f302d03f44279aff0894f24
2016-07-14 13:47:44 +10:00
Andrew Sutherland
4d5d691957 Bug 1274250 - Referrer host should be IDN encoded when trimmed by policy. r=valentin
Since bug 822869 the referrer trimming has relied on using prePath when
trimming resulting in non-ASCII hosts being passed through in UTF-8 (or
whatever their encoding was.)

Prior to this patch, the logic when trimming was to generate the referrer
string using prePath and possibly nsIURL.filePath, then re-derive the
nsIURI from that string.

Concerned about the cost of introducing asciiPrePath just for this consumer,
I opted to have the code just combine the scheme and asciiHostPort to
approximate the prior use of prePath.  (userPass is explicitly cleared by
the code.)

Concerned about weirdness/loss of fidelity in the nsIURI, I replaced the
code that re-derived the URI from the spec string with manual clearing
of the parts of the URI/URL we were not including.  This may not be the
right thing to do.

I modified the existing Gecko-specific test coverage of SetReferrerPolicy.
The existing web platform tests and referrer policy didn't seem concerned
with this case, and the bug is indeed localized to a very small segment
of Gecko code.  Note that the userReferrerTrimmingPolicy=1 bug case can
only be triggered by explicit user preference setting and this is only
tested in test_referrer.js.  userReferrerTrimmingPolicy=2 need not be
set by preference if REFERRER_POLICY_ORIGIN or
REFERRER_POLICY_ORIGIN_WHEN_XORIGIN (when cross origin) is used.
2016-07-13 11:08:53 -04:00
Valentin Gosu
eaee61d467 Bug 1275746 - Don't allow empty host name for URLTYPE_AUTHORITY URLs r=mcmanus
* Return NS_ERROR_MALFORMED_URI if mURLType is URLTYPE_AUTHORITY and the hostname is empty.
* Make sure nsStandardURL::SetFile calls init with the correct arguments

MozReview-Commit-ID: 7t3mZtAbMF3
2016-07-13 15:19:33 +03:00
Ben Kelly
9028a55053 Bug 1286258 Abort http channels that fail ContinueAsyncOpen() during service worker handling. r=valentin 2016-07-12 10:54:13 -07:00
Michal Novotny
43bbac13b3 Bug 1279246 - Hang due to CacheFileInputStream deadlock, r=honzab 2016-07-12 17:58:38 +02:00
Thomas Wisniewski
ef7d665ee0 Bug 1207233 - Part 1: Allow not sending a Content-Type header, or sending a blank string for it, and have XMLHttpRequest.setRequestHeader honor those possibilities. r=dragana 2016-07-11 14:27:36 -04:00
Valentin Gosu
b66ab9e6d5 Bug 1272381 - Use chromeScript.sendSyncMessage to initialize array and avoid race in test a=testonly
MozReview-Commit-ID: DxdsE6zwHqK
2016-07-12 15:06:25 +03:00
Carsten "Tomcat" Book
b40f905f49 Backed out changeset 643bfa8b72ba (bug 1207233) for bustage 2016-07-12 11:40:16 +02:00
Valentin Gosu
3d1c76ef59 Bug 1277582 - Check if TabChild is still available before calling SendPHttpChannelConstructor. r=billm
MozReview-Commit-ID: 5XH3cYkbUd1
2016-07-15 03:32:20 +03:00
Thomas Wisniewski
291ec7772c Bug 1207233 - Part 1: Allow not sending a Content-Type header, or sending a blank string for it, and have XMLHttpRequest.setRequestHeader honor those possibilities. r=dragana
--HG--
extra : rebase_source : f4063c85716f899545878f89fc7f2225ef95c7cd
2016-07-11 14:27:36 -04:00
Patrick McManus
9c80b865e8 Bug 1274605 dont update dns generations on validated renewals r=dragana 2016-07-07 21:04:36 -04:00
Thomas Zimmermann
a610242b37 Bug 1280600: Merge Android and b2g branches in build scripts where possible, r=glandium
B2g now has 'OS_TARGET' set to 'Android'. This patch merges Android
and Gonk branches in the build scripts where possible.

MozReview-Commit-ID: 9hKA0Gc62Xc
2016-07-11 15:16:56 +02:00
Valentin Gosu
34d8ec12f1 Bug 1272381 - Request complete log to diagnose intermittent failure a=testonly
MozReview-Commit-ID: LXg4ISeXOah
2016-07-11 14:49:31 +03:00
Wes Kocher
473e642b9c Merge inbound to central, a=merge CLOSED TREE 2016-07-08 14:55:59 -07:00
Carsten "Tomcat" Book
c5e638ab8c Merge mozilla-central to mozilla-inbound 2016-07-08 12:16:57 +02:00
Carsten "Tomcat" Book
838f21f656 merge mozilla-inbound to mozilla-central a=merge 2016-07-08 11:58:46 +02:00
Wes Kocher
86a74db006 Merge m-c to autoland, a=merge 2016-07-07 17:36:17 -07:00
Gregory Szorc
cfa966452b Merge mozilla-central into inbound 2016-07-07 11:30:37 -07:00
Richard Barnes
8fc350a13d Bug 1285052 - Enforce a maximum max-age for HPKP r=keeler
MozReview-Commit-ID: 1LD02GkqzTe

--HG--
extra : rebase_source : 127c9dd479b6a48e72da378a4df357a1bba1e6f3
2016-07-06 19:16:29 -04:00
Valentin Gosu
5c5c34aba0 Bug 1250739 - test_user_agent_updates.html should use notification instead of flaky setTimeout r=nwgh
MozReview-Commit-ID: 9mA0pTRP6tV

--HG--
extra : rebase_source : 1fa17ecf6274a4dfcf156f4d16477c95279d80c7
2016-07-04 13:35:29 +02:00
Patrick McManus
558727e2f9 Bug 1275917 - 1st transaction on dontresused h2 session r=hurley 2016-07-05 12:33:34 -04:00
Benjamin Smedberg
bf05496a83 Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
MozReview-Commit-ID: EGqHHhCD7vD

--HG--
extra : rebase_source : a4b9593959dd3ba80189db47eabb056ea207490f
extra : amend_source : a744d833693f0fe7adbea961c00bb5fb55a91580
2016-07-07 12:14:25 -04:00
Christoph Kerschbaumer
d21c56347a Bug 1284202 - Add deprecation warning for SEC_NORMAL. r=tanvi 2016-07-04 10:20:05 +02:00
Christoph Kerschbaumer
01865c930a Bug 1277557 - CSP require-sri-for does not block when CSP is in meta tag r=francois 2016-07-08 07:26:12 +02:00
Nicholas Hurley
0c1bd66dda Bug 1280605 - Update Alt-Svc parser to RFC. r=mcmanus
MozReview-Commit-ID: 1N3HuuAimFy
2016-07-06 11:09:53 -07:00
Patrick McManus
d7d8d5b5dc Bug 1283823 - ASpdySession::ForceIO() safety after h2 Shutdown() r=hurley 2016-07-05 17:43:21 -04:00
Valentin Gosu
e49ed17270 Bug 1277582 - Don't send SendPHttpChannelConstructor ipdl messages during child shutdown r=dragana,jdm
MozReview-Commit-ID: F6pCCn4jPVb
2016-07-07 17:12:00 +03:00
Aaron Klotz
6470186455 Bug 1268151: Clean up some dependencies in IPDL headers; r=billm
MozReview-Commit-ID: n0FkC1zcay

--HG--
extra : rebase_source : a56c34e5ab1fe9354be7b586a917b6eecff4cb31
2016-05-17 16:01:25 -06:00
Carsten "Tomcat" Book
3b4c79cd57 Backed out changeset 7132b115ab91 (bug 1275917) for causing timeouts in test_notification_http2.js
--HG--
extra : rebase_source : efb6ab780e52d75b648f3461bf7c5d526b2c6f3d
2016-07-06 16:39:35 +02:00
Daniel Veditz
d6202de12b Bug 1283368 - Implement cookie prefixes spec, r=valentin r=amchung 2016-06-29 22:42:36 -07:00
Patrick McManus
e066471796 Bug 1275917 - 1st transaction on dontresused h2 session r=hurley 2016-07-05 12:33:34 -04:00
Jan de Mooij
3e6263744c Bug 1283855 part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen 2016-07-05 14:35:23 +02:00
Jan de Mooij
31f7512e9f Bug 1283855 part 5 - Make warning reporter APIs take JSContext instead of JSRuntime. r=arai 2016-07-05 11:06:05 +02:00
Phil Ringnalda
3c074ffc55 Merge m-i to m-c, a=merge 2016-07-04 15:02:22 -07:00
Jarda Snajdr
7d691d831b Bug 1194208 - Remove storage inspector stores-reloaded event. r=mratcliffe 2016-07-04 02:48:00 +02:00
Thomas Nguyen
53c1367728 Bug 1279494 - Fix crash in SetReferrerWithPolicy, add null check the triggeringPrincipal. r=ckerschb
MozReview-Commit-ID: ho0StGNqc8
2016-07-04 17:05:57 +08:00
Christoph Kerschbaumer
3262d009aa Bug 1283759 - Pass securityFlag to newChannel for packaged_app tests r=valentin 2016-07-01 09:27:37 +02:00
Christoph Kerschbaumer
8eea9495d0 Bug 1282750 - Convert AboutCache to use AsyncOpen2() r=honza 2016-06-29 15:42:13 +02:00
Carsten "Tomcat" Book
43467583af Backed out changeset df6b25262c65 (bug 1244474) for timeouts in automation.py
--HG--
extra : rebase_source : 1bfcd0b5deddb22236e15d6e0b24b3ccafb10ec2
2016-07-01 14:08:00 +02:00
Daniel Stenberg
f0e3c6b1ae Bug 1244474 - cut off path from URLs passed to PAC scripts, r=mcmanus 2016-05-30 09:38:57 +02:00
Kyle Huey
ebc76ad30d Bug 1283328: Clean up some thread shutdown stuff and remove CameraUtils. r=froydnj 2016-06-30 13:54:06 -07:00
Julian Seward
848fd91f64 Bug 1278524 - TSan: data races netwerk/cache2/CacheEntry.{h,cpp} on CacheEntry::{mUseDisk, mSecurityInfoLoaded, mPreventCallbacks}. r=honzab.moz.
--HG--
extra : rebase_source : d9c32095f81622e70014be704406c277c28f887f
2016-06-30 12:24:54 +02:00
Carsten "Tomcat" Book
3a42c363cc merge mozilla-inbound to mozilla-central a=merge 2016-06-30 12:33:41 +02:00
David Keeler
06b53f1c5e bug 1282871 - import the Family Safety root by default when applicable r=mgoodwin
Enabling this feature should make https sites work in Firefox on Windows 8.1 for
user accounts where Microsoft Family Safety features have been enabled (whereas
previously Firefox would show a connection untrusted error page).

MozReview-Commit-ID: JH5Gn9lCYDA

--HG--
extra : rebase_source : 755c498471fe581456384b1bf7b187fe46d66b97
2016-06-28 14:18:26 -07:00
Carsten "Tomcat" Book
5c90a99952 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
Honza Bambas
e62bd5f22b Bug 1277275 - Cache I/O queue length telemetry, r=michal 2016-06-27 05:43:00 +02:00
Decky Coss
45a4f56d95 Bug 1279324: use VisitOriginalResponseHeaders to check for multiple Access-Control-Allow-Origin values; r=ckerschb
MozReview-Commit-ID: JiPs16Cmr0s

--HG--
extra : transplant_source : %CE%FB%60%C7%AAcp%BB%BB%E0%B65%3B%A3%D4%03%19%C2%8E%18
2016-06-20 18:03:55 -04:00
Gian-Carlo Pascutto
2bf351e593 Bug 579388 - Only allow nsIMIMEService scripting from chrome. r=jaas+18821
MozReview-Commit-ID: G8oU712h7Yx

--HG--
extra : rebase_source : 5e7545b20f41efd25da64a1c279fc42a5f571215
2016-06-15 12:33:47 +01:00
Alexandre Lissy
ee77e301dd Bug 1285170 - Remove app:// protocol r=valentin
MozReview-Commit-ID: 4cnLrqqyP35

--HG--
extra : rebase_source : 424b63df547308033fc960632c5ef5939e3d8d85
2016-03-16 17:11:12 +01:00
Andrea Marchesini
841e0f39ef Bug 1278320 - DataChannel should return 0 if the stream is not active, r=drno 2016-06-29 08:03:37 +02:00
Sebastian Hengst
fc1557e3ad Backed out changeset 423f4de189ac (bug 1282750) for failing browser_aboutURLs.js. r=backout 2016-06-28 20:42:02 +02:00
Nathan Froyd
8b24c9d51c Bug 1281626 - part 3 - make various things accept already_AddRefed<nsIRunnable>; r=khuey
All of these things are called with the result of
NS_NewRunnableFunction, so we need to transition them over to a world
where NS_NewRunnableFunction returns something different.
2016-06-28 22:24:54 -04:00
Andrea Marchesini
93583dc002 Bug 1281793 - Remove some non-used telemetry IDs - part 2 - network/cache, r=gfritzsche 2016-06-28 19:29:28 +02:00
Christoph Kerschbaumer
ec2f7f5183 Bug 1282750 - Convert AboutCache to use AsyncOpen2() r=honza 2016-06-28 15:32:20 +02:00
Christoph Kerschbaumer
71fde070bb Bug 1282554 - Provide helper function to check if channel can be openen using open2() and asyncOpen2() r=bholly 2016-06-28 19:03:56 +02:00
Carsten "Tomcat" Book
32708ad758 Backed out changeset 4bf710c1a503 (bug 1281793) 2016-06-28 17:04:51 +02:00
Andrea Marchesini
875e53018c Bug 1281793 - Remove some non-used telemetry IDs - part 2 - network/cache, r=gfritzsche 2016-06-28 16:44:42 +02:00
Eric Rahm
2774c95a66 Bug 1249352 - Part 5: Udpate SetScheme to use fallible NS_EscapeURL. r=valentin 2016-06-27 11:10:47 -07:00
Eric Rahm
aa8600ad2d Bug 1249352 - Part 3: Remove requirement to copy spec when calling NS_EscapeURL. r=valentin 2016-06-27 11:10:45 -07:00
Eric Rahm
acc0ac63c4 Bug 1249352 - Part 2: Modify net_FilterURIString behavior to avoid unnecessary copying. r=valentin
Previously we avoided copying the input string if modification was not
necessary. This remimplements that behavior.
2016-06-27 11:10:44 -07:00
Eric Rahm
161df1419b Bug 1249352 - Part 1: Remove unnecessary flat string in SetSpec. r=valentin 2016-06-27 11:10:42 -07:00
Andrea Marchesini
37ac18fc67 Bug 1269162 - part 6 - Merge XMLHttpRequestWorker and XMLHttpRequestMainThread, r=smaug
--HG--
rename : dom/xhr/nsXMLHttpRequest.cpp => dom/xhr/XMLHttpRequestMainThread.cpp
rename : dom/xhr/nsXMLHttpRequest.h => dom/xhr/XMLHttpRequestMainThread.h
2016-06-27 19:13:41 +02:00
Kershaw Chang
aa2bd5ea05 Bug 1256595 - Add frameOuterWindowID in nsILoadInfo, r=billm 2016-06-27 02:42:00 +02:00
Christoph Kerschbaumer
c291d7493b Bug 1278013 - Remove SEC_FORCE_INHERIT_PRINCIPAL from loadinfo within baseChannel::Redirect. r=bz 2016-06-22 17:15:06 +02:00
Nicholas Hurley
692067a4d1 Bug 1281505 - Only enable predictor prefetch by default on nightly. r=mayhemer
MozReview-Commit-ID: 3IPYGooiUSx
2016-06-23 07:59:45 -07:00
Daniel Stenberg
567324b59b Bug 1281188 - Add network identification telemetry to Mac version, r=mcmanus 2016-06-21 10:08:00 +02:00
Daniel Stenberg
7fa126ed0a Bug 1280861 - network identification telemetry for Windows, r=mcmanus 2016-06-20 10:30:00 +02:00
Honza Bambas
1998cc0732 Bug 1276930 - Bypass HTTP cache data read right after shutdown, r=michal
--HG--
extra : rebase_source : c0f568a3642c74eaad7f901c52f6dd67c6281217
2016-06-22 16:18:01 -07:00
Jan de Mooij
fb0436ba41 Bug 1279295 - Create the runtime's JSContext when we create the runtime. r=luke 2016-06-22 09:47:52 +02:00
Julian Seward
5f62e27fe9 Bug 1278502 - TSan: data races netwerk/cache2/CacheFileIOManager.{h,cpp} on CacheFileHandle::{mSpecialFile, mInvalid}. r=michal.novotny.
--HG--
extra : rebase_source : 0e81dc3ed261bf8d2e62c4f1ffaccc28e8ffcfa1
2016-06-21 14:48:48 +02:00
Valentin Gosu
82c499ccb7 Bug 1280643 - Remove telemetry for URLs ending in !//. r=mcmanus
MozReview-Commit-ID: HHQfMExQL76
2016-06-17 15:52:34 +01:00
Christoph Kerschbaumer
1b81dcec35 Bug 1271198 - Convert Websockets to use AsyncOpen2(). r=jduell 2016-05-17 12:04:11 +02:00
Nicholas Hurley
f0f573815e Bug 1273882 - Don't prefetch on origin predictions. r=mayhemer
MozReview-Commit-ID: 13QQarCBaRr
2016-06-17 02:58:41 -07:00
Mark Goodwin
75745129ca Bug 1120377 - Update preferences so TLS error reports are POSTed to the new data pipeline. r=keeler
MozReview-Commit-ID: K1xZp4RQjEo
2016-06-14 15:56:41 +01:00
Thomas Zimmermann
92207a5fd9 Bug 1276927: Remove Bionic dependencies from Necko, r=valentin
B2G builds now use the header files from Android NDKs. Bionic is
not supported by the build any longer and Bionic features can't be
used anymore. This patch removes Necko's dependencies on Bionic
in favor of the respective Android code.

MozReview-Commit-ID: HP6jC22fLGn
2016-06-16 08:43:51 +01:00
Thomas Nguyen
4b7ad0e2c5 Bug 1223838 - Fix wrong policy associated with empty string. r=fkiefer,hsivonen
MozReview-Commit-ID: 7kFH39cegmH
2016-05-30 15:17:45 +08:00
Patrick McManus
d564a1740d Bug 1286664 - TLSFilterTransaction::WriteSegments null Connection() r=hurley 2016-07-13 16:52:51 -04:00
Sebastian Hengst
4efd79c329 Backed out changeset 2a18f4684bdd (bug 1276927) 2016-06-15 12:24:03 +02:00
Thomas Zimmermann
79eb391273 Bug 1276927: Remove Bionic dependencies from Necko, r=valentin
B2G builds now use the header files from Android NDKs. Bionic is
not supported by the build any longer and Bionic features can't be
used anymore. This patch removes Necko's dependencies on Bionic
in favor of the respective Android code.

MozReview-Commit-ID: HP6jC22fLGn
2016-06-15 10:59:48 +01:00
Valentin Gosu
582d30f214 Bug 1274886 - Don't send any more IPC messages after calling PHttpChannelParent::SendDeleteSelf() r=jduell
MozReview-Commit-ID: 4EE91hvErM7
2016-06-14 13:49:52 +01:00
Carsten "Tomcat" Book
7433982068 Backed out changeset 5038112b5f78 (bug 1277275) for bustage 2016-06-13 09:55:08 +02:00
Honza Bambas
ee7057c5e9 Bug 1277275 - Cache I/O queue length telemetry, r=michal 2016-06-09 09:00:00 +02:00
Ralph Giles
2635086221 Bug 1275744 - Reference MOZ_LOG in netwerk comments. r=erahm
NSPR_LOG_MODULES is deprecated.

Programs in the test directory still use PR_NewLogModule,
so NSPR_LOG_MODULES is accurate for them. Getting these
to link against libxul for LazyLogModule is still to do,
so leave those for now.

MozReview-Commit-ID: 3uMR3YPJyyi

--HG--
extra : rebase_source : a94c6392cb0de1b6d6324b192954f48f784e8cbe
2016-05-25 16:13:54 -07:00
Honza Bambas
0c62c74b9f Bug 1273918 - Revalidate no-store responses even when offline, r=mcmanus
--HG--
extra : rebase_source : 1d2d2b336c78e3d7ac84d7173b75d5b615f25404
2016-06-08 05:25:00 +02:00
Valentin Gosu
f2f2201959 Bug 1278188 - Crash accessing local directory named <name>.desktop r=mcmanus
MozReview-Commit-ID: 1mchrs0mGGR
2016-06-10 00:51:35 +03:00
Andrea Marchesini
64734bf74c Bug 1278838 - Remove separate worker binding for Performance API, r=smaug
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Honza Bambas
e7758d8a8c Bug 1188387 - On failure of nsHttpChannel::ProcessNotModified redirect to reload from network, r=michal
--HG--
extra : rebase_source : f714c545a6a1b7fba0691ee5032257f291a558be
2016-06-08 04:24:00 +02:00
Andrew Sutherland
af016de2cb Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache.  There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Christoph Kerschbaumer
f674644360 Bug 1278641 - Remove SEC_NORMAL from test_authentication.js. r=dd 2016-06-07 20:38:48 +02:00
Tim Huang
604ba53ead Bug 1270678 - Part 1: Make the NS_GetOriginAttributes() acquires originAttributes from the loadInfo when loadContext is not available. r=valentin 2016-06-06 01:22:00 +02:00
Nicholas Nethercote
642d2ef877 Bug 1278452 - Avoid a possible null deref in netwerk/base/. r=valentin.
--HG--
extra : rebase_source : a538aeb4e261a1462fb276e8600481ab9e80339d
2016-06-07 15:07:54 +10:00
Jonas Sicking
add35a6bd8 Bug 1263991 part 6: Add e10s support for incoming websocket connections to FlyWebPublishedServer. r=baku,michal 2016-06-07 02:46:03 -07:00
Jan de Mooij
dad997a833 Bug 1277278 part 3 - Rename error reporter callback to warning reporter, assert it's only used for warnings. r=luke
--HG--
extra : rebase_source : ac1febc5220d649853f35c29de89a5e9ffb4fe98
2016-06-07 20:30:48 +02:00
Jan de Mooij
66faed38af Bug 1277278 part 1 - Remove ContextOptions and make autoJSAPIOwnsErrorReporting the default. r=luke
--HG--
extra : rebase_source : aa1dcba100a3bb7a5057b07284cf4a99353afe5a
2016-06-07 20:30:48 +02:00
Masatoshi Kimura
dfb8d11072 Bug 1268728 - Remove ability to enable RC4. r=keeler 2016-06-07 22:17:43 +09:00
Masatoshi Kimura
d4872d9358 Bug 1278250 - Add a utility function to check if non-local connections are disabled. r=mcmanus,mrbkap 2016-06-07 22:17:42 +09:00
Andi-Bogdan Postelnicu
932e09d8e4 Bug 1278504 - fixed buffer not null terminated. r=valentin
MozReview-Commit-ID: 4V1YcK2thiF

--HG--
extra : rebase_source : d7b574f8a36de604d7d48c33ca8b920a5659dbb5
2016-06-07 15:44:11 +03:00
Carsten "Tomcat" Book
5a4b7e506f Backed out changeset 64fb728c174a (bug 1263991) 2016-06-07 12:10:23 +02:00
Jonas Sicking
9835b04168 Bug 1263991 part 6: Add e10s support for incoming websocket connections to FlyWebPublishedServer. r=baku,michal 2016-06-07 02:46:03 -07:00
Thomas Zimmermann
a9cbc7e871 Bug 1277546: Build |nsNetworkInfoService| on b2g, r=nwgh
MozReview-Commit-ID: 5A2BO19wVp9
2016-06-07 11:23:30 +02:00
Christoph Kerschbaumer
0cfcbe16b4 Bug 1278271 - Use channel.asyncOpen2() within test_cache-control_request.js. r=honza 2016-06-06 17:21:17 +02:00
Kyle Huey
b42f297a3a Bug 1273683: Purge any evidence that dougt could write code. r=dougt 2016-06-06 06:51:16 -07:00
Dragana Damjanovic
1de3e688ca Bug 1230462 - Change the authentiation dialog message. r=mayhemer,dolske,margaret,tanvi
--HG--
rename : toolkit/components/prompts/test/test_bug625187.html => toolkit/components/prompts/test/test_subresources_prompts.html
2016-06-06 01:06:00 +02:00
Nicholas Nethercote
ec7a660ceb Bug 1274148 (part 1, attempt 2) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : 3e4a861f4f9c4151ffbad110159ad541119278fa
2016-06-06 12:22:14 +10:00
Nicholas Nethercote
4f1d56df39 Backout 0ed86240bc77 for bustage. 2016-06-06 11:51:44 +10:00
Nicholas Nethercote
8bc7cd881e Bug 1274148 (part 1) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
--HG--
extra : rebase_source : b468df852789a22e3d50a9580515bb6aa46784d5
2016-06-06 09:21:00 +10:00
Nicholas Nethercote
f22dbabefd Bug 1277752 (part 2) - Check the return value of PR_Seek64() in nsTemporaryFileInputStream::ReadSegments(). r=valentin.
--HG--
extra : rebase_source : 95c7f010aa71b4c59cfe9a5a9cb774210b873cfa
2016-06-03 14:27:22 +10:00
Nicholas Nethercote
f5495086eb Bug 1277752 (part 1) - Add a missing null check in Dashboard::GetDNSCacheEntries(). r=valentin.
The AppendElement() call is fallible, so its result must be null-checked.

--HG--
extra : rebase_source : 5662a9fe1f47a6968e7a147ea09559b7790e74c1
2016-06-03 14:24:00 +10:00
Carsten "Tomcat" Book
e8d8c705a1 Backed out changeset 490d3460a197 (bug 1230462) for test failures in test_modal_prompts.html
--HG--
rename : toolkit/components/prompts/test/test_subresources_prompts.html => toolkit/components/prompts/test/test_bug625187.html
2016-06-05 11:26:57 +02:00
Dragana Damjanovic
8d4a3a8b49 Bug 1230462 - Change the authentiation dialog message. r=mayhemer,dolske,margaret,tanvi
--HG--
rename : toolkit/components/prompts/test/test_bug625187.html => toolkit/components/prompts/test/test_subresources_prompts.html
extra : rebase_source : f37ed50a558040dee1958c215ccc5559637d2f84
2016-06-03 09:09:00 +02:00
Natanael Copa
6ffb5de597 Bug 1274732 - Avoid allocate 128k buffer on stack r=mcmanus
Move the 128k buffer for brotli decompression to the heap instead of stack.
This fixes crash with musl libc which provides 80k stack by default.

MozReview-Commit-ID: 9cDlFO5eoi1

--HG--
extra : rebase_source : 8f8e28e63da24cd4dde9ed585e8223cde2e5d9f1
2016-05-29 15:59:24 +02:00
Patrick McManus
c5691caef2 Bug 1277943 - atomic fix to sockettransport::debugautomutex r=hurley 2016-06-03 15:56:26 -04:00
Masatoshi Kimura
ee23c0a77c Bug 975832 - Enable AES-256 variants of the AES-128 GCM cipher suites we have already enabled. r=keeler 2016-06-04 08:19:29 +09:00
Honza Bambas
b46bbd249f Bug 1276869 - Don't remove any active HTTP caches file after shutdown, r=michal 2016-06-03 13:30:57 +02:00
Carsten "Tomcat" Book
71eb3110f9 merge mozilla-inbound to mozilla-central a=merge 2016-06-03 12:00:06 +02:00
Carsten "Tomcat" Book
1d8013d0b0 merge fx-team to mozilla-central a=merge
--HG--
extra : amend_source : c93806bb4d7d52514ddf3f2543e85a14240f01bd
2016-06-03 11:56:52 +02:00
Carsten "Tomcat" Book
8f9e440056 Backed out changeset 1fe1c3b03d08 (bug 890908) on developer request 2016-06-03 05:51:06 +02:00
dimi
74a630e7b1 Bug 1258033 - Part 3: Set DNT header based on preference and tracking protection. r=mcmanus
MozReview-Commit-ID: JIOIomOvUhN

--HG--
extra : rebase_source : a3b7780ad1a3f71e18b4cdd15a40eb281b0e0c82
2016-06-02 10:23:46 +08:00
Justin D'Arcangelo ext:(%2C%20Kannan%20Vijayan%20%3Ckvijayan%40mozilla.com%3E)
8b9a8dc107 Bug 1272101 - Changes in preparation for FlyWeb landing. Add JS implementation of nsDNSServiceDiscovery. r=hurley
--HG--
extra : amend_source : d532c156e75de8525cdb25e3a883dbb865354ec9
2016-06-01 16:22:27 -04:00
Kannan Vijayan
e4d6db6820 Bug 1272101 - Changes in preparation for FlyWeb landing. Add nsINetworkInfoService and implementation for various platforms. r=hurley 2016-06-01 16:16:40 -04:00
Jarda Snajdr
fd72aae3ac Bug 1274556 - Add a channelId attribute to nsIHttpChannel (unit test) r=hurley 2016-06-01 12:30:27 -07:00
Jarda Snajdr
4948ad52d6 Bug 1274556 - Add a channelId attribute to nsIHttpChannel r=hurley 2016-06-01 12:29:21 -07:00
Honza Bambas
4218070bbb Bug 1276673 - Adjust |doomOnFailure| argument when calling CloseCacheEntry properly, r=michal 2016-06-01 12:25:43 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
15abb6f63e Bug 1274917 - Add net original headers to cache.r=mayhemer 2016-06-01 06:25:00 +02:00
Frederik Braun
404a0bbb99 Bug 1265318: add require-sri-for CSP directive. r=ckerschb
MozReview-Commit-ID: 200PAvKtBME
2016-05-31 11:14:00 +02:00
Jonas Sicking
2e9e463e19 Bug 1272100: Websocket changes in preparation of FlyWeb landing. Make websocket code support acting as the server side of a websocket connection. r=michal 2016-06-01 02:35:33 -07:00
Christoph Kerschbaumer
8ca38235c0 Bug 1267754 - Replace WARNING about missing triggeringPrincipal with LOG() r=mcmanus
MozReview-Commit-ID: ESHG6geGqAD

--HG--
extra : rebase_source : 0c2ead7341d796f9d2bb129752f2093038ea7972
2016-05-11 10:58:06 +02:00
Honza Bambas
601acdd087 Bug 1275898 - Proper about:cache asyncOpen implementation + kill the disk entries loop hard on shutdown, r=michal
MozReview-Commit-ID: 3Tmvy45Iayu

--HG--
extra : histedit_source : 736f2ff12fb097bf2776cc900750010a00c4cf2a
2016-05-31 22:20:17 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
d53c07485b Bug 1271987 - After on-***-request observers and loadGroup::AddRequest are called, on a failure AsyncOpen() must return async.r=mcmanus, r=mayhemer
MozReview-Commit-ID: AAi6R0pb6It

--HG--
extra : histedit_source : 8c7f0f46745958c7d3aa7e8a5521bb5a38e6e10e
2016-05-31 22:13:23 -07:00
Randell Jesup
420b8a9b0e Bug 1240209: use buffer-half-empty callbacks to send buffered data instead of a timer r=tuexen,drno 2016-05-31 23:45:17 -04:00
Xidorn Quan
5c01d7c3ee Bug 1276549 - Remove rvalue reference mark for already_AddRefed params of nsIEventTarget::Dispatch and related methods. r=froydnj
MozReview-Commit-ID: J5RAfGW3X7T

--HG--
extra : source : e1ff4b0d5d9d2599ac00bac376597357ffd58ce0
2016-06-01 10:04:54 +10:00
James Andreou
1d32e86b9c Bug 1269361 - Add mPrivateBrowsingId to OriginAttributes r=ehsan,jdm 2016-06-02 17:03:11 -04:00
Kannan Vijayan
b21283649e Bug 1272101 - Fix nsINetworkInfoService implementation on Android to use Linux C APIs instead of Android Java APIs. r=snorp 2016-06-02 16:42:36 -04:00
aleth
e25e343c38 Bug 1277354 - Disable test_cache-control_request when the old cache API is used. r=mayhemer
--HG--
extra : rebase_source : 5cc9d22997c76086abc1dcd5fc88e2eda890938d
2016-06-02 16:11:36 +02:00
Kannan Vijayan ext:(%2C%20Jonas%20Sicking%20%3Cjonas%40sicking.cc%3E)
8687d34336 Bug 1272099, Bug 1272101 - FlyWeb core implementation, DOM and Network changes. r=baku r=hurley
--HG--
extra : amend_source : 73ed6e6bccb6b39d7aafd5851bb836a46bcd4e10
2016-06-02 02:47:00 -04:00
Jan de Mooij
38670ea4e2 Bug 1277267 - Convert PAC runtime to autoJSAPIOwnsErrorReporting. r=bz 2016-06-02 08:29:18 +02:00
Aidin Gharibnavaz
523608513b Bug 1247972 - specialize NS_ProxyRelease for nsISupports to be out-of-line; r=erahm
NS_ProxyRelease's current implementation requires a lot of code.  We can
reduce the impact of this by providing an out-of-line implementation for
classes based on nsISupports.  This change reduces codesize by ~60K on
a Linux x86-64 build.
2016-06-29 18:56:41 -04:00
Carsten "Tomcat" Book
2ca762b096 merge mozilla-central to mozilla-inbound 2016-06-29 16:20:21 +02:00
Andrea Marchesini
ba3387e6a0 Bug 1281793 - Remove some non-used telemetry IDs - part 7 - network/cache (2), r=mayhemer 2016-06-29 15:19:13 +02:00
Christoph Kerschbaumer
f582942bd8 Bug 1240193 - Convert test_auth_dialog_permission.js to use asyncOpen2 (r=dragana) 2016-06-29 13:01:17 +02:00
Christoph Kerschbaumer
1a5fda4297 Bug 1240193 - Skip TYPE_DOCUMENT assertions for loads initiated by JS tests (r=tanvi) 2016-06-29 12:59:45 +02:00
Honza Bambas
97f671937b Bug 428916 - support Cache-control directives in HTTP requests, r=mcmanus+michal+froydnj 2016-05-20 08:33:00 +02:00
Jarda Snajdr
a8fa0feb87 Bug 1269765 - Notify http-on-opening-request in content process. r=valentin 2016-05-30 01:24:00 +02:00
Honza Bambas
85e6362a96 Bug 1274585 - Push HTTP cache index build when asked for disk cache size, r=michal 2016-05-30 04:48:00 +02:00
Valentin Gosu
3525b6a693 Bug 1254688 - Use mLoadInfo to get the performance object. r=bz, r=tanvi
MozReview-Commit-ID: KMbwR7J8FLm

--HG--
extra : rebase_source : f0be0322cdd6cacd5d047e003e4e8d71433ea54f
2016-05-09 20:42:22 +02:00
Andi-Bogdan Postelnicu
2e7ce06ba0 Bug 1276670 - initialize member variable |port|. r=valentin
MozReview-Commit-ID: HELBqjSaRfP

--HG--
extra : rebase_source : 9b06e86abbd7cd856dccc0428ab98b58c793016f
2016-05-30 16:39:00 +03:00
Valentin Gosu
704a204aff Bug 1276442 - Backout 6647b13a6ad9 (Bug 219157) a=backout 2016-05-30 16:05:21 +02:00
Valentin Gosu
7a53948e1e Bug 1276462 - Backout c18023d517ed (Bug 219157) a=backout 2016-05-30 16:05:14 +02:00
Andi-Bogdan Postelnicu
12bffd32df Bug 1276651 - initialize member variable |mCancelStatus|. r=valentin
MozReview-Commit-ID: AQCVagLaiuZ

--HG--
extra : rebase_source : 95646dff9a89a65da8249338c5f7b37c4fa09ad8
2016-05-30 15:48:05 +03:00
Andi-Bogdan Postelnicu
1239223ba1 Bug 1276642 - initialize member variable |mStatus|. r=valentin
MozReview-Commit-ID: DREwq15bAAe

--HG--
extra : rebase_source : 833daa0edd45c5f4207cabb07f2807d90a56c696
2016-05-30 15:37:47 +03:00
Andi-Bogdan Postelnicu
5f0816d6c4 Bug 1276635 - initialize member variables |mFlags| and |mWaitingForRedirectCallback|. r=valentin
MozReview-Commit-ID: 666SrPKUAed

--HG--
extra : rebase_source : 36d3d3e5657aaf3bfce9cf3962a99e59f634c2b4
2016-05-30 15:20:00 +03:00
Andi-Bogdan Postelnicu
8c72bad826 Bug 1276625 - initialize member variables |mPosInDataBuffer| and |mRlebuf|. r=valentin
MozReview-Commit-ID: EcCCLNpPg6u

--HG--
extra : rebase_source : 92d786021b6d8d739a6c18c077bd2d33b0df3ac6
2016-05-30 14:18:53 +03:00
Andi-Bogdan Postelnicu
c6abaafa19 Bug 1276622 - initialize member variable |mDebugCList|. r=valentin
MozReview-Commit-ID: FJZz94Gi2dd

--HG--
extra : rebase_source : 905a5103e0c9d48de08652e29ea38d5da83dfcb7
2016-05-30 13:51:45 +03:00
Chris Peterson
11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Wes Kocher
2e152c3d24 Merge m-c to inbound, a=merge 2016-05-27 14:43:24 -07:00
Wes Kocher
4e72b32062 Merge fx-team to central, a=merge 2016-05-27 14:41:36 -07:00
Florian Quèze
e9ee2349cc Bug 1203168 - ask the user for confirmation when searching with a default search engine of unknown origin, data-review=bsmedberg, r=adw. 2016-05-27 13:41:29 +02:00
Carsten "Tomcat" Book
b08e506896 Backed out changeset 08053d1e2cc1 (bug 1203168) for ESlint failure in browser_aboutSearchReset.js 2016-05-27 14:35:31 +02:00
Florian Quèze
148acbd4be Bug 1203168 - ask the user for confirmation when searching with a default search engine of unknown origin, data-review=bsmedberg, r=adw. 2016-05-27 13:41:29 +02:00
Jason Duell
ee5595f78a Backed out changeset 0d5cc353d9e0 a=crashes 2016-05-26 23:07:57 -07:00
Boris Zbarsky
fd24253b3a Bug 1214752. Fix CORS preflights to provide a useful nsILoadContext, so they show up in our devtools network monitor properly. r=sicking 2016-05-26 20:36:09 -04:00
Tim Huang
c4f79ec32f Bug 1267910 - Part 3: Add test cases for add() and getCookiesFromHost() of the nsICookieManager2. r=jdm
--HG--
extra : rebase_source : d99511c519fd305177b8b55c17f7c2a2e6dd44ce
2016-05-25 11:54:22 +08:00
Tim Huang
8ec727cd19 Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
--HG--
extra : rebase_source : 288c9cab8340c5cc06861d4f2c7ee43ae4de608e
2016-05-25 11:54:21 +08:00
Tim Huang
cc903e433a Bug 1267910 - Part 1: Make the API getCookiesFromHost of the nsICookieManager2 OriginAttributes-aware. r=jdm
--HG--
extra : rebase_source : 18945a3aac4c331a1513ac402553d725cf334b76
2016-05-25 11:54:21 +08:00
Jorg K
edd18bacb6 Bug 1274602 - When checking for tags, allow for white-space. r=honzab 2016-05-25 05:56:00 -04:00
mitchdevel
ce5b229c18 Bug 219157 - Fix to prevent 3rd party sites from getting cookies r=valentin
MozReview-Commit-ID: A0ltsuDnxnf
2016-05-20 16:48:00 +02:00
Valentin Gosu
737056c72c Bug 219157 - Test that cookies are set only when domain has permission. r=mcmanus
MozReview-Commit-ID: 4TGEpvbJxUd
2016-05-20 02:40:50 +02:00
Valentin Gosu
fa4080a0a7 Bug 1272284 - Encode C0 controls in path, query and hash r=mcmanus
MozReview-Commit-ID: 1zGRjVmAWts
2016-05-25 16:23:38 +02:00
Valentin Gosu
78d21aba95 Bug 1271955 - Strip leading and trailing C0 controls and space for urls passed to new URL() r=mcmanus
MozReview-Commit-ID: B7BiKE6P7GA
2016-05-25 16:23:37 +02:00
Honza Bambas
6be1404013 Bug 1273875 - On shutdown leak HTTP cache entries memory, r=michal 2016-05-18 06:39:00 +02:00
Christoph Kerschbaumer
031a59734b Bug 1196013 - Use channel->ascynOpen2 in toolkit/components/places. r=billm r=sicking r=mak 2016-05-23 23:57:31 +02:00
Dragana Damjanovic
c10122236d Bug 507571 - Lock nsHttpResponseHead. r=mcmanus 2016-05-24 06:07:00 +02:00
Thomas Zimmermann
aed91b79c5 Bug 1275510: RTSP: Add namespace when refering to |gIOService|, r=dragana
MozReview-Commit-ID: 1Es1i5qLJgl
2016-05-25 12:40:29 +02:00
David Keeler
e87f6f88e2 bug 1273677 - ensure session cache is properly configured and torn down for TLSServerSocket r=mcmanus
MozReview-Commit-ID: 6i7HxTdLcID

--HG--
extra : rebase_source : 3c1b4c0ed798c166cbc2bcad71de90543af176c1
2016-05-23 13:58:56 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
3041af917a Bug 1274509 - Use ReentrantMonitor for nsHttpRequestHead because VisitHeaders calls Visitor lock. r=mcmanus
--HG--
extra : rebase_source : 8ce7de7678b1f53254914ac8c1ef278c165fcd0c
2016-05-24 04:17:00 +02:00
Honza Bambas
2cea93fbf9 Bug 1268569 - Don't bother removing files from cache2/doomed dir after shutdown. r=michal
--HG--
extra : rebase_source : 0d8a1963584261a784ab9708bcb5f4ae5c4b2d71
2016-05-20 09:04:00 +02:00
Patrick McManus
636ad8d0dc Bug 1202468 - remove mPendingQ lock r=dragana 2016-05-23 12:20:58 -04:00
Patrick McManus
11128b2023 Bug 1275054 - Remove expired NETWORK_SESSION_AT_256FD telemetry r=dragana 2016-05-23 13:48:18 -04:00
Jan Horak
c623d87906 Bug 890908 - "Move Negotiate auth off main thread". r=mayhemer
--HG--
extra : rebase_source : db273dc19ab332a9c858778d6569c044e2901e93
2016-05-20 06:07:00 +02:00
Carsten "Tomcat" Book
011399bbde Backed out changeset d34a99623615 (bug 1274509) for bustage on a CLOSED TREE 2016-05-24 11:22:23 +02:00
Dragana Damjanovic dd.mozilla@gmail.com
a499148e40 Bug 1274509 - Use ReentrantMonitor for nsHttpRequestHead because VisitHeaders calls Visitor lock. r=mcmanus 2016-05-23 00:24:00 +02:00
Jorg K
85e809c570 Bug 1274242 - Linkify should not stop at |. r=valentin 2016-05-23 05:45:00 +02:00
Patrick McManus
2cd574f25f Bug 1274376 - more mozilla::net namespaces r=dragana
--HG--
extra : rebase_source : 914d48f23a4a5db052a789b9e21c1ff922533d35
2016-05-18 22:02:57 -04:00
Carsten "Tomcat" Book
2bec84cd13 Backed out changeset e3f130f1eb76 (bug 890908) for suspicion that something in this push caused failing Crashtests and Android/Valgrind issues on a CLOSED TREE 2016-05-23 11:37:57 +02:00
Jan Horak
1e1c7080c8 Bug 890908 - "Move Negotiate auth off main thread". r=mayhemer
--HG--
extra : rebase_source : 812c6c2237f01b5ad99f2dc2e0fd3d95a6d9f8c7
2016-05-20 06:07:00 +02:00
Chris Peterson
2dec5055ef Bug 1274162 - Fix -Wshadow warnings in netwerk/protocol/http/ directory. r=mcmanus
netwerk/protocol/http/nsHttpHeaderArray.h:96:63 [-Wshadow] declaration shadows a field of 'mozilla::net::nsHttpHeaderArray::nsEntry'
netwerk/protocol/http/Http2Session.cpp:2766:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/HttpBaseChannel.cpp:1886:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/HttpChannelChild.cpp:265:53 [-Wshadow] declaration shadows a field of 'mozilla::net::AssociateApplicationCacheEvent'
netwerk/protocol/http/HttpChannelChild.cpp:266:53 [-Wshadow] declaration shadows a field of 'mozilla::net::AssociateApplicationCacheEvent'
netwerk/protocol/http/HttpChannelChild.cpp:2566:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/HttpChannelParent.cpp:397:17 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/InterceptedChannel.cpp:276:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/InterceptedChannel.cpp:285:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/SpdySession31.cpp:2177:14 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsCORSListenerProxy.cpp:304:30 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpChannel.cpp:796:17 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpChannel.cpp:4474:35 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpChannel.cpp:5915:18 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnection.cpp:982:21 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:1220:43 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:1240:43 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:2247:27 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpConnectionMgr.cpp:2758:23 [-Wshadow] declaration shadows a local variable
netwerk/protocol/http/nsHttpPipeline.cpp:709:30 [-Wshadow] declaration shadows a local variable
2016-05-10 23:57:24 -07:00
Wes Kocher
2596f34110 Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Daniel Holbert
b09bf9aef3 Bug 1274044: Relax assertion in nsStandardURL for case when mDefaultPort is -1. r=valentin
The assertion is trying to require that the caller should never pass in mDefaultPort; instead, the caller should pass -1. BUT, if mDefaultPort is itself -1 (i.e. there's no default port), then we need to allow the caller to pass in -1 without spamming an assertion.

MozReview-Commit-ID: GKxndkJoXcv

--HG--
extra : rebase_source : 3fcd7815ec3e64a71f0f34efd1a397be8f3dc9a2
2016-05-19 10:05:17 -07:00
Sebastian Hengst
468fcc6924 Backed out changeset 2292661153e3 (bug 1271198) for web-platform failures. r=backout on a CLOSED TREE 2016-05-19 17:06:04 +02:00
Christoph Kerschbaumer
bbc661631e Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell) 2016-05-19 15:42:01 +02:00
Tim Huang
bfd4ca4961 Bug 1267910 - Part 3: Add test cases for add() and getCookiesFromHost() of the nsICookieManager2. r=jdm
--HG--
extra : rebase_source : c81c3692ee7203e0023e7e2aab42c5ca1cad1b87
2016-05-18 20:44:00 -04:00
Tim Huang
ad550d017f Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
--HG--
extra : rebase_source : 3d8b306dfa83363c01c4db5d018c55fddf6d1595
2016-05-18 20:42:00 -04:00
Tim Huang
589b71d649 Bug 1267910 - Part 1: Make the API getCookiesFromHost of the nsICookieManager2 OriginAttributes-aware. r=jdm
--HG--
extra : rebase_source : a36d46df6a43f2a1283bf4c2f55b0d2247c98673
2016-05-13 02:29:00 -04:00
Martin Thomson
103d3aba59 Bug 1250568 - Adding TLS 1.3 to nsISSLStatus, r=keeler
MozReview-Commit-ID: 4mLdtsdFoKN

--HG--
extra : rebase_source : 8526499c8765a14efeec22950372c738d8dc8b95
2016-04-04 16:21:19 -03:00
Daniel Stenberg
00f4a04098 Bug 1273165 - Sync networkid calculation with the event coalescing. r=mcmanus
--HG--
extra : rebase_source : 384e11efdea2ea4281276867231a1007df027f98
2016-05-16 08:09:00 -04:00
Sebastian Hengst
d6e3286232 Backed out changeset 854a8df494d3 (bug 1271198) for many assertions at nsHttpChannel.cpp:5204. r=backout on a CLOSED TREE 2016-05-19 14:23:51 +02:00
Christoph Kerschbaumer
0e2d46a840 Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell) 2016-05-19 11:54:02 +02:00
Thomas Zimmermann
af3dda948f Bug 1273900: Replace |sprintf| with |snprintf| in netwerk/system/linux/, r=daniel
MozReview-Commit-ID: 5sKgcIK3ZKp
2016-05-19 09:21:18 +02:00
Andrea Marchesini
98894192c9 Bug 1272781 - nsEscape should work with ns(C)Strings and not with char pointers, r=smaug 2016-05-18 18:21:56 +02:00
Honza Bambas
9c4215a1fb Bug 1271701 - Make about:cache channels cancelable. r=michal 2016-05-12 10:19:00 -04:00
Honza Bambas
35df656ad7 Bug 1266196 - Make about:cache handler be multiple-instance capable. r=michal 2016-05-17 05:20:00 -04:00
Trevor Saunders
1e81548029 bug 1271436 - use nsIDocShellTreeItem::GetDocument() more r=smaug 2016-05-17 18:16:07 -04:00
Valentin Gosu
26adbcb7e5 Bug 816866 - Trigger a captive portal recheck when a certificate error occurs r=mcmanus 2016-05-17 23:55:52 +02:00
Daniel Stenberg
a59148f843 Bug 1270147 - remote the SpeculativeConnect call, r=mcmanus 2016-05-17 12:51:24 -07:00
Cykesiopka
18c21f386e Bug 1271495 - Replace uses of ScopedPK11Context with UniquePK11Context. r=keeler,mcmanus
ScopedPK11Context is based on Scoped.h, which is deprecated in favour of the
standardised UniquePtr.

MozReview-Commit-ID: HE8UY1hOuph

--HG--
extra : transplant_source : 4%BF%81M%09Q-%2A%E6%04%86i%18%1B%3CL%90%88%04%C7
2016-05-13 05:53:57 -07:00
Christoph Kerschbaumer
bfe260c7c0 Bug 1273458 - Use channel.asyncOpen2() in test_original_sent_received_head.js (r=dragana) 2016-05-17 12:26:06 +02:00
Patrick McManus
f3e258d25a Bug 1135104 - increase send window on modern windows r=dragana 2016-05-11 05:31:01 -04:00
Valentin Gosu
62b38035bf Bug 1148161 - OfflineObserver seems to be racy r=honzab 2015-03-27 17:54:20 +02:00
Jason Duell
c3ec8327dc Bug 759819 - necko objects not releasing nsIRequestObservers after OnStop r=mcmanus 2016-05-16 15:13:39 -07:00
Andrew McCreight
4a632f2748 Bug 1270247, part 2 - Add crash annotation for unknown socket family. r=hurley 2016-05-16 10:25:14 -07:00
Phil Ringnalda
4124f4b6e3 Merge f-t and m-i to m-c, a=merge 2016-05-15 20:37:48 -07:00
Mark Capella
3301837485 Bug 1262916 - Option to add custom search engine should disappear when site is added, r=margaret, florian 2016-05-14 16:43:51 -04:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
L. David Baron
55b6b3268e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Patrick McManus
f03b618067 Bug 1236969 - remove autodialer r=valentin 2016-02-19 14:33:59 -05:00
Michal Novotny
490b63ff9c Bug 1259129 - Fix wrong CondVar::Wait() usage in netwerk/cache, r=honzab 2016-05-13 08:56:22 +02:00
Ethan Tseng
7bf2d7f142 Bug 1214071 - Replace Get/RemoveCookiesForApp() with Get/RemoveCookiesWithOriginAttributes() r=ehsan
MozReview-Commit-ID: JTi1BwBVvyA
2016-01-08 17:58:56 +08:00
Jonathan Hao
9b7088faeb Bug 1214071 - Tests for Get/RemoveCookiesWithOriginAttributes() r=ehsan
MozReview-Commit-ID: 5kqqfI9OdVn
2016-05-12 10:12:47 +08:00
Dragana Damjanovic
7cf5152088 Bug 669259 - Expose original header received from a peer. r=mcmanus 2016-05-12 14:33:00 -04:00
Honza Bambas
a8542b6e9c Bug 1267195 - Correctly update HTTP cache size in UI only after we actually clear the cache. r=michal 2016-05-12 07:57:00 -04:00
Honza Bambas
d9981dcb53 Bug 1271019 - Don't call on nsIURI on non-main threads from HTTP cache back end. r=michal 2016-05-12 06:38:00 -04:00
Kyle Huey
c85171ace9 Bug 1269056: Part 1 - Implement a rough PostDelayedTask equivalent on nsThread. r=froydnj 2016-05-12 15:15:43 -07:00
Christoph Kerschbaumer
978f0ba0a2 Bug 1272345 - Gather Telemetry on URL redirects (r=valentin) 2016-05-12 19:38:22 +02:00
Christoph Kerschbaumer
67f5504fac Bug 1272320 - Convert NS_ImplementChannelOpen to support asyncOpen2() r=mcmanus 2016-05-12 19:38:59 +02:00