Commit Graph

12791 Commits

Author SHA1 Message Date
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