Commit Graph

828 Commits

Author SHA1 Message Date
Makoto Kato
5567f1a177 Bug 769533 - Part 1. Replace AppendWithConversion with others. r=jlebar 2012-07-06 18:43:28 +09:00
Brian Smith
fcc2f52ebf Bug 766683: Export nsNSSShutdown.h from PSM so that other components can use it, r=kaie
--HG--
extra : rebase_source : 40d446da4bf866dc1e4ee45039889fe8e68e8f56
2012-06-28 13:15:13 -07:00
Kai Engert
f9b828146c Bug 762301, Don't retry after TLS-intolerance if TLS is the only enabled protocol, r=honzab 2012-06-13 13:39:23 +02:00
Honza Bambas
41779e1714 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
be13184eac Bug 759095 - upgrade license to MPL 2, and other licensing cleanups. 2012-05-31 10:33:35 +01:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Brian Smith
85a15790f5 Bug 749890 - Do not do TLS intolerance handshake timeout after we know we've received the server hello, r=honzab
--HG--
extra : rebase_source : 068310dfad1562d72c74681f722c46fb64947d7d
2012-05-27 22:03:04 -07:00
Patrick McManus
fada1ab692 bug 737470 patch 1 use ASpdySession to generically dispatch current version of spdy r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession2.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession2.h
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream2.cpp
rename : netwerk/protocol/http/SpdyStream.h => netwerk/protocol/http/SpdyStream2.h
2012-05-25 17:37:01 -04:00
Benjamin Smedberg
4f91700da9 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Honza Bambas
005b15c034 Bug 745254, r=kaie 2012-05-03 18:25:07 +02:00
Brian Smith
2063fba797 Bug 703834 - Part 3 - Remove extraneous variable mSSLStatus that was unintentionally left over in nsNSSSocketInfo, r=me
--HG--
extra : rebase_source : 958bf51b6869318deeedd272f244d1b4b6f3e196
2012-04-30 02:11:09 -07:00
Mike Hommey
7d093da1ec Bug 736066 - Build NSS object files more like the rest of the tree, and simplify security/manager/Makefile.in. r=ted 2012-03-31 09:25:23 +02:00
Brian Smith
a93b7b4a6a Bug 703834 - Part 2 - Make SSLServerCertVerification use TransportSecurityInfo instead of nsNSSSocketInfo, r=honzab 2012-04-29 21:00:29 -07:00
Brian Smith
f82cffa8ef Bug 703834 - Part 1 - Factor TransportSecurityInfo base class out of nsNSSIOLayer, r=honzab
--HG--
rename : security/manager/ssl/src/nsNSSIOLayer.cpp => security/manager/ssl/src/TransportSecurityInfo.cpp
rename : security/manager/ssl/src/nsNSSIOLayer.h => security/manager/ssl/src/TransportSecurityInfo.h
2012-04-29 21:00:22 -07:00
Kai Engert
1ccd4c851a Bug 738457 - useful error message for MD5 certs, add new localizable strings until NSS 3.13.5, r=bsmith 2012-04-27 01:47:19 +02:00
Kai Engert
2c4461eba2 Bug 738457 - useful error message for MD5 certs, general fallback to NSS's default (english) error message, r=wtc 2012-04-27 01:47:19 +02:00
bsmith@mozilla.com
26b832feb9 Bug 738457 - useful error message for MD5 certs, simplify, r=kaie, r=wtc 2012-04-27 01:47:19 +02:00
Christian Holler
ac4f923061 Bug 741258 - Pass LDFLAGS when linking NSS dylibs with Address Sanitizer, r=ted 2012-04-26 10:42:07 -07:00
Kai Engert
311fe61764 Bug 633471, crash if I delete a PKCS#11 certificate when smart card is logged out. Patch contributed by timeless and Ludovic Rousseau, plus my cleanup. r=kaie 2012-04-17 01:36:46 +02:00
Mark Capella
38934b4912 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Ed Morley
37a808d4d3 Backout 369ad04efa1f (bug 736066) for linux64 crashes 2012-04-01 03:54:38 +01:00
Mike Hommey
c5a968bb79 Bug 736066 - Build NSS object files more like the rest of the tree, and simplify security/manager/Makefile.in. r=ted 2012-03-31 09:25:23 +02:00
Peter Van der Beken
205960e5d1 Fix for bug 740397 (Make tests that try to get XHR.channel use SpecialPowers). r=bholley.
--HG--
extra : rebase_source : 0bd78094debfea9d179f17396626c3802a6b5a21
2012-03-29 11:15:09 -07:00
Peter Van der Beken
ec45e06e99 Fix for bug 739898 (Stop using enablePrivilege in test_bug480509.html). r=bz. 2012-03-27 16:31:36 -07:00
Serge Gautherie
d647cd9e50 Bug 739008. (Bv1) Fix patch Av1a. r=sstamm. 2012-03-27 02:02:29 +02:00
Serge Gautherie
b5f97c9296 Bug 739008. (Av1a) Fix and improve test_sts_privatebrowsing.html. r=sstamm. 2012-03-26 22:59:41 +02:00
Matt Brubeck
a2adc4a0df Back out 66ed24196754 (bug 739008) because of test failures 2012-03-26 14:38:20 -07:00
Serge Gautherie
384a3f2d32 Bug 739008. (Av1) Fix and improve test_sts_privatebrowsing.html. r=sstamm. 2012-03-26 22:59:41 +02:00
Steve Workman
2ed5885882 Bug 682244 - Change CRL autoupdate pref from formatted date to integer. sr=bsmith r=kaie 2012-03-23 15:12:48 -07:00
Kai Engert
a82147515d Bug 681937, Enhance PSM's key generation strategy with tokens/escrow, r=rrelyea 2012-03-21 23:22:15 +01:00
Kai Engert
7dbac8b11b Bug 673381, patch v3 for NSPR/NSS versions in about:support, make build time minimum NSPR/NSS versions available to JS, r=rrelyea 2012-03-13 00:04:35 +01:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Kai Engert
38c016dd58 Bug 732390, Add preference to configure acceptance of MD5 in signatures, still accept by default, NSS calls r+=rrelyea, PSM pref code r+=honzab, pref name feedback+=dveditz 2012-03-10 22:18:13 +01:00
Igor Bukanov
30d3de8268 bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Wan-Teh Chang
fed9a22508 Bug 732317 - Fix bugs in the code for displaying a certificate's issuerUniqueID and subjectUniqueID. r=kaie 2012-03-08 18:48:44 -05:00
Christian Holler
c75048ad98 Bug 727445 - Add --enable-address-sanitizer for ASan specific workarounds. Add --enable-llvm-hacks to pass CFLAGS to NSS and omit -Wl,-z,defs for shared libs. r=khuey,kaie 2012-03-07 15:11:15 -08:00
Kai Engert
fe644b724a Bug 673381, first part, allow to to query NSPR/NSS library version numbers from JS, r=honzab 2012-03-01 17:29:48 +01:00
Bas Schouten
eef9d5e504 Bug 725552 - Part 1: Turn MutexAutoLock into a template with specializations. r=cjones 2012-02-16 04:11:34 +01:00
Nathan Froyd
46a7258f3c Bug 700659 - Slay nsHashSets in security. r=kaie 2011-11-08 15:24:09 -05:00
Atul Aggarwal
95b146cd0c Bug 703178 - Fixing Wunused-but-set-variable warning in security/manager/ssl/src. r=kaie
--HG--
extra : rebase_source : a2fba6e6728fdc0381b6f5cd4d6d5df247307206
2012-02-21 23:09:58 +05:30
Boris Zbarsky
1254ee65d6 Bug 722037. Correctly ignore javascript: images in security UI. r=kaie
--HG--
rename : security/manager/ssl/tests/mochitest/mixedcontent/test_securePicture.html => security/manager/ssl/tests/mochitest/mixedcontent/test_javascriptPicture.html
2012-02-21 18:01:41 -05:00
Neil Deakin
4450a27928 Bug 499008, part 3, remove nsIDOMNSEvent::tmpRealOriginalTarget, r=smaug 2012-02-17 09:16:59 -05:00
Mike Hommey
8c9f856321 Bug 720621 - Avoid text relocations induced by NDK >= r6b. r=ted 2012-02-17 08:55:36 +01:00
Brian Smith
4efa2f941e Bug 710176, Part 3: Abort the connection during send or recv when we time out assuming TLS intolerance, r=kaie 2012-02-13 16:18:48 -08:00
Brian Smith
8e20105125 Bug 713934: Update SetCertVerificationResult to use SSL_AuthCertificateComplete, r=honzab 2012-02-13 16:18:28 -08:00
Geoff Lankow
22383d15ab Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part G, remove remaining uses of nsIPrefBranch2; r=bsmedberg 2012-01-18 23:23:28 +13:00
Igor Bukanov
18e6a2e079 bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
eb3cfce3dc backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Igor Bukanov
efe64d22c0 bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Mark Capella
0c6fe22c34 Bug 418290 - replace 'can not' with 'cannot'. r=dao 2012-02-08 14:16:51 +01:00
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Brian Smith
e8bc45b0bd Bug 712363, Part 5: Add back synchronous cert validation for Thunderbird, r=honzab 2012-01-31 08:05:11 -08:00
Brian Smith
18ca355d46 Bug 712363, Part 4: Split the creation of CertErrorRunnable from the dispatching of it, r=honzab 2012-01-31 08:05:06 -08:00
Brian Smith
58f39daec5 Bug 712363, Part 3: Correct the documentation of how threading works, r=honzab 2012-01-31 08:05:02 -08:00
Brian Smith
90228141cd Bug 712363, Part 2: Move CertErrorRunnable, SSLServerCertVerificationResult, and HandleBadCertificate to SSLServerCertVerification.cpp, r=honzab 2012-01-31 08:04:57 -08:00
Honza Bambas
4eec804aae Bug 712363, Part 1: Make SyncRunnableBase work without deadlocking when run on the main thread, r=honzab 2012-01-31 08:04:53 -08:00
Brian Smith
9afea7b820 Bug 716636, Part 2: Fix cert authentication lock reentrence, r=honzab 2012-01-31 05:19:52 -08:00
Brian Smith
63e61f7ddf Bug 716636, Part 1: Fix TLS toleraance lock reentrence, r=honzab 2012-01-31 05:19:25 -08:00
Brian Smith
9526ec8c86 Bug 710176, Part 1: Do not do TLS intolerance timeout during cert validation, r=honzab 2012-01-31 04:23:42 -08:00
Mike Hommey
cbcc9ee1f5 Bug 717906 - Enable NSS lowhash API so that Mozilla builds work on Fedora. r=rrelyea 2012-01-19 08:19:48 +01:00
Mike Hommey
e57c5d9515 Bug 712579 - Load nssckbi from the location of nss3. r=kaie 2011-12-27 18:11:17 +01:00
Mike Hommey
1f8a59e8a7 Bug 712284 - Remove dladdr hack for NSS on android. r=ted 2012-01-10 09:10:53 +01:00
Mike Hommey
ad5b853130 Bug 708570 - Make libfreebl depend on nspr. r=ted 2012-01-10 09:10:53 +01:00
Jeff Walden
841701c767 Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Patrick McManus
787708094c bug 631801 - workaround pr_available() assert r=honzab sr=biesi r=bsmith 2011-12-20 15:14:54 -05:00
Kai Engert
51ea2ad466 Bug 661681 - Enable A-Trust-nQual-03 root certificate for EV in PSM
r=honzab
2011-12-18 16:08:38 +01:00
Patrick McManus
2d124278c9 bug 528288 - reland spdy after libxul weightloss a=khuey CLOSED TREE 2011-12-13 10:55:50 -05:00
Ed Morley
160bed2536 Backout SPDY to keep us under the MSVC virtual address space limit during win PGO builds (bug 709193)
Backs out 952d14a9e508 (bug 707173), c170c678c9ac (bug 708305), 0a5f66d5d8e4 (bug 707662), 3204b70435fe (bug 706236) and the main landing range 48807fde0339:0bd45ead1676 (bug 528288).
2011-12-10 22:36:26 +00:00
Honza Bambas
2c160b4c7f Bug 703024 - Back out bug 662996 (OCSP requests leak cookies) because of bug 701019, r=bsmith 2011-12-06 12:16:16 +01:00
Patrick McManus
5b61a6d8df bug 528288 - spdy don't coalesce onto connections that have used client certs and don't send client certs from connections that have been joined r=bsmith sr=honzab
patch 19
2011-12-02 10:30:16 -05:00
Patrick McManus
da9a5434a6 bug 528288 spdy - nsisslsocketcontrol::mayjoinconnection() r=honzab r=bsmith sr=honzab sr=biesi
patch 17
2011-12-02 10:28:57 -05:00
Patrick McManus
db6da0efcf bug 528288 - disallow spdy from http created in nsNSSCallbacks to avoid OSCP/CRL loops with alternate-protocol sr=biesi r=honzab
patch 15
2011-12-02 10:28:57 -05:00
Patrick McManus
c6aa24c4c9 bug 528288 - spdy - disallow server cert changes through renegotiation when using spdy r=bsmith sr=honzab
patch 13
2011-12-02 10:28:57 -05:00
Patrick McManus
86482de5c9 bug 528288 spdy - only coalesce (i.e. ip pool) hostnames with compatible ssl certs sr=biesi r=honzab r=bsmith
patch 9
2011-12-02 10:28:57 -05:00
Patrick McManus
ce94c7ff4d bug 528222 Basic SPDY web transport support. r=honzab r=bsmith sr=biesi
patch 0
2011-12-02 10:28:56 -05:00
Brian Smith
3a9ab8c22c Bug 674147 (Remove the SSL Thread) Part 2: Everything else, r=honzab 2011-12-01 14:37:57 -08:00
Brian Smith
331cf8f88a Bug 674147 (Remove the SSL Thread) Part 1: Move certificate validation code to new file, preserving history, r=honzab
--HG--
rename : security/manager/ssl/src/nsNSSCallbacks.cpp => security/manager/ssl/src/SSLServerCertVerification.cpp
2011-12-01 14:37:23 -08:00
Brian Smith
1995227db2 Bug 703508: Make nsNSSSocketInfo::GetErrorMessage() lazily format the error message, r=honzab 2011-12-01 14:36:41 -08:00
Michael Wu
3e0835d415 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Oonishi Atsushi
ebc58fb880 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Olli Pettay
e36091a737 Bug 698929 - Implement event.stopImmediatePropagation, r=jst
--HG--
extra : rebase_source : 76d19175a58a4ac8113b144a19f9d7679ad54dd0
2011-11-04 19:17:19 +02:00
Brian Smith
1c4e1ba16c Bug 675221: Remove XPCOM proxy header #includes from PSM, r=kaie 2011-11-02 21:17:54 -07:00
Brian Smith
31a61d3dbc Bug 675221: Notify observers of PSM's background threads on the main thread, r=kaie 2011-11-02 21:14:33 -07:00
Benjamin Smedberg
a56d8001e1 Bug 675702: Call nsICertVerificationListener on the main thread, rev. 1, r=bsmith, r=mayhemer 2011-11-02 21:06:51 -07:00
Brian Smith
2b427075da Bug 675221: Remove XPCOM Proxies from PSM UI prompts, r=kaie 2011-11-02 21:02:48 -07:00
Brian Smith
1b9d8e8f68 Bug 675221: Remove XPCOM Proxies from nsNSSSocketInfo::GetPreviousCert, r=mayhemer 2011-11-02 21:01:47 -07:00
Brian Smith
7dc0898df0 Bug 698983: Fix extended validation indicator, r=mayhemer 2011-11-02 20:59:56 -07:00
Brian Smith
0a9bf5fc31 Bug 675702 - Remove XPCOM Proxies: Do PSM client certificate processing on the main thread, r=kaie
--HG--
extra : rebase_source : 810f54d98fdad7e70ed2d8db8b13292d1d1bfa61
2011-10-30 17:35:14 -07:00
Brian Smith
a43aa7b046 Bug 686248: Add isExtendedValidation to nsISSLStatus so it can be used by mobile, r=meyhemer
--HG--
extra : rebase_source : 6d21f2fdc3cb587874662cc23f84503e63b95ed1
2011-10-30 11:43:06 -07:00
Brian Smith
03cac665c5 Bug 686150: Do not verify client certificates when they are being used for SSL client auth, r=honzab.moz 2011-10-17 17:04:09 -07:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Ms2ger
cd715d9c9b Bug 540433 - Remove nsIDocumentViewer; r=smaug 2011-10-15 09:33:26 +02:00
Matheus Kerschbaum
b520783790 Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Matheus Kerschbaum
8368560bae Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00