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

13028 Коммитов

Автор SHA1 Сообщение Дата
Honza Bambas 5a9074a7ca Bug 1268922 - Don't insist on removal of cache2/doomed directory, causing cache responsiveness slowdown, r=michal 2016-04-30 14:24:20 +02:00
Sebastian Hengst 400524aba3 Backed out changeset 24a113011b90 (bug 1162772) 2016-04-30 09:54:08 +02:00
Jonathan Watt 0fde17d689 Bug 1162772, part 2 - Expose whether SEC_FORCE_INHERIT_PRINCIPAL was dropped from an nsILoadInfo. r=bz
MozReview-Commit-ID: 5Em9qXwDUIJ
2016-04-28 11:13:09 +01:00
Daniel Stenberg e812edc978 Bug 1240932: add Telemetry to record network id successes, r=mcmanus 2016-04-11 07:24:00 +02:00
Daniel Stenberg 21399b54de Bug 1240932 - figure out 'network id' on Linux. r=mcmanus 2016-04-11 06:53:00 +02:00
Dave Huseby b815db526b Bug 1233885 - fix up docInfo and permission manager to use default user context. r=sicking
(HEAD -> oa, refs/patches/oa/Bug_1233885)
fix up docInfo and permission manager to use default user context
2016-03-26 15:07:00 +01:00
Wes Kocher 56fe7c4bcb Merge m-c to fx-team a=merge
MozReview-Commit-ID: 3H9BxQQQnNI
2016-04-29 16:05:30 -07:00
Jared Wein e889366796 Bug 1268159 - Use GreD in addition to XCurProcD for browser_misused_characters_in_strings.js to cover more string files. r=gijs
MozReview-Commit-ID: IlC170W0nlG
* * *
[mq]: temp

MozReview-Commit-ID: GF0k4zvONPD
2016-04-29 09:28:48 -04:00
Andi-Bogdan Postelnicu fdbd0a8be3 Bug 1268387 - avoid memory leak of ToNewCString(key). r=valentin
MozReview-Commit-ID: L6V7HpKE8KT

--HG--
extra : rebase_source : 5a92649dcee2afe427d64f001cb6898ec9cee4ed
2016-04-28 12:35:58 +03:00
Christoph Kerschbaumer 4c4ddfb8df Bug 1268044 - Remove SEC_NORMAL form test_predictor.js. r=mcmanus
--HG--
extra : rebase_source : ef0cc2ccf4fb568520668aed777234e7e1effbba
2016-04-27 16:59:30 +02:00
Nicholas Nethercote ee14356cd1 Bug 1267912 - Rename nsNetUtil.inl as nsNetUtilInlines.h. r=valentin.
--HG--
rename : netwerk/base/nsNetUtil.inl => netwerk/base/nsNetUtilInlines.h
extra : rebase_source : 818e40659bf4c61da6f3b67ad0e37af64cc33110
2016-04-27 14:20:31 +10:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Nicholas Nethercote 2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Dragana Damjanovic 301a1490d4 Bug 1269738 - Lock SetHeader. r=mcmanus 2016-05-03 06:47:00 -04:00
Daniel Stenberg fa3abdd435 Bug 1266493 - Make mShutdown atomic to avoid race. r=valentin 2016-05-02 14:34:00 -04:00
Valentin Gosu 4d0f75d28b Bug 1263428 - Make sure we don't set the domainLookupEnd timestamp after connectStart for non-persistant connections r=mcmanus 2016-04-27 22:13:30 +02:00
Yoshi Huang ba1bb72568 Bug 1263496 - Part 3: fix for nsNullPrincipal::Create
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=nsNullPrincipal::Create(&redirect=true
that needs to inherit origin attributes.
2016-04-27 18:38:07 +08:00
Gregor Wagner acecad8f82 Bug 1267577 - Move nsRunnable to mozilla::Runnable. r=gsvelto 2016-04-27 12:05:40 +02:00
Henry Chang 7ec95c63c9 Bug 1178337 - Part 1: Supports all referrer policies for element atrributes. r=sicking, r=Gijs, r=mcmanus
--HG--
extra : source : 6948efdbc5187e754d5bddd6391a7b67a30222a5
2016-04-27 10:26:57 +08:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
David Keeler 1fdc1bdd0a bug 1267463 - add a more nuanced subject common name fallback option for prerelease channels r=Cykesiopka,jcj
MozReview-Commit-ID: 1vHXrPAHTRm

--HG--
extra : rebase_source : dddd8ae973d1d793890bbfc44d9fe84ef4a47ee2
2016-04-25 15:55:18 -07:00
Patrick McManus 8f40d4db3f Bug 1267000 - null deref with spdy proxy r=hurley 2016-04-27 16:25:22 -04:00
Michal Novotny 4282b4dba0 Bug 1268922 - Limit number of tries to find unused trash directory, r=honzab 2016-05-02 19:58:58 +02:00
Liang-Heng Chen cf4eea0406 Bug 1250776 - increase JavaScript runtime heap size to 4 MB; r=bagder
MozReview-Commit-ID: 9rx2wRSgNHw

--HG--
extra : rebase_source : f17e867f84d18e8b61c4e34d57727270c6598c1b
2016-04-29 11:53:10 +08:00
Carsten "Tomcat" Book 9afcd53619 Merge mozilla-central to mozilla-inbound 2016-05-02 11:40:02 +02:00
Adam Roach [:abr] e67b36376c Bug 1266571 - Add telemetry to measure incidence of non-TLS use of HTTP AUTH. r=mayhemer 2016-04-30 17:58:34 -05:00
Nils Ohlmeier [:drno] 49438ee761 Bug 1251821: increase UDP socket send buffer on Win 7 r=jdm,jesup
MozReview-Commit-ID: ETkx1Z56bI8

--HG--
extra : rebase_source : c3221aa336beb5fcf450754537a5cd1856357494
2016-04-08 16:51:21 -07:00
Randell Jesup 37ad6cbc0c Bug 964092: don't let DOM DataChannels get GC'd if they have an active callback r=smaug,jib
MozReview-Commit-ID: 48gjdDpHOM9
2016-04-26 00:28:53 -04:00
Nicholas Nethercote 682d101dcd Bug 1266632 - Add a null check in nsHostResolver::SizeOfIncludingThis. r=sworkman.
MozReview-Commit-ID: EpBxcIGyq2z

--HG--
extra : rebase_source : 6dc4ba7e0bd092a27cf7eaa762948c893fcacfdd
2016-04-22 14:04:58 +10:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Valentin Gosu c8a94789bb Bug 1262326 - Make test_user_agent_overrides.html work in e10s r=nwgh
* Rename SchedulingContext to RequestContext
* Move SetLoadGroupUserAgentOverride to nsHttpChannel
* Cache the userAgentOverride in RequestContext instead of LoadGroup

MozReview-Commit-ID: FQS9uSRR8kd

--HG--
rename : netwerk/base/SchedulingContextService.cpp => netwerk/base/RequestContextService.cpp
rename : netwerk/base/SchedulingContextService.h => netwerk/base/RequestContextService.h
rename : netwerk/base/nsISchedulingContext.idl => netwerk/base/nsIRequestContext.idl
2016-04-21 16:59:17 +02:00
Jon Coppeard d5b6a661f0 Bug 1259021 - Rename Vector::extractRawBuffer to extractOrCopyRawBuffer r=Waldo 2016-04-25 13:41:25 +01:00
Giorgio Maone 6355e2be61 Bug 1266184 - Implement nsIMIMEInputStream.data getter. r=mcmanus
MozReview-Commit-ID: EAfSPGDSZfW

--HG--
extra : transplant_source : %D4%B07%09%92%9F%15.%89%1F%95%8AK%A6%C5%C9K%DAH%20
2016-04-20 21:36:43 +02:00
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
Marco Castelluccio 1902f1c620 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-10 11:12:38 +00:00
Christoph Kerschbaumer c79819cb84 Bug 1254752 - Remove deprecated functions from nsIIOService. r=mcmanus
MozReview-Commit-ID: 9kvI8nknTA1
2016-03-08 15:51:54 -08:00
Patrick McManus 265bd49b07 Bug 1246735 - h2 reset recursive push. r=hurley
--HG--
extra : rebase_source : 91c88eacaf31338c0c1c027665ed5d6001e3b843
2016-03-09 09:20:02 -05:00
Christoph Kerschbaumer f29ec8d62f Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal. r=sicking 2016-03-09 13:55:59 -08:00
Wes Kocher 53011a6a05 Backed out 6 changesets (bug 1120715) for wpt bustage in request-cache.html
Backed out changeset 2ee4b18f6b3a (bug 1120715)
Backed out changeset f87a25ade31e (bug 1120715)
Backed out changeset 9391f22c08c2 (bug 1120715)
Backed out changeset c5bf9f7bb86e (bug 1120715)
Backed out changeset 7e003fb64d41 (bug 1120715)
Backed out changeset ef66b64e9f8a (bug 1120715)

MozReview-Commit-ID: AI47IhtGWea
2016-03-09 15:57:43 -08:00
Valentin Gosu 7cff2da47e Bug 1234575 - Empty fragment is ignored in URI of location header r=mcmanus
MozReview-Commit-ID: 9qhZfwgANRY
2016-03-10 00:41:17 +01:00
Ehsan Akhgari 456b0a7460 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-09 16:43:11 -05:00
Ehsan Akhgari fded90051d Bug 1120715 - Part 1: Add Necko APIs to preserve the Request cache mode on the channel; r=mayhemer 2016-03-09 16:42:53 -05:00
Wes Kocher 32b01c6513 Backed out changeset 65051cc8fc06 (bug 1254752) for browser_dbg_addon-sources.js failures
MozReview-Commit-ID: 8Lg5gJHY6J5

--HG--
extra : rebase_source : def380fa7ce90838e42ad1a63ca1f9f365a868ba
2016-03-09 10:56:28 -08:00
Wes Kocher 817d8829fc Backed out changeset 7cbab9ec76d5 (bug 1254689) for browser_dbg_addon-sources.js failures
MozReview-Commit-ID: 3zPliH7mmPj

--HG--
extra : rebase_source : 90a6c96c2106ec23043160ed93041cd7e15b1640
2016-03-09 10:56:23 -08:00
Christoph Kerschbaumer 007c074be0 Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal (r=sicking)
MozReview-Commit-ID: LKK3MGMODNI
2016-03-09 09:01:45 -08:00
Christoph Kerschbaumer f0fbe292c5 Bug 1254752 - Remove deprecated functions from nsIIOService (r=mcmanus)
MozReview-Commit-ID: 7ZV7ddKTCK5
2016-03-09 08:58:45 -08:00
Michal Novotny 2e9a36c765 Bug 1227136 - crash in mozilla::net::WebSocketChannel::StartWebsocketData, r=bagder, r=baku 2016-03-09 17:02:28 +01:00
Michal Novotny a226a7c588 Bug 1251130 - null out CacheFileIOManager::gInstance in CacheFileIOManager::ShutdownInternal() to prevent doing shutdown procedure multiple times, r=honzab 2016-03-09 16:50:16 +01:00
Jan Horak ab13daefb2 Bug 1248564 - "Default authentication credentials (NTLM, Kerb) used in private mode". r=mayhemer
--HG--
extra : rebase_source : 4a51b046a473f2e4b6122f4348dd839ca1db8ddd
2016-03-08 08:49:00 +01:00
Daniel Stenberg b98729c515 Bug 1112499 - Set up shutdown pipe before new thread starts. r=keeler
--HG--
extra : rebase_source : 4673d89ef96a0ba7dca6784b2aa9f686f4c60883
2016-02-26 14:29:00 -05:00
Nathan Froyd 777c075f0e Bug 1253010 - part 3 - create all nsIDateTimeFormat instances directly; r=smontagu 2015-12-05 11:03:27 -05:00
Jonathan Watt 7000ea35bd Bug 1253094, part 6 - Stop using DebugOnly for class/struct members in netwerk/. r=mayhemer
MozReview-Commit-ID: Ab9bM9WI2uD
2016-02-26 15:52:07 +00:00
Nils Ohlmeier [:drno] 01210346dd Bug 1217677: increase UDP socket receive buffer for <= Win7. r=jesup,mcmanus
MozReview-Commit-ID: A3yCZZ3Pwcu

--HG--
extra : rebase_source : 67d200194ed72076fcb6064f16ec94334f8fb5e7
2016-03-01 21:46:50 -08:00
Francois Marier 5306fd5619 Bug 1164518 - Better logging of completions. r=gcp
MozReview-Commit-ID: JqhDC9GzB8l

--HG--
extra : rebase_source : c174046a80d128053adbcc9ca498a14c1f381ca0
2016-03-02 14:54:59 -08:00
Blake Kaplan 456e54eb3b Bug 1113196 - Pass a sane set of parameters to loadinfo for top-level loads in e10s. r=sicking 2016-03-04 08:54:07 -08:00
Valentin Gosu 9ee45bbb21 Bug 1253379 - Cache timings not send to HttpChannelChild r=mayhemer
MozReview-Commit-ID: D7IWrI25mIB

--HG--
extra : rebase_source : 323b385c910356472bb805c6a16b4a57f3e107c5
2016-03-04 12:14:00 +01:00
Valentin Gosu 1863d8b9cd Bug 652186 - Implement URL Standard's backslash replacement r=mcmanus
* * *
[mq]: test

MozReview-Commit-ID: JAZ36DstjFs

--HG--
extra : rebase_source : ccce437c84a15319fa05db4c14c5d784b66f6638
2016-03-03 15:50:16 +01:00
Patrick McManus 743611280b Bug 1253358 - Assert no flags on several h2 frame types r=hurley 2016-03-03 16:35:38 -05:00
Patrick McManus bf8f0696ad Bug 1253358 - no flags on priority frames r=hurley 2016-03-03 13:33:04 -05:00
Patrick McManus 267eda0f68 Bug 1253358 - minor h2 push fixes r=hurley 2016-03-03 11:48:30 -05:00
Carsten "Tomcat" Book eb98199ac0 Backed out changeset ac4148f22b2d (bug 1186072) for referrer test failures
--HG--
extra : rebase_source : 124130bb041418eb97862a131ae6365df5cfbdc6
2016-03-03 09:23:59 +01:00
Franziskus Kiefer 55e0623947 Bug 1186072 - add trailing slash to origin referer header when policy is set, r=sworkman
MozReview-Commit-ID: 3PYuODmqpbL

--HG--
extra : transplant_source : %E5P%B1%1F%82%08%07%2A%1C%26%AF%C5%C8%29%B1y%97O%877
2016-02-24 10:51:54 +01:00
Nils Ohlmeier [:drno] 953cd8dd97 Bug 1252755: increase maximum UDP packet size to 9216 bytes for jumbo frames. r=jesup
MozReview-Commit-ID: 9aNARxTIdyr

--HG--
extra : rebase_source : 55ebde8cd317058169e93f68d982a1c5fc8abb9e
2016-03-01 22:13:14 -08:00
Nicholas Hurley 0b3b2a68db Bug 1246761 - Properly handle non-terminal 0-length DATA frames. r=mcmanus
--HG--
extra : rebase_source : 756e42ecea9646b5b0e2770060090437b06b9f9d
2016-03-01 16:28:39 -08:00
J. Ryan Stinnett 764b9f1ffa Bug 1238160 - Set frame type on TabContext. r=billm,mayhemer
This change renames TabContext::IsBrowserElement to IsIsolatedMozBrowserElement.
Other methods that pass these values around also have name changes.

Adds TabContext::IsMozBrowserElement which is set by the frame loader for all
browser frames.  This is in contrast to its previous implementation, which has
since been renamed IsIsolatedMozBrowserElement, since it checks isolated state
in OriginAttributes.

TabContext methods related to browser elements (and their callers) are updated
to use IsIsolatedMozBrowserElement when check isolation / origins and
IsMozBrowserElement when checking frame types.

MozReview-Commit-ID: DDMZTkSn5yd
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett 5bede71f0d Bug 1238160 - Rename nsILoadContext::GetIsInBrowserElement. r=smaug,mayhemer
This change renames nsILoadContext::GetIsInBrowserElement to
GetIsInIsolatedMozBrowserElement.  Other methods that pass these values around
also have name changes.

Tokens such as "isInBrowserElement" have previously been serialized into cache
keys, used as DB column names, stored in app registries, etc.  No changes are
made to any serialization formats.  Only runtime method and variable names are
updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: CUttXANQjSv
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett 2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Ehsan Akhgari 8a0731fdde Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly 2016-03-01 09:16:38 -05:00
Ehsan Akhgari baf9a67550 Bug 1251873 - Store the trimmed referrer URL on HTTP channel if a trimming referrer policy is in effect; r=mcmanus
Failure to do this will result in the consumers of
nsIHttpChannel::GetReferrer() observing the wrong referrer.  The test in this
patch shows the scenarios which would fail under such conditions.
2016-03-01 09:15:25 -05:00
David Rajchenbach-Teller 077332385a Bug 1252386 - Removed debugging printf,r=me
MozReview-Commit-ID: 131XBlD5YOQ

--HG--
extra : rebase_source : 9d3453845ade7e36ede08d09a6d4d5566924a7a7
2016-03-01 08:38:27 +01:00
Ms2ger 07caffd689 Bug 1252094 - Export necko-config.h from moz.build; r=ted 2016-03-01 09:17:29 +01:00
Wes Kocher e2f9524db9 Backed out changeset fc5cc380ddb3 (bug 1251873) for wpt cross-origin.swap-origin-redirect.http.html failures
MozReview-Commit-ID: Anr0ilrYczq
2016-02-29 13:34:55 -08:00
Ehsan Akhgari befc43a124 Bug 1251873 - Store the trimmed referrer URL on HTTP channel if a trimming referrer policy is in effect; r=mcmanus
Failure to do this will result in the consumers of
nsIHttpChannel::GetReferrer() observing the wrong referrer.  The test in this
patch shows the scenarios which would fail under such conditions.
2016-02-29 14:51:16 -05:00
Eric Rahm 217f7e1cbf Bug 1251493 - Remove remaining references to MOZILLA_XPCOMRT_API from netwerk. r=mcmanus 2016-02-29 11:16:30 -08:00
Wes Kocher 4712647d7d Backed out 2 changesets (bug 1243586) for dt5 bustage in netmonitor tests
Backed out changeset 06a4d2d48fb2 (bug 1243586)
Backed out changeset 846e31fe5eb2 (bug 1243586)

MozReview-Commit-ID: 69kiDIULtm2
2016-02-29 10:39:04 -08:00
Christoph Kerschbaumer a863521d73 Bug 1243586 - Implement Upgrade-Insecure-Requests HTTP Request Header Field (r=rbarnes) 2016-02-29 08:44:39 -08:00
Dragana Damjanovic dd.mozilla@gmail.com d4dfbeb3b6 Bug 1251595 - Check if mNetAddr is set before sending ipv4/6 telemetry. r=mcmanus 2016-02-26 08:00:00 -05:00
Joel Maher e31f4f8868 Bug 1251629 - remove unused reference to PREDICTOR_TESTS in netwerk/base/moz.build. r=nwgh
MozReview-Commit-ID: DMfX8ZCzbT

--HG--
extra : rebase_source : 198e78d68c9af6fbc0e13e101735a433a1de1f16
2016-02-26 08:28:08 -08:00
Tim Taubert 896a7362d7 Bug 1247860 - Enable ChaCha20/Poly1305 cipher suites r=emk,keeler 2016-02-26 12:37:19 +01:00
Paul Bignier 1d1fd489f5 Bug 1245106 - necko compilation warnings r=mcmanus
--HG--
extra : rebase_source : 6f4adf253af73a58d3ff5561e33e34eed94e456b
2016-02-26 11:29:28 -05:00
Dragana Damjanovic 5031bdb80e Bug 580313 - New resource hints for link. r=smaug
--HG--
extra : rebase_source : 5ce4ef05217f6d513052f83a7e18b00d1596417a
2016-02-26 02:41:00 +01:00
Bogdan Postelnicu 3de845aa19 Bug 1251253 - prevent null pointer dereference of |aContext| in CacheStorageService::DoomStorageEntries. r=mayhemer
MozReview-Commit-ID: BmXXg4eW25n

--HG--
extra : rebase_source : 35ca2824ebdd618fef7b6de4858de8214571f466
2016-02-25 20:41:52 +02:00
Bogdan Postelnicu b700af6edd Bug 1234540 - verify the validity of hashEntry, if it's null return with NS_ERROR_FAILURE. r=michal 2016-02-26 10:30:12 +02:00
David Rajchenbach-Teller 48f2be74e2 Bug 1249590 - Bullet-proofing AsyncShutdown wrt exceptions;r=froydnj
While investigating bug 1248489, we discovered that some code paths in
AsyncShutdown could possibly be sensitive to exceptions being thrown
in unexpected places. This patch attempts to make AsyncShutdown more
robust to such exceptions.

MozReview-Commit-ID: 5ImL9YNVgQr

--HG--
extra : rebase_source : 823ee41406f7b341750e0339dfe3d5dbaa6d0cc9
2016-02-19 12:51:04 +01:00
Brian Smith 0005663935 Bug 571126: Remove NECKO_SEPARATE_STACKS support, r=jduell 2016-02-25 15:56:44 -08:00
Nicholas Nethercote 9d2a708f22 Bug 1247835 (part 1) - Use binary search instead of a hash table in nsEffectiveTLDService. r=jduell.
This saves 128 KiB of memory per process. It requires putting the eTLD entries
in sorted order.

--HG--
extra : rebase_source : 96678fcd91089a5151760dcced77e459bcbd4821
2016-02-25 13:31:01 +11:00
Andrea Marchesini b1768e7ec3 Bug 1245184 - Update mochitests, r=me 2016-02-25 16:41:13 +01:00
Andrea Marchesini 8cd3c16e81 Bug 1245184 - nsICookieManager.removeNative for TestCookie cppunittest, r=smaug 2016-02-25 16:41:13 +01:00
Andrea Marchesini ed31fee8d4 Bug 1245184 - nsICookieManager.remove should use the OriginAttributes, r=sicking 2016-02-25 16:41:13 +01:00
Nathan Froyd f1a24ff6a0 Bug 1247393 - use arrays of UniquePtr in ChannelEventQueue; r=mcmanus 2016-01-20 16:56:04 -05:00
Honza Bambas f6e228e9d3 Bug 1247644 - Don't do any I/O on doomed and unused HTTP cache entries, r=michal 2016-02-12 14:45:00 +01:00
Bogdan Postelnicu 855925309f Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
MozReview-Commit-ID: HoMv3sBg74W

--HG--
extra : rebase_source : c12a2a3342ed74909125cf18ebb54726fdeac35a
2016-02-24 13:47:18 +02:00
Carsten "Tomcat" Book fc53b9744d Backed out changeset 3955642fc8a9 (bug 1250115) for bustage 2016-02-24 12:17:39 +01:00
Bogdan Postelnicu 6948abc600 Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
MozReview-Commit-ID: HoMv3sBg74W

--HG--
extra : rebase_source : 718c383cfd6f000a78f0f3d850911aea32fbb13e
2016-02-24 11:59:07 +02:00
Honza Bambas 68a7636bf1 Bug 1050613 - Make sure force-valid for HTTP cache entries is removed when entries are removed, r=michal 2016-02-19 11:56:00 +01:00
Dylan Roeh 30e72a8b98 Bug 1148544 - Update tests to work with new way of handling user agent overrides. r=jchen 2016-02-22 15:57:18 -06:00
Dylan Roeh 93886420a6 Bug 1148544 - Figure out UA override once per LoadGroup and cache it, rather than once per channel. r=nwgh 2016-02-22 15:57:18 -06:00
Patrick McManus 3355f2b1ed Bug 739029 - null check a thread allocation in notifyaddrlistener r=bagder 2016-02-19 15:21:28 -05:00
Patrick McManus 529544b457 Bug 831450 - No Range Requests against weak Etag r=mayhemer 2016-02-19 16:09:16 -05:00
Patrick McManus 4033d4ec3c Bug 698882 - backout threadevent changes due to crashes with McAfee Firefox Hook r=backout 2016-02-21 17:41:21 -05:00
Patrick McManus bb76653375 Bug 1249432 - less h2 parallel conns r=hurley 2016-02-18 17:30:46 -05:00