Commit Graph

12846 Commits

Author SHA1 Message Date
Phil Ringnalda
b0bd45708b Bug 851214 followup, actually compile
CLOSED TREE
2016-05-05 20:24:20 -07:00
Yoshi Huang
de5b190579 Bug 1266022 - skip checking of LoadInfo for chrome resources. r=sicking
When tab with a userContextId!=0 contains a chrome page (such as
about:newtab) the userContextId in the LoadInfo won't match the
userContextId in the LoadContext. The LoadInfo will contain the
systemPrincipal and so use userContextId=0, the LoadContext has the
userContextId of the tab (!=0).

This is fine as long as we page only loads chrome-URLs and other
non-http URLs since those don't use cookies anyway.

So avoid asserting in this situation.

Long term we want the chrome page to use the default userContextId for
cookies, since that's what it chrome code normally use. This will work
properly once we get the cookie jar information from the LoadInfo rather
than from the LoadContext.
2016-05-06 11:04:50 +08:00
Jason Duell
fce2bbafc1 Bug 851214 - Allow OOP mozbrowser w/o enclosing app. r=billm 2016-02-18 17:37:00 -05:00
Christoph Kerschbaumer
f228b98aff Bug 1267058 - Use AsyncOpen2() within Predictor.cpp. r=nwgh
--HG--
extra : rebase_source : 81c41c848f7437e78e32f0c46daad38bfc0f098f
2016-05-04 15:46:19 +02:00
Dragana Damjanovic
3b9a380403 Bug 1122566 - Make e10s behave the same as single-process in case of an ftp:// error. r=bagder
--HG--
extra : rebase_source : 4fc189cae50476f8a5ee206091b609b41a5c8d96
2016-05-02 09:38:00 -04:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Andrew McCreight
ed9ce357e8 Bug 1270247 - Crash in ParamTraits<mozilla::net::NetAddr>::Write if the family is unknown. r=hurley
This will prevent mysterious deserialization crashes in the receiver.
2016-05-04 14:49:16 -07:00
Nicholas Hurley
cd0ff9abb0 Bug 1269448 - Fix test assertions. r=mayhemer
MozReview-Commit-ID: HQyi9SJmIC2
2016-05-04 08:44:21 -07:00
Carsten "Tomcat" Book
ad9214381b merge mozilla-inbound to mozilla-central a=merge 2016-05-04 11:54:42 +02:00
Dragana Damjanovic
d9ad6dbb9e Bug 1269055 - If a connection is reused, retry requests even if the request method is not safe (revert to old(ff45) behavior).r=mcmanus
MozReview-Commit-ID: INw61hHzvDl

--HG--
extra : rebase_source : e819067ddec67246787e4aa150be4bf325782cc7
2016-05-03 17:39:30 -07:00
Carsten "Tomcat" Book
f9e0bb9939 Merge mozilla-central to fx-team 2016-05-03 16:19:57 +02:00
Valentin Gosu
b962c08e1f Bug 1269080 - Convert NS_ERROR to NS_WARNING when setting an invalid scheme in nsSimpleURI. r=mcmanus 2016-04-30 17:08:33 +03:00
Jan Beich
3a9a9fa772 Bug 1269262 - Unbreak build without NO_EXPAND_LIBS in js/src/moz.build after bug 1239083. r=ted
MozReview-Commit-ID: LIOJ8HFhh2M

--HG--
extra : rebase_source : 4393b0845d15012e51d9fc74dddac4bd0268034b
2016-05-02 08:49:58 +00:00
Christoph Kerschbaumer
f9776e196c Bug 1268595: Use Cu.reportError() instead of logStringMessage within asyncFetch(). r=gijs 2016-05-02 12:02:48 +02:00
Dragana Damjanovic
485736ee81 Bug 1247982 - Lock request headers. r=mcmanus 2016-05-03 00:06:00 +02:00
Daniel Stenberg
238c4af941 Bug 1240932 - figure out 'network id' on Windows, r=mcmanus 2016-04-28 04:52:00 +02:00
Daniel Stenberg
a520e4cdb0 Bug 1240932 - figure out 'network id' on OS X, r=mcmanus 2016-04-28 04:51:00 +02:00
Carsten "Tomcat" Book
548d98c27e merge mozilla-inbound to mozilla-central a=merge 2016-05-02 11:25:32 +02:00
Jonathan Watt
1b7bc2f61d 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
Liang-Heng Chen
080c533edc Bug 1251332 - add PAC support for reversed ranges; r=bagder
MozReview-Commit-ID: HsbupdOORI6
2016-04-30 23:10:29 +08:00
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