Граф коммитов

12893 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst c108701a85 Backed out changeset 68442febc36c (bug 1160200) for almost permafailing added test apng-mime/test.html Android 4.3 API15+ opt. r=backout 2016-04-23 22:33:26 +02:00
Nicholas Hurley 65e701bed3 Bug 1122642 - Have an error page for H2 INADEQUATE_SECURITY r=mcmanus,bz 2016-04-22 09:56:42 -07:00
Chris Peterson 7f019cfba6 Bug 1160368 - Part 2: Clean up some cruft in nsCookie.h from PRBool/bool conversions. r=jdm
Also make nsCookie's member variables private.
2016-02-20 22:22:35 -08:00
David Newton f44103a43f Bug 1160200 - APNG can't be used with type switching. r=mcaceres,r=jrmuizel 2016-04-20 23:57:00 +02:00
Nicholas Hurley fd7a5d97b5 Bug 1016628 - Add prefetch abilities to the predictor. r=mayhemer 2016-04-21 12:32:30 -07:00
Jonathan Kew c60f6a1ae4 Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki 2016-04-21 18:58:59 +01:00
Christoph Kerschbaumer debbccb785 Bug 1257930 - Update NetUtil.asyncFetch() to use asyncOpen2(). r=sicking 2016-04-14 19:49:01 +02:00
Carsten "Tomcat" Book 4d6108d41a Merge mozilla-central to mozilla-inbound 2016-04-20 11:52:05 +02:00
Carsten "Tomcat" Book 9eb45808ae merge mozilla-inbound to mozilla-central a=merge 2016-04-20 11:50:29 +02:00
Michal Novotny 03ed0becb2 Bug 1265243 - Do not initialize CacheObserver in the child process, r=honzab 2016-04-20 11:29:50 +02:00
Tom Tromey a03b12c9e4 Bug 1265076 - make ArrayBufferInputStream obey readSegments contract; r=mcmanus
MozReview-Commit-ID: 7RSzey2vdPL

--HG--
extra : transplant_source : %CF%C4%99%F8%04%E9s%D9%0A%D3%2AH%97%D2%C2%C9%1C%CA%93n
2016-04-15 14:43:14 -06:00
Thomas Zimmermann 33661a67cf Bug 1264887: |nsWifiScannerDBus|: Hold DBusMessage references in |RefPtr|, r=josh 2016-04-19 16:26:01 +02:00
Thomas Zimmermann 608fd6af9e Bug 1264887: |nsWifiScannerDBus|: Hold DBusConnection reference in |RefPtr|, r=josh 2016-04-19 16:26:01 +02:00
Valentin Gosu ac02cc4197 Bug 548685 - Avoid null pointer deref in nsURIHashKey r=mcmanus
MozReview-Commit-ID: 5wCZ0DTHEUS
2016-04-19 15:46:34 +02:00
Carsten "Tomcat" Book c778c28981 Backed out changeset 3e0859b436d6 (bug 1264887)
--HG--
extra : rebase_source : 3b4cc4d10a117ed948e47fc54f338b15e9191076
2016-04-19 12:07:13 +02:00
Carsten "Tomcat" Book 074d1a0340 Backed out changeset 348413c98656 (bug 1264887)
--HG--
extra : rebase_source : a856a4c570a3952ceef555388461281d134362e0
2016-04-19 12:07:11 +02:00
Stone Shih 6759b9bad6 Bug 1240436 - Part2: Lossy convert UTF16 to ASCII before generating nsStringInputStream. r=mayhemer 2016-04-14 18:48:37 +08:00
Stone Shih 361cc9181f Bug 1225756 - Part1: Let the regular veto handlers check on redirects then check mRedirectChannelChild in the result callback. r=mayhemer 2016-04-14 13:45:51 +08:00
Thomas Zimmermann c9c1980673 Bug 1264887: |nsWifiScannerDBus|: Hold DBusMessage references in |RefPtr|, r=josh 2016-04-19 11:09:02 +02:00
Thomas Zimmermann 0a068ba686 Bug 1264887: |nsWifiScannerDBus|: Hold DBusConnection reference in |RefPtr|, r=josh 2016-04-19 11:09:02 +02:00
Kris Maglione d229ba6403 Bug 719905: Fix resolution of resource: URLs containing : and / characters. r=valentin
MozReview-Commit-ID: Jetsp6LpT7L

--HG--
extra : rebase_source : bb712b53706922c81a17bba04b690994047bba30
extra : amend_source : 08c435f17b2ad243bd03bcb1b252874dd77f9c56
2016-02-04 20:19:24 -08:00
Gijs Kruitbosch 30a0ac0ed8 Bug 1253673, r=bz
MozReview-Commit-ID: eyZ0XvZkfM

--HG--
rename : browser/base/content/test/general/dummy_page.html => dom/tests/browser/dummy.html
extra : amend_source : 0ceb77aae62ed163362e794b9aed8f92849e3e6d
extra : histedit_source : 60dbd015a6909a0023dc26613530c89a16de6ea7%2Ca5ea96457b370e57e3a73c19bea08e157f16ac4f
2016-04-19 09:56:19 +01:00
Mark Goodwin 33bbad3164 Bug 1264675 - Add content signature root hash to security preferences r=keeler,r=ulfr
MozReview-Commit-ID: 256b3zC6h1K
2016-04-15 12:04:14 +01:00
Michal Novotny 3e05444c44 Bug 1253040 - Do not write metadata if CacheFile is killed, r=honzab 2016-04-17 16:23:49 +02:00
Ben Kelly a669ad97ac Bug 1263469 P1 Set FetchEvent.request.cache value correctly for non-fetch channels. r=mayhemer 2016-04-15 11:15:58 -07:00
J.C. Jones 63f7ce5155 Bug 1244960 - Complete FIDO u2f NSSToken (Part 1). r=keeler, r=baku
- Merge in test changes from Bug 1255784.
- Remove the unnecessary mutex
- Stop doing direct memory work in NSS Token
- Clean up direct memory work in ContentParent
- In order to store persistent crypto parameters, the NSSToken had to move
  onto the main thread and be interfaced with via IDL/IPDL.
- Support Register/Sign via NSS using a long-lived secret key
- Rename the softtoken/usbtoken "enable" prefs, because of hierarchy issues
  with the WebIDL Pref shadowing.
- Also orders the includes on nsNSSModule.cpp
- Attestation Certificates are in Part 2.

Updates per keeler review comments:

- Use //-style comments everywhere
- Refactor the PrivateKeyFromKeyHandle method
- Rename the logging and fix extraneous NS_WARN_IF/logging combinations
- Other updates from review

April 11-12:

- Correct usage of the "usageCount" flag for PK11_UnwrapPrivKey
- Rebase up to latest

April 15:
- Rebase to latest

MozReview-Commit-ID: 6T8jNmwFvHJ

--HG--
extra : transplant_source : w%26%CES%2Cu%04%3EAl%04%2Cb%E2v%C9%08%3A%CC%F4
2016-04-15 09:29:12 -07:00
Andrew McCreight 2f632d2f46 Bug 1263235, part 3 - Move PHttpChannel::OnTransportAndData's data argument last. r=mayhemer
This will reduce internal memory fragmentation for the IPC::Message used to make this call.
2016-04-14 10:41:01 -07:00
Honza Bambas f497bdb20f Bug 1263028 - send HTTP data to the content process in smaller chunks, r=michal 2016-04-14 10:41:00 -07:00
Honza Bambas 4d038ffd77 Bug 1240929 - Copy some HTTP request headers automatically on redirect, r=mcmanus 2016-04-06 09:28:00 +02:00
Carsten "Tomcat" Book 49aae827cb Merge mozilla-central to mozilla-inbound 2016-04-14 11:43:48 +02:00
Carsten "Tomcat" Book 32c25ca2da merge mozilla-inbound to mozilla-central a=merge 2016-04-14 11:38:11 +02:00
Michael Kaply e9bc8bf7d5 Bug 1264076 - Allow customized device string for user agent on Fennec; r=mcmanus 2016-04-13 20:46:13 -05:00
Johann Hofmann 3676aeefc2 Bug 1242886 - Change learn more link for unknown issuers on about:certerror. r=gijs 2016-04-08 16:01:51 +02:00
Dragana Damjanovic 645513565f Bug 1125916 - Fix code that miss proper flags and originAttributes in LoadInfo. Also fix some tests. r=sicking, r=jduell
--HG--
extra : rebase_source : 2a08f0208496671439ce62a576b5f8a728bbdf3c
extra : amend_source : 30412ab68cc0ee4469a88e41b6ce81c908a26535
extra : histedit_source : 1faae352f7fbf7c4c7a9e1e571ca395c853a1334
2016-04-13 15:34:36 +02:00
Dragana Damjanovic e72aa9a9f1 Bug 1125916 - Check whether loadInfo and loadContext match. r=sicking, r=jduell
--HG--
extra : rebase_source : 582977113d0e3e15913120232300478835ef1384
extra : histedit_source : 7d3f02b68874f16bb63974f8b41facf947385917
2016-04-13 10:23:26 +02:00
Dragana Damjanovic 4ca2619d53 Bug 1125916 - Add SEC_FORCE_PRIVATE_BROWSING to LoadInfo. r=sicking, r=jduell
--HG--
extra : rebase_source : 91f3e5de5475949fcc3ab430bf6d327f34ccee26
extra : histedit_source : fa6210f9f646938cb36f623cfefa5f5838937327
2016-04-13 10:22:49 +02:00
Tanvi Vyas 9c0a7ac154 Bug 1105556 - Add a hidden preference that is checked in debug mode to determine whether the main LoadInfo() constructor should assert that the ContentPolicyType is not TYPE_DOCUMENT.
Set the preference in xpcshell tests that create TYPE_DOCUMENT loads in javascript and hence end up using the main constructor. r=sicking, ckerschb
2016-04-13 16:30:36 -07:00
Tanvi Vyas 9209781614 Bug 1105556 - test fixes. r=sicking, ckerschb 2016-04-13 16:30:33 -07:00
Tanvi Vyas 297217ffc0 Bug 1105556 - nsPerformance::CheckAllowedOrigin should return early for TYPE_DOCUMENT loads. TYPE_DOCUMENT loads don't go through a TimingAllowedCheck(). r=bz, vgosu 2016-04-13 16:30:31 -07:00
Tanvi Vyas ae5dad1d9c Bug 1105556 - We won't have a channelLoadingPrincipal for top level loads, so nsChannelClassifier::SameLoadingURI will return false. Adding a comment to indicate that the behavior is fine since Tracking Protection doesn't apply to top level loads. r=fmarier 2016-04-13 16:30:25 -07:00
Tanvi Vyas 2ca721ef81 Bug 1105556 - Allow loadInfo->loadingNode and loadInfo->loadingPrincipal to be null for TYPE_DOCUMENT loads. r=sicking, ckerschb 2016-04-13 16:30:16 -07:00
Nicholas Nethercote 60dcde7875 Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2

--HG--
extra : rebase_source : bd751bf247e9491c1966a123dbeffa573657dfb1
2016-04-01 11:00:01 +11:00
Nicholas Hurley 1ede81765d Bug 1236650 - make h2 push work in the face of redirects. r=mcmanus
--HG--
extra : rebase_source : 2ebbaf8d42802575fc3f51db8c1b84629cb0e53b
2016-04-12 11:43:39 -07:00
Kyle Huey 2709afd167 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Carsten "Tomcat" Book 128f40b9a8 merge mozilla-inbound to mozilla-central a=merge 2016-04-12 13:49:51 +02:00
Wes Kocher fb4ea9c4bc Merge m-c to fx-team, a=merge
MozReview-Commit-ID: aMZh9ToTxW
2016-04-11 16:05:35 -07:00
Henry Chang ffee6a2e09 Bug 1260876 - Remove process switch code for signed package code (added by Bug 1186290). r=valentin. 2016-04-12 10:53:40 +08:00
Michael Kaply c1e1c769af Bug 1262591; Need to put unused function in ANDROID #ifdef; r=bustage 2016-04-11 14:06:35 -05:00
Michael Kaply aecd563cf7 Bug 1262591 - Add ability to add device ID to user agent for Fennec; r=jduell
--HG--
extra : rebase_source : 6abc6abd4a5fd41c2c274647b522df8798d30fc7
2016-04-11 13:49:53 -05:00
Andrea Marchesini 83a08cd72e Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-10 05:46:07 +01:00
Ryan VanderMeulen 1c7872d0af Backed out changeset 7d5f1e9ce04c (bug 1259169) for various cookie-related crashes and test failures. 2016-04-09 15:36:07 -04:00
Andrea Marchesini d09d8959fe Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-09 19:09:49 +01:00
Carsten "Tomcat" Book 78d9f80444 Backed out changeset 74330da56b82 (bug 1259169) for assertion failures in nsCookieService.cpp:2390 2016-04-08 14:47:39 +02:00
Andrea Marchesini 87827f2189 Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-08 12:38:15 +01:00
Wes Kocher 7d2cebe912 Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)

MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey d200ed89d0 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Stone Shih 4b11d5cdfa Bug 1254098 - Part 1: Don't use base url encoding to encode url when charset override is absent. r=valentin 2016-04-06 11:13:30 +08:00
Nils Ohlmeier [:drno] 4d0aaaafea Bug 1244926: added TCP socket filter to only allow outgoing STUN. r=jesup
MozReview-Commit-ID: 8PpL6Z0za71

--HG--
rename : media/mtransport/stun_udp_socket_filter.cpp => media/mtransport/stun_socket_filter.cpp
rename : media/mtransport/stun_udp_socket_filter.h => media/mtransport/stun_socket_filter.h
rename : netwerk/base/nsIUDPSocketFilter.idl => netwerk/base/nsISocketFilter.idl
extra : rebase_source : 2acf092e587a19a2019f463fa0a015373d3881d3
2016-02-11 01:18:46 -08:00
Honza Bambas d2cfd52a75 Bug 1262814 - Warn on Wlanapi.dll load or init fail, don't fail assertion, r=mcmanus
MozReview-Commit-ID: 3UChoTecQwq
2016-04-07 14:19:23 -07:00
Wes Kocher 51eb5dbf5a Merge inbound to central, a=merge
MozReview-Commit-ID: L8YZYtbmper
2016-04-07 13:42:10 -07:00
Honza Bambas de75162c69 Bug 1066970 - Show 'calculating' during HTTP cache cleaning process in preferences window, r=michal 2016-04-05 05:59:00 +02:00
Dragana Damjanovic dd.mozilla@gmail.com 5d5fb10507 Bug 1261632 - Assert that OnStopRequest is called only once. r=michal
--HG--
extra : rebase_source : fef5faba65c878b3f3528de054a0601c3ad74035
2016-04-06 04:47:00 -04:00
Patrick McManus 6a9e630b92 Bug 866380 - Null check for amlogic libc implementation. r=valentin 2016-04-06 18:38:35 -04:00
Honza Bambas de1eeb4be3 Bug 904559 - Veto redirect when target channel doesn't implement nsIParentRedirectingChannel. r=jduell 2016-04-06 11:30:00 -04:00
Nathan Froyd 3be1728969 Bug 1262397 - fix a few emacs modelines; r=me
DONTBUILD because comment fixes are always safe, right?
2015-10-12 23:45:30 -04:00
Felipe Gomes cdcf664fb3 Bug 1126299 - Disable intermittent browser_child_resource.js on e10s linux64 debug. r=RyanVM DONTBUILD
Relanding this with correct bug number

MozReview-Commit-ID: 3nMM2FMydnR
2016-04-05 23:58:47 -03:00
Felipe Gomes 3a5671b0dc Backed out changeset 0944b6e52af6 (bug 1252738)
MozReview-Commit-ID: y6qLZ9daxt
2016-04-06 00:00:25 -03:00
Felipe Gomes 5146def2cc Bug 1252738 - Disable intermittent browser_permissionsPromptDeny.js on e10s linux64 debug. r=RyanVM
MozReview-Commit-ID: KaT8IVJ5wkp
2016-04-05 23:58:47 -03:00
Chris Manchester f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Ben Kelly 46ccf135c6 Bug 1261784 Make sure InterceptedChannel body streams are always closed. r=jdm 2016-04-04 13:24:05 -07:00
Patrick McManus 9dc0d77cf0 Bug 1261833 - have test use .onion to guarantee dns fail r=bagder
MozReview-Commit-ID: AKySlS4uZbI

--HG--
extra : rebase_source : b62dea7b8191b74d05ceab02726981e37fa67044
extra : amend_source : d64b539c112e63412b974440c32a7aa34f9ea4ee
2016-04-04 10:08:46 -04:00
Patrick McManus 3ad17e9c6e Bug 1261318 - make sure brotli context is created in onstoprequest r=bagder 2016-04-01 15:14:22 -04:00
David Keeler 6e4140d766 bug 1245280 - add policy mechanism to optionally enforce BRs for falling back to subject CN r=Cykesiopka,mgoodwin
MozReview-Commit-ID: 7xT6JGpOH1g

--HG--
extra : rebase_source : 0def29e8be898a2d975ee4390b3bc6a193766b1b
2016-02-09 10:14:27 -08:00
Steven Low 6ce7b12959 Bug 1247548 - Changed nsCookieService::EnsureReadComplete and nsCookieService::PurgeCookeis to allocate nsTArray instead of AutoTArray. r=jdm 2016-03-02 19:56:00 -05:00
Dragana Damjanovic dd.mozilla@gmail.com 1ea26e16ac Bug 1255386 - Extend port blocking list. r=mcmanus 2016-03-30 05:04:00 +02:00
Nicholas Nethercote d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
David Keeler 581a304acb bug 1254667 - change certificate verification SHA1 policy to "allow for locally-installed roots" r=jcj
Before this patch, the default policy for the use of SHA1 in certificate
signatures was "allow all" due to compatibility concerns.
After gathering telemetry, we are confident that we can enforce the policy of
"allow for locally-installed roots" (or certificates valid before 2016) without
too much breakage.

MozReview-Commit-ID: 8GxtgdbaS3P

--HG--
extra : rebase_source : d1bed911f2d5d40229ea06556fee0848668e98b6
2016-03-28 12:52:40 -07:00
Patrick McManus 7cf04dba6b Bug 1260764 - Creation of PollableEvent needs a lock r=dragana a=kwierso
MozReview-Commit-ID: 2R0ydTeLPqr

--HG--
extra : histedit_source : f4a189f30dff540442eb94468bb62ab0e654ca74
2016-03-30 11:16:03 -04:00
Patrick McManus e0f8bdd662 Bug 905460 - Convert http legacy refs to smart pointers r=dragana a=kwierso
MozReview-Commit-ID: G86Mrv0Cdgk
2016-03-29 15:35:56 -04:00
Dragana Damjanovic 3ad4a4c69c Bug 1261070 - Move Send__delete__ to FailedAsyncOpen. r=jduell 2016-04-07 10:33:44 +02:00
Patrick McManus 7a0fa292e7 Bug 1262572 - http 0.9 telemetry. r=hurley 2016-04-06 14:54:47 -04:00
Nicholas Nethercote 8232d31724 Bug 1262359 (part 5) - Add a missing rv check for call to nsDataHandler::ParseURI(). r=jduell.
--HG--
extra : rebase_source : 785b8b0bb91c73f6dc4c1b0b237617ff68010819
2016-04-06 17:23:56 +10:00
Nicholas Nethercote 0af5a36bf5 Bug 1262359 (part 4) - Make data URL payload assignment fallible in nsDataHandler::ParseURI(). r=jduell.
--HG--
extra : rebase_source : c4c3f2f59945be28615286ff46ff11d7a4f316df
2016-04-06 17:23:20 +10:00
Nicholas Nethercote 35f4f94106 Bug 1262359 (part 2) - Make the filling in of two parameters optional in nsDataHandler::ParseURI(). r=jduell.
--HG--
extra : rebase_source : ef9621513850f3d31a8691cfa2d271f7c9742b74
2016-04-06 17:19:14 +10:00
Nicholas Nethercote e847bfec30 Bug 1262359 (part 1) - Remove unused |hashRef| parameter from nsDataHandler::ParseURI(). r=jduell.
--HG--
extra : rebase_source : 416a8cb87d12bbd862652728141c2e68a1f4dfee
2016-04-06 17:18:45 +10:00
Daniel Stenberg 7c81f56832 Bug 1260407 - added logging for proxy/pac to aid debugging, r=mcmanus 2016-03-29 05:23:00 +02:00
Christoph Kerschbaumer 3f988218c4 Bug 1243586 - Implement Upgrade-Insecure-Requests HTTP Request Header Field. r=rbarnes 2016-03-01 09:17:56 -08:00
Nicholas Hurley ccbf76c675 Bug 1260498 - Make test_rel_preconnect work in e10s mode. r=mcmanus
MozReview-Commit-ID: 3PGA2N73foH

--HG--
extra : rebase_source : b3837c38a8bf1847d207ebfc2d3ce60ddf826a01
2016-03-28 16:43:01 -07:00
Patrick McManus ea8cc58c8b Bug 1260218 - SocketTransportService socket expansion r=dragana 2016-03-23 20:44:28 -04:00
Blake Kaplan 76cf7eedc8 Bug 1257861 - Default to sending all cookies if we can't compute 3rdpartyness. r=sicking 2016-03-28 13:39:12 -07:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Patrick McManus b76d381e0b Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer 2016-03-22 11:02:39 -04:00
Dragana Damjanovic 3957a4f911 Bug 1259089 - Set TCP socket to non-blocking in sts again, just to be sure. r=mcmanus
--HG--
extra : rebase_source : 1756181730613231fc7aaf0cd46952e1c7309224
2016-03-24 10:10:00 -04:00
Andrea Marchesini 89bcdd8564 Bug 1259169 - Fix the localization string for nsICookieManager::remove() deprecation, r=flod 2016-04-11 09:10:40 -04:00
Christoph Kerschbaumer ebabdb7c40 Bug 1259511 - Overwrite loadInfo within AboutProtocolHandler and log warning to console. r=sicking 2016-03-24 16:10:59 -07:00
Ted Mielczarek 815dd278b6 bug 1259753 - fix some C++ unittests to use ScopedXPCOM to init XPCOM. r=ms2ger
MozReview-Commit-ID: B6xdlB9Di0y

--HG--
extra : rebase_source : 182d29d677c77ae6780260f5fc9b0792bdd98f84
extra : amend_source : 1e4fa2453d6773bd1e63f52b7aa3bf61e61600ff
2016-03-25 10:04:37 -04:00
Patrick McManus f2d272afa3 Bug 1259459 - h2 0 length options puts end-stream on headers r=hurley 2016-03-18 14:08:01 -04:00
Dragana Damjanovic 75726942c9 Bug 1257809 - "Improve telemetry for PR_Connect". r=mcmanus
--HG--
extra : rebase_source : 93d5de4062db70a9cf59045a7a42b9a8ed74e30a
2016-03-19 04:25:00 +01:00
Dragana Damjanovic dd.mozilla@gmail.com a542bdf22b Bug 1256336 - Do not use httpChannelChild after Send__delete is called. r=jduell 2016-03-24 16:40:42 +01:00
Gregory Szorc ae750c26b0 Bug 1256473 - Cast values to avoid C4838 on VS2015; r=mayhemer
MozReview-Commit-ID: DM4nChFJVWF

--HG--
extra : rebase_source : d609955f07bbfc122e58b08e5cd3c5422fce907f
2016-03-23 15:17:44 -07:00
Patrick McManus 78cb6a4c07 Bug 698882 - backout 34046c232ee1 r=backout 2016-03-23 13:06:02 -04:00
Patrick McManus 6f258a71a8 Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer 2016-03-22 11:02:39 -04:00
Valentin Gosu b763fbe8d8 Bug 1057689 - Add xpcshell test checking correct notifications and app-offline state r=jduell
Changes NeckoParent to send the ipdl message if !UsingNeckoIPCSecurity() because xpcshell tests don't have TabParents.

MozReview-Commit-ID: F50WXzg3TIA
2014-09-01 17:29:28 +03:00
Valentin Gosu f59858b263 Bug 1254061 - Rewrite nsHttp::ParseInt64 using strtoll r=mcmanus
MozReview-Commit-ID: FXjTBah4OSd
* * *
[mq]: test

MozReview-Commit-ID: 5YT1jWVb21K
2016-03-23 13:42:12 +01:00
Eden Chuang 7fce480440 Bug 772528 - Remove nsFileInputStream::Seek() from nsPartialFileInputStream::Init(). r=baku
--HG--
extra : rebase_source : 9050f4f38f64d9e7f8532377661e6d2e6052417e
2016-03-21 10:48:59 +08:00
Sebastian Hengst 437ce2efda Backed out changeset 74312d99d538 (bug 1254061) for bustage. r=backout on a CLOSED TREE 2016-03-21 19:15:49 +01:00
Gregory Szorc f56b31927d Bug 1257320 - Disable C4577 to unblock compilation on VS2015; r=mayhemer
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary. That being said, the warnings this patch masks are
in an included ICU header, which is a 3rd party project. So our hands
appear tied.

MozReview-Commit-ID: 1Qh9H3zrCDf

--HG--
extra : rebase_source : 65508407de45d28440184d765ba74ea33330071e
2016-03-16 14:04:34 -07:00
Valentin Gosu 518b567d5a Bug 1254061 - Rewrite nsHttp::ParseInt64 r=mcmanus
MozReview-Commit-ID: FXjTBah4OSd
* * *
[mq]: test

MozReview-Commit-ID: 5YT1jWVb21K

--HG--
extra : rebase_source : 8bd1b91fd83f1f1f2d815d12baa5002f69e933f2
2016-03-21 17:57:02 +01:00
Michal Novotny 36eaa1d10d Bug 1257611 - Fix wrong CondVar::Wait() and Monitor::Wait() usage in netwerk/cache2, r=honzab 2016-03-21 16:51:58 +01:00
Carsten "Tomcat" Book 0db9291841 merge mozilla-inbound to mozilla-central a=merge 2016-03-21 15:30:59 +01:00
Phil Ringnalda d171b7485c Back out changeset 06e41d2080a2 (bug 698882) for (at least) 10.6 leaks including PollableEvent
CLOSED TREE
2016-03-20 17:24:48 -07:00
Franziskus Kiefer 1a47cfb77a Bug 1186072 - Add trailing slash to origin referer header when policy is set. r=sworkman
MozReview-Commit-ID: 3PYuODmqpbL

--HG--
extra : source : ac4148f22b2d6f76762dac3fd94a6452da80bdde
2016-02-24 10:51:54 +01:00
Daniel Stenberg 88a9b28195 Bug 1245059 - Disable NotifyIpInterfaceChange use for now. r=mcmanus 2016-03-18 16:26:00 -04:00
Patrick McManus 2a402eafbc Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer 2016-02-11 15:00:22 -05:00
Julian Seward 96a413ffed Bug 1248915 - TSan: data race on global 'mozilla::net::CacheObserver::sDiskCacheCapacity'. r=honzab.moz, n.nethercote. 2016-03-20 10:08:57 +01:00
Christoph Kerschbaumer 830e36b012 Bug 1257339 - Bring back deprecated newChannel() API on nsIIOService. r=sicking, r=mcmanus CLOSED TREE
MozReview-Commit-ID: 8BVo3K0veND
2016-03-18 17:11:42 -07:00
Wes Kocher 725097c3d7 Backed out changeset cbceb4f4ec73 (bug 1245059) because something from this push appears to have broken Windows mochitests CLOSED TREE
MozReview-Commit-ID: 5dPzH9ZhTrn
2016-03-18 15:47:28 -07:00
Wes Kocher 756219c691 Backed out changeset e41e3bc842df (bug 1257339) because something from this push appears to have broken Windows mochitests CLOSED TREE
MozReview-Commit-ID: IQwq83Jat9O
2016-03-18 15:47:06 -07:00
Christoph Kerschbaumer 0b2caf41fe Bug 1257339 - Bring back deprecated newChannel() API on nsIIOService. r=sicking, r=mcmanus
--HG--
extra : rebase_source : 202c4d4462b39e0a5f1ece926d7c7a144f5125fa
2016-03-17 09:22:32 -07:00
Daniel Stenberg 135aeef16b Bug 1245059 - Disable NotifyIpInterfaceChange use for now. r=mcmanus
--HG--
extra : rebase_source : f5b64dfcd00ed69fe9fe0cbb90b962564727b659
2016-03-18 05:29:00 -04:00
Stone Shih d2be3770c7 Bug 1255597 - Part 3: Synchronize content-type hint of HttpChannelChild to HttpChannelParent. r=jduell
--HG--
extra : rebase_source : 59b5fadf761e8a11d4f946259d5074ba698a46f5
2016-03-16 14:03:57 +08:00
Geoff Brown f8b671c940 Bug 1251013 - Update AndroidVersion annotations in test manifests - xpcshell; r=jmaher 2016-03-17 10:00:50 -06:00
Jonathan Hao 7bee2c98a0 Bug 1235572 - Enforce SRI if content signature is enforced r=francois
* * *
[mq]: sri_fix

MozReview-Commit-ID: 8vY9J4j3Eog
* * *
[mq]: loadInfo

MozReview-Commit-ID: EZ8BUfCOXO6
* * *
[mq]: add-logs

MozReview-Commit-ID: 1jeyTq9nvlW

--HG--
extra : transplant_source : %8Dj%12f%16%F5%12%8E%FE%7C%02%274%2A%A0a%C8%CB2P
2016-03-16 11:13:26 +08:00
Patrick McManus 22890fcef4 Bug 1253582 - h2 coalescing impacts wss:// r=michal 2016-03-15 11:54:12 -04:00
Franziskus Kiefer 156284d9a8 Bug 1256248 - allow disabling content-signatures for about:newtab on certain channels, r=mayhemer 2016-03-15 16:12:21 +01:00
Dragana Damjanovic 2533fab1f6 Bug 1201170 - During message diversion must be possible to suspend them. r=jduell 2016-03-15 04:10:00 +01:00
Nicholas Nethercote a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Nicholas Nethercote 6b52a8e2f1 Bug 1255655 - Const-ify and shrink octet_weight. r=hurley.
This reduces its size from 1024 to 256 bytes, and makes it shareable between
processes.

--HG--
extra : rebase_source : fe6bf07764352b52f51cc052dc7717d7ce9de447
2016-03-11 13:43:29 +11:00
Randell Jesup e815908708 Bug 1256545: avoid compiler warning for pointer truncation when checking low bits r=bwc
MozReview-Commit-ID: 2ZJANXx4Qx8
2016-03-15 18:31:36 -04:00
Christoph Kerschbaumer 2a18c04fc2 Bug 1256030 - Update NetUtil.jsm to handle file loads. r=mcmanus r=sicking 2016-03-14 13:23:54 -07:00
Jean-Yves Avenard 4d457a83ad Bug 1251184: [quicktime] P1. Report video/quicktime mimetype when sniffing. r=cpearce
MozReview-Commit-ID: 9EJQVYt76Mh

--HG--
extra : rebase_source : 22b6c39ac8f8321b35c7cd5671730ccf902520da
2016-03-11 22:32:30 +11:00
Ryan VanderMeulen 035a81d617 Merge m-c to inbound. a=merge 2016-03-14 22:10:42 -04:00
Wes Kocher 8350d308c3 Merge m-c to fx-team, a=merge
MozReview-Commit-ID: COpA4LGoMQN
2016-03-14 17:40:44 -07:00
Blake Kaplan 55d3d16237 Bug 1254856 - Use a better window for 3rd-party checks. r=sicking, r=billm 2016-03-11 23:28:00 -05:00
Nicholas Nethercote c49a9433ca Bug 1255239 - Reduce size of HuffmanIncomingTables. r=hurley.
Splitting Each HuffmanIncomingTable into two parts avoids the wasted
0/nullptr fields and allows the remaining fields to be packed more efficiently.
Making them all const allows them to be shared between processes.

On 64-bit platforms this saves (60*N - 7.5) KiB, where N is the number of
processes.

--HG--
extra : rebase_source : 1c55b325a01df53b0d8e28e5f3102b8ed57e5e47
2016-03-11 09:57:02 +11:00
Franziskus Kiefer 0d2149893d Bug 1226928 - network and ipc bits for content-signing on remote about:newtab, r=mayhemer 2016-03-14 11:56:52 +01:00
Andrea Marchesini e0a0cfb614 Bug 1254730 - patch 2 - Better comments and a better management of lifetime of ChannelEvents, r=michal 2016-03-14 18:46:22 +01:00
Marco Castelluccio 2fb9c40ec1 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-14 16:29:11 +00:00
Andrea Marchesini 669f5b1954 Bug 1254730 - ChannelEventQueue must be thread-safe, r=michal 2016-03-14 17:10:26 +01:00
Francois Marier f2d085b262 Bug 1254310 - Add a hidden pref to temporarily disable Safe Browsing on given hostnames. r=gcp
--HG--
rename : browser/components/safebrowsing/content/test/browser_forbidden.js => browser/components/safebrowsing/content/test/browser_whitelisted.js
2016-03-11 13:57:38 -08:00
Ehsan Akhgari 7837cfcff2 Bug 1120715 - Part 2: Don't use OPEN_TRUNCATE when reopening a fake synthesized cache entry; r=mayhemer,jdm
This shows up when intercepting the reload cache type channels, since
the cache storage will reopen the cache entry that has been used to fill
up the synthesized response otherwise because of the LOAD_BYPASS_CACHE
flag.
2016-03-11 14:40:37 -05:00
Ehsan Akhgari ac9a100c66 Bug 1120715 - Part 1: Add Necko APIs to preserve the Request cache mode on the channel; r=mayhemer 2016-03-11 14:40:33 -05:00
Jan de Mooij 40172eddb0 Bug 1212328 - Clean up some JSErrorReport-related code. r=Waldo,bz 2016-03-11 15:19:06 +01:00
Michal Novotny 64e57a04ef Backed out changeset 1ff643f2c358 (bug 1251130). r=backout 2016-03-11 12:55:15 +01:00
Ryan VanderMeulen e98112b9bd Backed out 8 changesets (bug 1120715) for Android dom/u2f/tests/test_no_token.html permafail.
Backed out changeset 043770204431 (bug 1120715)
Backed out changeset e10c375353f4 (bug 1120715)
Backed out changeset c2871dbeb7cc (bug 1120715)
Backed out changeset 79158f028ad3 (bug 1120715)
Backed out changeset c74866f52320 (bug 1120715)
Backed out changeset c731944ecc64 (bug 1120715)
Backed out changeset 44f346712a3a (bug 1120715)
Backed out changeset 60d6045125e2 (bug 1120715)

CLOSED TREE
2016-03-10 20:20:05 -05:00
Daniel Holbert 447b3ae749 Bug 1249450 part 2: Convert some nsIURI SetScheme("https") calls to use NS_GetSecureUpgradedURI instead. r=mcmanus 2016-03-10 15:23:46 -08:00
Daniel Holbert 9b70d28e34 Bug 1249450 part 1: Move GetSecureUpgradedURI from HttpBaseChannel to nsNetUtil. r=mcmanus 2016-03-10 15:23:45 -08:00
Ehsan Akhgari 8a2cfbf5b6 Bug 1120715 - Part 2: Don't use OPEN_TRUNCATE when reopening a fake synthesized cache entry; r=mayhemer,jdm
This shows up when intercepting the reload cache type channels, since
the cache storage will reopen the cache entry that has been used to fill
up the synthesized response otherwise because of the LOAD_BYPASS_CACHE
flag.
2016-03-10 17:29:11 -05:00
Ehsan Akhgari 9874b83667 Bug 1120715 - Part 1: Add Necko APIs to preserve the Request cache mode on the channel; r=mayhemer 2016-03-10 17:29:11 -05:00
Carsten "Tomcat" Book 25fbf67b66 Backed out changeset 878c54ec3954 (bug 1250453) 2016-03-10 14:45:59 +01:00