Commit Graph

13304 Commits

Author SHA1 Message Date
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
David Keeler
c17f3a2733 bug 982932 - only allow Netscape-stepUp to be used for serverAuth for old CA certificates r=Cykesiopka,jcj
MozReview-Commit-ID: 88JhIU1pUji

--HG--
rename : security/manager/ssl/tests/unit/test_cert_eku/ee-int-nsSGC.pem.certspec => security/manager/ssl/tests/unit/test_cert_eku/ee-int-nsSGC-recent.pem.certspec
rename : security/manager/ssl/tests/unit/test_cert_eku/int-nsSGC.pem.certspec => security/manager/ssl/tests/unit/test_cert_eku/int-nsSGC-recent.pem.certspec
extra : rebase_source : 2f6251679a6f31cccb6d88bb51c567de9cc9bc76
2016-05-05 16:11:11 -07:00
Patrick McManus
86ffca654a Bug 1267474 - cache-control: immutable tests 3/3 r=mayhemer
--HG--
extra : rebase_source : db44949e74498773f546be2e944194120ed4113f
2016-05-05 17:11:02 -04:00
Patrick McManus
a7bc1a51b1 Bug 1267474 - cache-control: immutable 2/3 r=mayhemer
--HG--
extra : rebase_source : 672e836ef7ce70c20f7f8da8baf9f109254246fe
2016-05-04 22:37:53 -04:00
Patrick McManus
2722b75b4d Bug 1267474 - only revalidate strongly framed responses 1/3 r=mayhemer
--HG--
extra : rebase_source : 9e00df6a46684032e62da6e2e607a7f65ff63d87
2016-05-04 17:03:59 -04:00
Carsten "Tomcat" Book
1eaf608a83 Backed out changeset 4e86f3f05b07 (bug 1148161) for causing assertions 2016-05-12 14:35:39 +02:00
Valentin Gosu
e7616f0f45 Bug 1148161 - OfflineObserver seems to be racy r=honzab 2015-03-27 17:54:20 +02:00
Michal Novotny
06cf358ad0 Bug 1271527 - Crash in mozilla::net::WebSocketChannel::Notify, r=mcmanus 2016-05-12 13:28:50 +02:00
Christoph Kerschbaumer
c1dec946da Bug 1206966 - Use channel->asyncOpen2() in netwerk/test/TestProtocols.cpp. r=mcmanus 2016-05-11 14:41:19 +02:00
Wes Kocher
1806870b06 Backed out 3 changesets (bug 1267474) foor test_immutable.js failures in xpcshell jobs
Backed out changeset 057f3f50441f (bug 1267474)
Backed out changeset 960d93f30c66 (bug 1267474)
Backed out changeset 0c059a0e87d7 (bug 1267474)
2016-05-11 10:32:33 -07:00
Wes Kocher
5c9f141313 Backed out changeset af74581564bc (bug 711886) for wpt bustage 2016-05-11 10:28:53 -07:00
Jason Duell
d3772280b8 Bug 711886. Fail Websocket if server replies with non-matching subprotocol r=mcmanus 2016-05-11 08:50:13 -07:00
Patrick McManus
aa7218be51 Bug 1267474 - cache-control: immutable tests 3/3 r=mayhemer
--HG--
extra : rebase_source : 118675f869e1735d527697f30efa84205ad7fcd1
2016-05-05 17:11:02 -04:00
Patrick McManus
aaaa179e7c Bug 1267474 - cache-control: immutable 2/3 r=mayhemer
--HG--
extra : rebase_source : 5022699f221ecd3cb66336ef11c6863b89e8de88
2016-05-04 22:37:53 -04:00
Patrick McManus
7f770ceea1 Bug 1267474 - only revalidate strongly framed responses 1/3 r=mayhemer
--HG--
extra : rebase_source : 7cd8ceea26962af47daaab5fc786b24a773f3e47
2016-05-04 17:03:59 -04:00
Carsten "Tomcat" Book
79ae391df9 Backed out changeset 81d69d7cf909 (bug 1267474) for bustage on a CLOSED TREE 2016-05-11 16:10:51 +02:00
Carsten "Tomcat" Book
3ff5ccb3a0 Backed out changeset 928d0afa32b7 (bug 1267474) 2016-05-11 16:10:28 +02:00
Carsten "Tomcat" Book
a283044b21 Backed out changeset 2ab63d0cea9f (bug 1267474) 2016-05-11 16:10:27 +02:00
Patrick McManus
242180be37 Bug 1267474 - cache-control: immutable tests 3/3 r=mayhemer 2016-05-05 17:11:02 -04:00
Patrick McManus
068dddd27e Bug 1267474 - cache-control: immutable 2/3 r=mayhemer 2016-05-04 22:37:53 -04:00
Patrick McManus
5bce2b10a7 Bug 1267474 - only revalidate strongly framed responses 1/3 r=mayhemer 2016-05-04 17:03:59 -04:00
Valentin Gosu
0f0ddf9ef5 Bug 1250739 - Increase test_user_agent_updates.html timeout to be larger than update interval r=mcmanus
Since the tests sets the update interval to 1 second, we should wait for _more_ than 1 second to check that the update succeeded.
2016-05-11 12:58:26 +02:00
Michal Novotny
ef6eda1f63 Bug 1267980 - Leak buffers in CacheFileChunk and CacheFileMetadata during shutdown, r=honzab 2016-05-11 11:46:54 +02:00
Patrick McManus
c6c1bde8c5 Bug 865314 - allow 6 parallel connects to new https origin r=hurley
--HG--
extra : rebase_source : 076b5ad9ec376185320eef2296cb888815297958
2016-03-31 16:51:03 -04:00
Michal Novotny
04256ec318 Bug 1253883 - Do not release mRWBuf until pending read/write operation finishes, r=honzab 2016-05-11 10:48:28 +02:00
Randell Jesup
73a32768d1 Bug 1271402: name and cleanup DataStorage thread when running XPCshell r=froyd,dkeeler
MozReview-Commit-ID: 2brXgEcp91J
2016-05-11 00:11:40 -04:00
Dragana Damjanovic dd.mozilla@gmail.com
275c209d7d Bug 1270029 - Set mSignaled only if PR_Write succeeds. r=mcmanus
--HG--
extra : rebase_source : 43e7e5437728986c5c4c90c859b343467813b7b6
2016-05-04 01:29:00 -04:00
Tim Huang
7d71e717c7 Bug 1270423 - Fix the nsICookieManager.remove() to reference originAttributes correctly at release build. r=ehsan 2016-05-05 09:12:00 +02:00