Commit Graph

1341 Commits

Author SHA1 Message Date
David Dahl
0bfba29ba5 Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch r=jst 2013-02-15 23:34:18 -06:00
David Dahl
cb2e8d0515 Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch r=jst
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-15 23:34:15 -06:00
Olli Pettay
6e6150abc6 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02:00
Kai Engert
75a00d6a80 Bug 834091, re-apply an unreleased patch that Mozilla has chosen to use on top of NSS 2013-02-10 01:13:24 +01:00
Kai Engert
593060ec65 Bug 839141 - Upgrade Mozilla to NSS 3.14.3, starting with Beta1, r=ekr 2013-02-10 01:11:00 +01:00
Josh Matthews
9622013d21 Bug 827272 - Avoid performing cleanup on SSL state that doesn't exist. r=bsmith 2013-01-14 16:53:30 +01:00
Tanvi Vyas
2ab4f79cb0 Bug 836951 - If piwin is null, return NS_OK and skip setting the mixed content state. r=bsmith 2013-02-06 18:29:24 -08:00
Tanvi Vyas
ffe34e696a Bug 836459 - If a page has both mixed display and mixed active content loaded, make sure both nsIWebProgressListener flags are set in psm. r=bsmith 2013-01-31 19:27:09 -08:00
Kai Engert
62c0f4c74d Bug 834741, landing final NSPR 4.9.5 and final NSS 3.14.2, r=wtc.
Keeping the locally applied patch, but bumping its version tag, to indicate it hasn't been part of an official NSS release yet.
2013-02-01 00:31:20 +01:00
Tanvi Vyas
8ecfda5905 Bug 822367 - With nsMixedContentBlocker.cpp, mixed content XHR calls are considered mixed active content and yield to a security state of STATE_IS_BROKEN. This fixes this mixed content todo-test to test that passes. r=bsmith 2013-01-30 00:04:49 -08:00
Tanvi Vyas
79ca64e10b Bug 822367 - Use new nsIWebProgressListenerFlags for mixed active and mixed passive content in PSM. Also update the security state to STATE_IS_BROKEN if nsMixedContentBlocker has detected mixed content (even if PSM has not detected the mixed content). r=bsmith 2013-01-30 00:04:43 -08:00
David Keeler
c08acf8f69 bug 822771 - add timeout to getHSTSPreloadList.js' XHRs r=bsmith DONTBUILD (NPOB) 2013-01-29 11:56:57 -08:00
Ehsan Akhgari
32d278987e Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Brian Smith
4d7302a18a Bug 834741: Update NSS to NSS 3.14.2 BETA 3 (NSS_3_14_2_BETA3), r=me, a=bustage
--HG--
extra : rebase_source : 877c00c76e2c4f0899126afeb5d52c34b47f0f55
2013-01-28 01:37:45 +01:00
Carmen Jiménez Cabezas
6496234509 Bug 834091: Verify certificate chain for signed B2G apps as of the current time (now) instead of the signing time, r=bsmith
--HG--
extra : amend_source : 86d8ca2b28259aaf41983740b809ef8a51befc4f
extra : rebase_source : e5a1c1199756e929f14852f5c83ba28d097449f4
0001-01-01 00:00:00 +00:00
Ryan VanderMeulen
d5d782111a Backed out changeset eb2f0c1fffc2 (bug 820613) for xpcshell failures.
--HG--
extra : rebase_source : 7fff4cec5a4d7839cd3ede5cd0322631e11f9d38
2013-01-26 14:05:31 -05:00
Shriram Kunchanapalli
5a7f15d5b3 Bug 820613 - Remove all references to shutdown-cleanse. r=bsmedberg 2013-01-17 00:40:56 +05:30
Kai Engert
d4ddc18806 Bug 834741, NSPR_4_9_5_BETA2 and NSS_3_14_2_BETA2, r=wtc 2013-01-25 17:26:46 +01:00
Ehsan Akhgari
b3849129ac Backed out changeset 70baa7e07838 (bug 833915) since one day has passed 2013-01-24 11:12:24 -05:00
Ehsan Akhgari
c30aff9acb Bug 833915 - Turn off PGO and LTCG on Windows Nightly for one day; r=glandium 2013-01-23 16:13:50 -05:00
Patrick McManus
724b384ac7 bug 804605 - backout 766973 767158 785050 r=backout a=akeybl 2013-01-22 11:59:01 -05:00
Brian Smith
a3d652b504 Bug 624514: Make PSM access the network.ntlm.send-lm-response pref only on the main thread, r=honzab
--HG--
extra : rebase_source : ef4c9e19548fbbc9198d1cd63c32a33e797c5dd9
2013-01-18 16:06:12 -08:00
Brian Smith
adaa345534 Bug 714477: Do not check the OCSP enabled pref during extended validation, r=rrelyea
--HG--
extra : source : 48823673fe63bd00cd182fe185b6aba0d19eff9d
2013-01-18 10:28:58 -08:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Antonio Manuel Amaya Calvo
0eba4f3ab1 Bug 828730: Fix crash in test_signed_apps/generate.sh, r=bsmith, a=NPOTB
--HG--
extra : rebase_source : 7edc7a07b2447c902074735039a17e5f2726096f
2013-01-10 13:55:54 +01:00
Chris Peterson
d2b4e410e5 Bug 785918 - Part 1: Replace PR_ARRAY_SIZE() with mozilla::ArrayLength() and MOZ_ARRAY_LENGTH(). r=ehsan 2013-01-05 23:37:25 -08:00
Brian Smith
b61797dec2 Bug 824199: Replace the marketplace-dev cert with the marketplace-prod test cert, r=rtilder
--HG--
extra : rebase_source : f2b9a1102e32c58a7d55ec4481b895af531d5e14
2013-01-08 11:55:04 +01:00
Ehsan Akhgari
129c4cd7fd Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Andres Hernandez
5ef959a002 Bug 824493 - Intermittent timeout in test_sts_privatebrowsing_perwindowpb.html; r=ehsan 2013-01-04 10:05:32 -06:00
Ehsan Akhgari
726d181e3b Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build 2013-01-03 18:36:16 -05:00
Shriram Kunchanapalli
2239414ab6 Bug 791546: Removes nsCRT::strcmp(const PRUnichar* s) from nsCRT.h and replaces it occurrences with NS_strcmp; r=bsmedberg 2012-12-24 08:47:18 +05:30
Camilo Viecco
3e1b6f0a96 Bug 799267 - AuthCertificate Telemetry (measuring first auth, pkix and classic) r=bsmith 2013-01-02 08:14:07 -08:00
Kai Engert
0d91a897a9 Bug 825022, pick up NSS roots module version 1.93. patch by bsmith/kaie. r=kaie/kwilson/bsmith. a=bbajaj 2012-12-29 18:47:31 +01:00
Ms2ger
519fc6202b Merge PGO-green changeset from inbound to m-c. 2012-12-22 12:06:37 +01:00
Ms2ger
3eb0a0a781 Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug 2012-12-22 09:18:08 +01:00
Benjamin Smedberg
5f32a1893f Bug 807757 part PSM - Remove nsIProfileChangeStatus and related veto notifications from PSM r=bsmith
--HG--
extra : rebase_source : a4611953352684c48913501d26e8ce782ba04f8f
2012-12-13 12:20:00 -05:00
Trevor Saunders
f308c492e2 bug 820182 - remove nsISupportsArray::ElementAt() uses r=ehsan 2012-12-11 11:16:42 -05:00
Andres Hernandez
dbd105015e Bug 806731 - Port test_sts_privatebrowsing.html to the new per-window PB APIs; r=ehsan
--HG--
rename : security/manager/ssl/tests/mochitest/stricttransportsecurity/test_sts_privatebrowsing.html => security/manager/ssl/tests/mochitest/stricttransportsecurity/test_sts_privatebrowsing_perwindowpb.html
2012-12-14 15:35:33 -06:00
Brian Smith
61a2b1c74c Bug 823705: Update NSS in Gecko to NSS 3.14.2 beta 1 (NSS_3_14_2_BETA1), r=me, a=wtc
--HG--
extra : rebase_source : ae5ec41dab45b5a2c84a8f29acb3c3d6c85aa1f6
2012-12-20 14:04:14 -08:00
Josh Matthews
587d1ddff8 Bug 823342 - Update reference to renamed getRecentBadCertsService method. r=bsmith 2012-12-20 11:59:40 -05:00
Ed Morley
dbdc5c97de Backout 851fd44eeb42 (bug 799267) for leaks on a CLOSED TREE 2012-12-19 22:07:04 +00:00
Camilo Viecco
b05a420c0c Bug 799267 - Telemetry for Cert Verification (PKIX and classic) in SSLServerCertVerification r=bsmith 2012-12-19 13:05:43 -08:00
Ed Morley
9e8a4f79dc Merge mozilla-central to mozilla-inbound 2012-12-14 19:03:57 +00:00
Josh Matthews
afb3c11643 Bug 769288 - Part 7: Use separate SSL session cache entries for private connections. r=mayhemer 2012-12-07 17:57:53 -05:00
Josh Matthews
c4ae32a33f Bug 769288 - Part 5: Close private socket connections when the lsat private browsing instance dies. r=bsmith,mcmanus 2012-12-07 17:50:43 -05:00
Josh Matthews
8a6b872223 Bug 769288 - Part 4: Clear SSL session cache upon leaving private browsing. r=bsmith 2012-12-06 22:05:34 -05:00
Josh Matthews
ddef2da004 Bug 769288 - Part 3: Clear all temporary cert overrides upon leaving private browsing. r=bsmith 2012-12-06 22:05:34 -05:00
Josh Matthews
1c894a8fc6 Bug 769288 - Part 2: Avoid storing intermediate cert data for private contexts. r=bsmith sr=mayhemer 2012-12-06 22:05:34 -05:00
Josh Matthews
2365a99364 Bug 769288 - Part 1: Make PSM more amenable to storing concurrent private and non-private data. r=bsmith 2012-12-06 22:05:27 -05:00
Ed Morley
2b5f199504 Merge mozilla-inbound to mozilla-central on a CLOSED TREE 2012-12-14 15:28:22 +00:00
Ed Morley
0ff2809134 Backout d9336f8c0f6c, 761ff8b47a4e, 072da0be4236, ee2822d2eab9, 38cd815da29a, a80ec6b90878 & 9e9281ce1b63 (bug 769288) on suspicion of causing bug 821701 on a CLOSED TREE 2012-12-14 15:07:48 +00:00
Brian Smith
7bf7022fd9 Bug 772365, Part 3: Add B2G-specific customizations to NSS certificate trust database with tests, r=rrelyea r=honzab
--HG--
rename : dom/tests/browser/browser_ConsoleStoragePBTest_perwindowpb.js => dom/tests/browser/browser_ConsoleStoragePBTest.js
rename : dom/tests/mochitest/localstorage/test_localStorageBasePrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageBasePrivateBrowsing.html
rename : security/manager/ssl/tests/mochitest/browser/browser_bug627234_perwindowpb.js => security/manager/ssl/tests/unit/test_bug627234.js
extra : rebase_source : 2792b75d7ccccf80e9a23feed70c134dfcdfe00f
2012-12-10 07:17:29 -08:00
Josh Matthews
0e7772fb45 Bug 769288 - Part 7: Use separate SSL session cache entries for private connections. r=mayhemer 2012-12-07 17:57:53 -05:00
Josh Matthews
25637557d7 Bug 769288 - Part 5: Close private socket connections when the lsat private browsing instance dies. r=bsmith,mcmanus 2012-12-07 17:50:43 -05:00
Josh Matthews
4597eb8010 Bug 769288 - Part 4: Clear SSL session cache upon leaving private browsing. r=bsmith 2012-12-06 22:05:34 -05:00
Josh Matthews
cd19472008 Bug 769288 - Part 3: Clear all temporary cert overrides upon leaving private browsing. r=bsmith 2012-12-06 22:05:34 -05:00
Josh Matthews
0726a9f42b Bug 769288 - Part 2: Avoid storing intermediate cert data for private contexts. r=bsmith sr=mayhemer 2012-12-06 22:05:34 -05:00
Josh Matthews
d4dc77e053 Bug 769288 - Part 1: Make PSM more amenable to storing concurrent private and non-private data. r=bsmith 2012-12-06 22:05:27 -05:00
Ed Morley
f4fdd9141e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-12-13 15:55:31 +00:00
Mario Alvarado [:marioalv]
3747833633 Bug 806732 - Port test_bug627234.js to the new per-tab PB APIs; r=ehsan
DONTBUILD since this is NPOTB for global PB builds

--HG--
rename : security/manager/ssl/tests/unit/test_bug627234.js => security/manager/ssl/tests/mochitest/browser/browser_bug627234_perwindowpb.js
2012-12-12 15:15:35 -06:00
Josh Matthews
d4f3c2e8ad Backed out changeset 3d1dab473a7e (bug 769288) 2012-12-12 02:53:10 -05:00
Josh Matthews
f27fcffbd2 Backed out changeset ea45d78f5b3b (bug 769288) 2012-12-12 02:53:08 -05:00
Josh Matthews
b10e54c8a1 Backed out changeset 571f73bc8d01 (bug 769288) 2012-12-12 02:53:06 -05:00
Josh Matthews
d6b4232ea5 Backed out changeset 209bff5d2e80 (bug 769288) 2012-12-12 02:53:05 -05:00
Josh Matthews
922d804409 Backed out changeset 9fcf530e1c41 (bug 769288) 2012-12-12 02:53:03 -05:00
Josh Matthews
a5db6503f5 Backed out changeset a5c2323ca151 (bug 769288) 2012-12-12 02:52:59 -05:00
Josh Matthews
e7f92d3a9a Bug 769288 - Part 7: Use separate SSL session cache entries for private connections. r=mayhemer 2012-12-07 17:57:53 -05:00
Josh Matthews
22a51d9ed1 Bug 769288 - Part 5: Close private socket connections when the lsat private browsing instance dies. r=bsmith,mcmanus 2012-12-07 17:50:43 -05:00
Josh Matthews
bf8a575e6f Bug 769288 - Part 4: Clear SSL session cache upon leaving private browsing. r=bsmith 2012-12-06 22:05:34 -05:00
Josh Matthews
52565c80ab Bug 769288 - Part 3: Clear all temporary cert overrides upon leaving private browsing. r=bsmith 2012-12-06 22:05:34 -05:00
Josh Matthews
23cec1578a Bug 769288 - Part 2: Avoid storing intermediate cert data for private contexts. r=bsmith sr=mayhemer 2012-12-06 22:05:34 -05:00
Josh Matthews
94b29c24d4 Bug 769288 - Part 1: Make PSM more amenable to storing concurrent private and non-private data. r=bsmith 2012-12-06 22:05:27 -05:00
Wan-Teh Chang
95f4853fb2 Bug 611451: Update NSS to NSS_3_14_1_BETA3. Also include the fixes for
bug 811317, bug 818741, bug 813401.
2012-12-12 13:19:33 -08:00
Camilo Viecco
ace29d5678 Bug 819429 - Remove assertion allowing aToken to be NULL in nsNSSCertificateDB::FindCertByDBKey. r=bsmith 2012-12-14 09:10:44 -08:00
Makoto Kato
03f2158bee Bug 486141 - pymake cannot build securiy/build. r=gladium 2012-12-12 12:23:42 +09:00
Mike Hommey
7cfff25fc0 Bug 818903 - Also link NSPR and NSS with --build-id when available. r=ted 2012-12-10 19:00:38 +01:00
Ed Morley
cf6ee79d29 Backout 28807b41f92e (bug 818903) for errors during configure 2012-12-10 18:23:45 +00:00
Mike Hommey
d1971cdcea Bug 818903 - Also link NSPR and NSS with --build-id when available. r=ted 2012-12-10 19:00:38 +01:00
Mike Hommey
1f081089c8 Bug 486141 - Stop building NSS with gmake when building m-c with pymake. r=ted 2012-12-10 10:05:03 +01:00
Saurabh Anand
151d13c7a5 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
David Keeler
8d8aefd158 bug 819106 - update processStsHeader call in hsts preload list script r=bsmith DONTBUILD (NPOTB) 2012-12-06 16:46:00 -08:00
Ehsan Akhgari
b3efcff124 Merge mozilla-central into mozilla-inbound 2012-12-06 01:08:07 -05:00
Ehsan Akhgari
603c1a492c Bug 806733 - Part 0: Don't run test_sts_preloadlist.js in per-window PB builds 2012-12-06 00:39:44 -05:00
Ehsan Akhgari
ac20c50532 Bug 806732 - Part 0: Don't run test_bug627234.js in per-window PB builds 2012-12-06 00:39:06 -05:00
Ehsan Akhgari
2ec638928f Bug 806731 - Part 0: Don't run test_sts_privatebrowsing.html in per-window PB builds 2012-12-06 00:37:37 -05:00
Brian Smith
4031b71173 Bug 772365, Part 1: Implement JARSignatureVerification, r=honzab, parts r=ehsan
* * *
Bug 772365, Part 2.1: Generate test cases for signed app signature verification
* * *
Bug 772365, Part 2.2: Test JAR signature verification

--HG--
extra : rebase_source : 198be789e8b1565dad418e15760fa6dc90da843f
2012-11-14 15:31:39 -08:00
Brian Smith
918b8579c0 Bug 767241, Part 3: Replace uses of one-off Auto* classes with ScopedNSSTypes in ssltunnel, r=ted
--HG--
extra : rebase_source : d3d9c1e474bee2c0952d5d71cb3e7460d661a5aa
2012-11-12 09:42:33 -08:00
Brian Smith
0cfd275457 Bug 767241, Part 2: Replace almost all uses of NSSCleanupAutoPtrClass with ScopedNSSTypes, r=honzab
--HG--
extra : rebase_source : 5fa068e15febb301b0c776f1a565262d698789b2
2012-11-12 09:42:28 -08:00
Brian Smith
a315453a26 Backed out changeset 7ac3f1563741
--HG--
extra : rebase_source : 1b25c854c88690c4d0f64927d0ec1e2d656b9ca3
2012-11-30 19:40:27 -08:00
Brian Smith
594736d869 Backed out changeset 84bf2e19c701
--HG--
extra : rebase_source : 446249323b44e54161bf187c0d386db645402bb7
2012-11-30 19:39:46 -08:00
Brian Smith
2a9f131039 Backed out changeset c966b16e4fb5
--HG--
extra : rebase_source : 4b3f5af10951cf33c70f459a5043075bb946ccb4
2012-11-30 19:37:39 -08:00
Brian Smith
9fcc4bfd61 Backed out changeset 329da1081148
--HG--
extra : rebase_source : 9efe319bbff8d9a3f55208686d238626bf6d0dc0
2012-11-30 19:36:08 -08:00
Brian Smith
534e4f8dbf Bug 767241, Part 3: Replace uses of one-off Auto* classes with ScopedNSSTypes in ssltunnel, r=ted 2012-11-12 09:42:33 -08:00
Brian Smith
6ca9a21460 Bug 767241, Part 2: Replace almost all uses of NSSCleanupAutoPtrClass with ScopedNSSTypes, r=honzab 2012-11-12 09:42:28 -08:00
Andres Hernandez
db50a92da6 Bug 806733 - Port test_sts_preloadlist.js to the new per-window PB APIs; r=ehsan
--HG--
rename : security/manager/ssl/tests/unit/test_sts_preloadlist.js => security/manager/ssl/tests/unit/test_sts_preloadlist_perwindowpb.js
2012-12-13 12:15:10 -06:00
Ehsan Akhgari
5085c9776c Merge mozilla-central into mozilla-inbound 2012-12-13 16:01:29 -05:00
Wan-Teh Chang
3552df150c Bug 816392: Update NSS to NSS_3_14_1_RC0. 2012-12-13 12:00:41 -08:00
Ed Morley
844fb967b0 Backout 4ebd50016f35 & 9033700cc24f (bug 807757) for failing to build on a CLOSED TREE 2012-12-13 18:46:38 +00:00
Benjamin Smedberg
e1992703b2 Bug 807757 part PSM - Remove nsIProfileChangeStatus and related veto notifications from PSM r=bsmith
--HG--
extra : rebase_source : d31d974b8d7da64e6a524fbbea4d98bf0d9a505a
2012-12-13 12:20:00 -05:00
Brian Smith
9087077a80 Bug 804663: Create a CryptoTask API to simplify the creation of correct async crypto operations and add more utilities to ScopedNSSTypes.h, r=honzab
--HG--
extra : rebase_source : de29f383e6d5b109a06837b887d96bbcbce55817
2012-07-13 15:44:24 -07:00
Brian Smith
5a14f993ea Bug 816392: Update to NSS 3.14.1 beta 2 (NSS_3_14_1_BETA2), r=me, a=rrelyea
--HG--
extra : rebase_source : fad4097ed16f529fc9845231292c99fce4fea1f5
2012-12-05 15:19:18 -08:00
Brian Smith
e51024bde5 Bug 804663: Create a CryptoTask API to simplify the creation of correct async crypto operations and add more utilities to ScopedNSSTypes.h, r=honzab 2012-07-13 15:44:24 -07:00
Brian Smith
4a19468daf Bug 816392: Update NSS to NSS 3_14_1_BETA1, r=me, a=relyea, a=wtc 2012-11-30 18:00:34 -08:00
Daniel Holbert
eb0138e91d Bug 817176: Add "(void)" cast to silence GCC unused-var warning for an intentionally-unused variable. r=bsmith 2012-11-30 16:59:42 -08:00
Brian Smith
a3848f342f Bug 812531: Make MOZ_TYPE_SPECIFIC_SCOPED_POINTER_TEMPLATE comply with two-phase template name lookup rules, as clang requires, r=khuey
--HG--
extra : rebase_source : 5c4c8c0ff4f2dfcb4d83e63376036a5bf45ab0ab
2012-11-15 17:02:11 -08:00
Brian Smith
be0d41bee2 Bug 813241: Update config/system-headers and make wrapping of NSPR & NSS headers more robust, r=glandium
--HG--
extra : rebase_source : 5ba0a83110268ff489df7b3e0a8a9219711247b1
2012-11-22 11:15:01 -08:00
Josh Matthews
682011a69c Bug 812794 - Make docshell STS usage use existing PB knowledge instead of digging in SSL internals. r=bz/bsmith 2012-11-28 11:24:03 -05:00
Daniel Holbert
e548ef3a86 Bug 815928 part 2: Fix typo s/elment/elment/ in comments & tests. DONTBUILD, rs=Waldo 2012-11-27 19:15:36 -08:00
Patrick McManus
3d5a1836dc bug 806992 EV initialization blocks the first certificate verification thread for a long time r=bsmith r=honzab 2012-11-22 15:57:59 -05:00
Patrick McManus
3b2659e71b bug 807435 telemetry for ssl handshake time r=bsmith r=honzab 2012-11-22 15:36:59 -05:00
Patrick McManus
de18bbe99e bug 807435 - telemetry for ssl key exchange algorithm r=bsmith r=honzab 2012-11-22 11:43:27 -05:00
Patrick McManus
64542079df bug 807435 - telemetry for ocsp success/failure and elapsed time r=bsmith r=honzab 2012-11-22 11:43:27 -05:00
Patrick McManus
37f5399c50 bug 807435 telemetry for server TLS NPN support r=bsmith r=honzab 2012-11-22 11:43:27 -05:00
Patrick McManus
db47e11909 bug 807435 telemetry for ssl version used r=honzab r=bsmith 2012-11-22 11:43:27 -05:00
Brian Smith
f54dc1694d Backed out changeset ef6db4ced917 (bug 804663) due to build bustage, a=bustage
--HG--
extra : rebase_source : 20d434a5f205052e836e059bcee57a0bf84725c4
2012-11-19 20:24:47 -08:00
Brian Smith
11b18b39eb Bug 804663: Add a CryptoTask class for asynchronous crypto operations and add more utilities to ScopedNSSTypes.h
--HG--
extra : source : cc195997c6e526ce4b64d28cfb065d671b90bdba
2012-07-13 15:44:24 -07:00
Josh Matthews
c7506771fc Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Ed Morley
bbae80e3f1 Backout e123e0173185, 326ed6f1dc9e & 7c2c9c988869 (bug 722979) for mochitest-a11y failures 2012-11-16 15:06:13 +00:00
Josh Matthews
cac189ed83 Bug 722979 - Update test in accordance with STS API changes. 2012-11-16 14:48:08 +00:00
Josh Matthews
79a2c3192a Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Kai Engert
8fe2c9902a Bug 799304 - Document how to enable a CA root certificate for EV (extended validation, r=rrelyea, DONTBUILD 2012-11-15 17:33:37 +01:00
Isaac Aggrey
32fe8546ca Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan 2012-11-14 13:14:21 -06:00
Brian Smith
63175cf75b Bug 799009: Remove unneeded SSL-related security alerts, r=honzab, r=dao 2012-11-10 20:49:44 -08:00
Brian Smith
6a43df62c6 Bug 799007: Remove support for low/weak/null cipher suites, r=honzab, r=dao 2012-11-10 20:49:29 -08:00
Brian Smith
b78a4cfb46 backout cset b36d5c933092 due to orange 2012-11-10 19:09:07 -08:00
Brian Smith
5b7b090005 backout cset 30f8e29f9cd1 due to orange 2012-11-10 19:08:26 -08:00
Brian Smith
16a1014808 Bug 772365: Fix build bustage caused by cset 4ed8af50dc10, a=bustage 2012-11-10 18:51:22 -08:00
Brian Smith
b3f665df00 Bug 799009: Remove unneeded SSL-related security alerts, r=honzab, r=dao
--HG--
extra : rebase_source : b6216bf3163f63f1eb4f16901943d9f351bca2cf
2012-11-10 18:19:55 -08:00
Brian Smith
741fc10ba2 Bug 799007: Remove support for low/weak/null cipher suites, r=honzab, r=dao
--HG--
extra : rebase_source : 822ef336a5cdeb7d6693dbe46844a26465600854
2012-11-10 18:18:14 -08:00
Brian Smith
769b6dddc4 Bug 802302: Remove obsolete OCSP responder override UI and API, r=honzab
--HG--
extra : rebase_source : 5d241a8b9573f442c37d0aeef0689ae5054dd08d
2012-10-15 20:39:11 -07:00
Brian Smith
962ab4d8eb Bug 772365, Part 0: remove nsNSSCertHeader.h, r=honzab
--HG--
extra : rebase_source : b58ac957c58f647180f67a6e13be3cc81915d90c
2012-11-02 12:34:46 -07:00
Brian Smith
a61e92f320 Bug 804441: Put our NSPR and NSS header wrappers before OS_INCLUDES, r=ted
This allows inline functions in headers to call NSPR/NSS functions without
causing linking errors.

--HG--
extra : rebase_source : f89df8a53d6e8f624c84fc3b84982c4dd92d5f38
2012-10-24 14:31:54 -07:00
Camilo Viecco
03c06fc2ed Bug 785259 - tests, r=honzab 2012-10-31 22:17:28 +01:00
Nathan Froyd
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
David Keeler
4ec6ef9594 bug 800444 - disable HSTS preload list if firefox has not updated in 18 weeks r=bsmith, mayhemer 2012-10-26 09:50:23 -07:00
Andrew Quartey
a1996feccf Bug 792581 - part 21: Replace LL_F2L and LL_D2L macros. r=ehsan 2012-10-25 19:25:58 -04:00
Tim Taubert
ddb6c4b88a merge m-c to fx-team 2012-10-25 21:23:58 +02:00
Mihai Sucan
2476780676 Bug 803964 - Cannot show window object with inspect viewer in remote web console; r=bz 2012-10-24 13:01:54 +03:00
Mike Conley
d9903283d7 Bug 804690 - Skip test for bug 627234 if the Private Browsing service is not available. r=dkeeler. 2012-10-24 15:00:36 -04:00
Brian Smith
31cc1c11ed Bug 802378: Make PSM coding patterns more consistent, and more consistent with Mozilla Coding Style, r=keeler
--HG--
extra : rebase_source : 8b7ebf227a490cfde7376a61e2952a07a900e2d2
2012-10-17 13:48:36 -07:00
Patrick McManus
c0fb380918 bug 803267 - speculative backout of 802378 to test crash stats r=backout 2012-10-23 16:42:19 -04:00
Daniel Holbert
18106ac8d2 Bug 803236: Reorder nsSTSHostEntry constructors' init lists to fix build warning, and mark that directory & its sibling 'pki' as warning-free. r=bsmith 2012-10-18 15:42:10 -07:00
Brian Smith
035e8b8432 Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan 2012-10-18 15:55:48 -04:00
Kai Engert
33ba0fc9f9 Bug 757240 - May 2012 batch of changes to the EV-activation list, r=bsmith 2012-10-18 22:17:59 +02:00
Wan-Teh Chang
855975e926 Bug 801218: Upgrade NSS from NSS_3_14_BETA1 to NSS_3_14_RC1. 2012-10-18 11:41:08 -07:00
David Keeler
825d26ac23 bug 627234 - test that hsts data isn't deleted in private browsing when includeSubdomains is false r=bsmith 2012-10-22 10:38:50 -07:00
Nick Hurley
e7f284c9d3 Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Bobby Holley
bac4dc387e Bug 789224 - Separate certificate principals out from CAPS. r=dveditz
There's no longer any reason why "certificate principals" need to be principals at all.
I tried to rip them out entirely, but it looks like they're still used vestigially at XPI
install time to display author information. But there's no reason that they have to be
porkbarreled into the security-critical objects that we pass around all over the place.
So let's make them their own deal.

I was tempted to call them "certificate holders", but that would involve renaming methods and
cause more compat fuss than necessary.

--HG--
rename : caps/idl/nsISignatureVerifier.idl => security/manager/ssl/public/nsISignatureVerifier.idl
2012-10-22 08:29:56 +02:00
Brian Smith
4020f12f18 Bug 802378: Make PSM coding patterns more consistent, and more consistent with Mozilla Coding Style, r=keeler
--HG--
extra : rebase_source : 46fde9231dd69356221c0c5a7042a7b2d3dd0cf6
2012-10-17 13:48:36 -07:00
Isaac Aggrey
588adae9f1 Bug 794510: Part 5 - use plarena.h type definitions; r=ehsan 2012-10-11 01:39:28 -05:00
Ehsan Akhgari
5f562a1bf7 Bug 722978 - Port the certificate exception UI to the new per-window private browsing API; r=jdm
--HG--
extra : rebase_source : a49d0c630a170a950dd830ad484e084a29f8b51f
2012-10-12 23:38:19 -04:00
David Keeler
3b999cffca bug 786417 - filter the hsts preload list to sites that actually send the header r=bsmith, mayhemer 2012-10-15 14:43:57 -07:00
Andrew Quartey
9b685a759c Bug 792581 - part 17: Replace LL_L2F macro with a double cast. r=ehsan 2012-10-12 13:29:11 -04:00
Andrew Quartey
6d6e443bea Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Trevor Saunders
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Abhishek Potnis
2abf651a08 Bug 795504: Remove usages of PR_STATIC_CALLBACK from the tree; r=ehsan 2012-10-08 21:45:12 +05:30
EKR
3ba764ed03 Bug 790517: mtransport - Generic media transport subsystem for ICE and DTLS r=jesup,bsmith,mcmanus 2012-10-02 13:04:58 -07:00
Andrew Quartey
3b4dab9dc0 Bug 792581 - part 13: Replace LL_MOD macro with modulo operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
52003ca06d Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
42f2f3750f Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
1839819e70 Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Andrew Quartey
5fcf688c9c Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Ryan VanderMeulen
b31022a4d8 Merge the last PGO-green inbound changeset to m-c. 2012-10-03 21:43:28 -04:00
rjesup@jesup.org
269ef2ad58 Bug 797572: Export SRTP functions from libssl. r=bsmith
--HG--
extra : rebase_source : 0d95c706eafd57dec591cd2651d3a1ceaec83de4
2012-10-03 15:52:10 -07:00
Andrew Quartey
21f22f5076 Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey
1d85650f11 Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Brian Smith
54f132c66f Bug 795972: Upgrade NSS to NSS_3_14_BETA1, r=me
--HG--
rename : security/nss/lib/freebl/sechash.h => security/nss/lib/cryptohi/sechash.h
rename : security/nss/lib/softoken/secmodt.h => security/nss/lib/pk11wrap/secmodt.h
rename : security/nss/lib/freebl/hasht.h => security/nss/lib/util/hasht.h
extra : rebase_source : 7da6cd73ca2605a261085ad7fb3b90315e38ad6b
2012-10-01 11:02:15 -07:00
Brian Smith
7e7f1e7b8d Bug 767241, Part 1: Create scoped pointer types for NSS types, r=honzab
--HG--
rename : dom/tests/mochitest/localstorage/test_clear_browser_data.html => dom/tests/mochitest/localstorage/test_app_uninstall.html
rename : layout/reftests/flexbox/solidblue.png => layout/reftests/bugs/solidblue.png
extra : rebase_source : d0825fab76fdb92eba788d3baaaa25aa97547d43
2012-05-22 13:49:49 -07:00
cviecco@mozilla.com
e3baa5f882 Bug 785259: Fix override bit masking [v2], r=bsmith, sr=honzab
--HG--
extra : rebase_source : 22768054c4113e6904d07f5e9b5db32d969315a1
2012-09-28 11:05:26 -07:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
cviecco@mozilla.com
85c485f372 Bug 785259: Fix override bit masking, r=bsmith, sr=honzab
--HG--
extra : rebase_source : 42bef348ffad84d9c49181c896dd0a1446a86e68
2012-09-26 12:08:00 -07:00
Isaac Aggrey
84680bfb39 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Benjamin Peterson
44f6340ff8 backout 5f9951a2e6df (bug 785918) for breaking on osx 2012-09-25 10:24:09 -04:00
José Guilherme Vanz
b12bfcbd0f Bug 785918 - Replace the usages of PR_ARRAY_SIZE with mozilla::ArrayLength; r=ehsan 2012-09-25 09:57:08 -04:00
Bobby Holley
c64d31c5e0 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Devdatta Akhawe
9827420b37 Bug 774395 - Measure prevalence of SSL MITM errors for updates (r=bbondy) 2012-09-08 09:23:42 -07:00
Devdatta Akhawe
bb7b5d9d54 Bug 787738 - Telemetry for Geolocation Prompt UI (r=felipe) 2012-09-08 09:20:51 -07:00
Makoto Kato
507b76f776 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Patrick McManus
36b33fa90a bug 662996 fix comment from da6a55f4fdae r=comment-only 2012-09-04 13:14:22 -04:00
Gavin Sharp
849721143f Bug 662996. Don't send cookies with OCSP requests. r=bsmith, sr=kaie 2011-07-12 12:06:34 -04:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
David Keeler
5bcdc34ddf Bug 785860 - fix sts preload list tests to skip private mode tests if private browsing service is missing - conditionally call run_next_test based on if we're in private browsing mode or not. r=bsmith 2012-08-28 09:41:32 -07:00
Landry Breuil
d47685dcd8 Bug 785738 Part 5: restore a PRUint64, fix an OpenBSD build failure. r=ehsan
Root cause is bug 634793 (ie int64_t != PRint64 on OpenBSD..sigh), and
since security/nss/lib/certdb/certt.h still uses PRUint64 for
cert_rev_flags_per_method we need to assign it a correct type in
security/manager/ssl/src/nsIdentityChecking.cpp.
2012-08-30 09:10:44 +02:00
Ehsan Akhgari
c48204a6a9 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : adad9af01d9168a14d87c201c1bd51a3a7a768f5
2012-08-29 10:56:51 -04:00
Kai Engert
07fe28b240 Bug 783974, Log SSL errors to the error console, v9, mostly r=bsmith 2012-08-28 15:32:34 +02:00
Sid Stamm
3e49671e7e Bug 785860 - fix sts preload list tests to skip private mode tests if private browsing service is missing. r=bsmith 2012-08-27 12:01:00 -07:00
Kai Engert
9f84261628 backout a6890a3b8f72 because of a leak 2012-08-27 18:45:52 +02:00
Ehsan Akhgari
3265eaba32 Bug 579517 follow-up: Remove NSPR types that crept in 2012-08-27 12:28:11 -04:00
Kai Engert
c998c121f8 Bug 783974, Log SSL errors to the error console, r=bsmith 2012-08-27 16:37:47 +02:00
David Keeler
d28bb14e18 Bug 760307 - Preloaded strict-transport-security site list. r=mayhemer, bsmith 2012-08-24 14:17:27 -07:00
Luke Wagner
ce71e55555 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Ehsan Akhgari
2962d2eed1 Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ryan VanderMeulen
8dab9caf9c Bustage fix for bug 480745 on a CLOSED TREE. 2012-08-16 19:28:16 -04:00
Ludovic Hirlimann
23b07d64df Bug 480745 - Remove XP_MAC from mozilla/security. r=bsmith, sr=kaie 2012-08-16 17:35:19 -04:00
Marek Stepien
dc59a62f32 Bug 636245 - Allow localizers to change the Device Manager window size. r=kaie 2012-08-15 21:00:50 -04:00
Kai Engert
554ebf7a0c Bug 496005 - some locales will not allow you Unload PKCS#11 Device, patch contributed by Makoto Kato, r=kaie, r=rrelyea 2012-08-15 21:54:44 +02:00
Aryeh Gregor
963057b5ac Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan 2012-08-13 16:49:48 +03:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
EKR
e49ffe85fc Bug 769930 - Split PSM and NSS builds so that we can build NSS early; original patch by glandium. r=khuey
--HG--
rename : security/manager/Makefile.in => security/build/Makefile.in
2012-06-30 10:15:57 -07:00
Honza Bambas
5fe7a22e2c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Wan-Teh Chang
c7f18e0c16 Bug 780009: Update NSS to NSS_3_13_6_RTM. Note that this overwrites
the changes to the three Makefile.in files in dbm/ in the changeset
https://hg.mozilla.org/mozilla-central/rev/162130598df0 for bug 774032.
2012-08-10 18:36:28 -07:00
Ed Morley
991653b152 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger
8fcd7f8f16 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Ms2ger
331accfcb4 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Aryeh Gregor
916e416979 Bug 777292 - security/manager/: Don't treat number of bytes as an nsresult; r=kaie 2012-07-30 12:24:36 +03:00
Aryeh Gregor
6744d716c1 Bug 777292 - security/manager/: Fix incorrect conversions to nsresult; r=kaie 2012-07-30 12:24:36 +03:00
Ed Morley
e652569507 Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE 2012-08-07 00:57:27 +01:00
Bobby Holley
6e8f328744 Bug 778420 - Fix up tests that don't like the new enablePrivilege, r=jmaher.
--HG--
extra : rebase_source : 07565c66b279ba5a58b5902b697110f940c255fd
2012-08-06 22:38:19 +02:00
Bobby Holley
943789da00 Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
Ms2ger
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Devdatta Akhawe
7b2dada83c Bug 767676 - Implement Security UI Telemetry. r=honzab,bsmith,felipc,dtownsend 2012-08-02 18:51:17 -07:00
Honza Bambas
9446da8d75 Bug 768568, r=kaie 2012-07-31 20:59:17 +02:00
Wan-Teh Chang
10cb95a2ae Bug 764393: update NSS to NSS_3_13_6_BETA1 to fix the chain-building
looping bug.  (Also includes fixes for bugs 489188, 757189, 757197,
762351, 762353.)
2012-07-30 15:23:38 -07:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari
c80897316e Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
52ab25cf3e Bug 777292 - Convert some nsresult to SECStatus; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
7bf9fe596b Bug 777292 - Add casts and annoyed comments where we make up nsresult codes on the fly; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
f5f9ac7115 Bug 777292 - Convert an nsresult variable to PRStatus; r=ehsan 2012-07-27 17:03:25 +03:00
Patrick McManus
d5350894c6 bug 767158 - remove blocking dns call in sspi r=honzab
--HG--
extra : rebase_source : a313576f1262f25b6d299f815cedb0d8acc0b03f
2012-07-26 11:09:05 -04:00
Joshua Cranmer
e1cdfe2f05 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Mounir Lamouri
2409c7adbc Bug 775713 - Use principals in nsStrictTransportSecurityService to access the PermissionManager. r=bsmith,mayhemer 2012-07-23 11:06:36 -07:00
Ehsan Akhgari
f35f75fd3c Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (security parts); blanket-r=bzbarsky 2012-07-19 00:37:09 -04:00
Brian Smith
1da657a4b5 Bug 758314 - Allow end-user to override error when MD5 cert is encountered, r=kaie
--HG--
rename : mobile/android/base/resources/layout-land-v14/tabs_panel_toolbar_menu.xml => mobile/android/base/resources/layout-land-v14/tabs_panel_toolbar.xml
extra : rebase_source : ed78fedd30fcd329a24de652a6d906e78759dc7c
2012-07-10 19:42:50 -07:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Makoto Kato
70a261905e Bug 769533 - Part 1. Replace AppendWithConversion with others. r=jlebar 2012-07-06 18:43:28 +09:00
Brian Smith
9b8ec9c7e2 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
d8c9885458 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
f29e1ac591 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
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Ed Morley
a0f902dbd7 Merge mozilla-central to mozilla-inbound 2012-06-01 01:12:32 +01:00
Gervase Markham
64b4633d51 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups. 2012-05-31 10:33:35 +01:00
Kai Engert
67241696cb Bug 738458, Upgrade Mozilla to NSS 3.13.5 final, r=wtc + r=dveditz (by phone) 2012-05-31 22:18:45 +02:00
Gervase Markham
638c878b13 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
26956d1485 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
5ce388e01a 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
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2187798a40 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
Kai Engert
e7c14b18e2 Bug 738458, Upgrade Mozilla to NSS 3.13.5, landing beta2, r=bsmith/wtc 2012-05-18 17:05:42 +02:00
Honza Bambas
1b43740002 Bug 745254, r=kaie 2012-05-03 18:25:07 +02:00
Brian Smith
1f85f65631 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
63e306f79a 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
59ec7a72f2 Bug 703834 - Part 2 - Make SSLServerCertVerification use TransportSecurityInfo instead of nsNSSSocketInfo, r=honzab 2012-04-29 21:00:29 -07:00
Brian Smith
933613a562 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
196c8a1529 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
c30805af61 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
b1d8ac53a6 Bug 738457 - useful error message for MD5 certs, simplify, r=kaie, r=wtc 2012-04-27 01:47:19 +02:00
Kai Engert
23042f1bc9 Bug 738458 - Upgrade Mozilla to NSS 3.13.5 - starting with BETA1, r=wtc 2012-04-27 01:47:19 +02:00
Christian Holler
dbd1a09eb3 Bug 741258 - Pass LDFLAGS when linking NSS dylibs with Address Sanitizer, r=ted 2012-04-26 10:42:07 -07:00
Kai Engert
58c1126cda 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
Kai Engert
7f3d77cb7a Bug 741135, update Mozilla to NSS 3.13.4. Landing final version numbers, no code change. r=wtc 2012-04-06 17:39:22 +02:00
Wan-Teh Chang
e00049e83f Bug 741135: Update NSS to NSS_3_13_4_BETA2. Includes fixes for bug
741481 and bug 715073.
2012-04-05 15:45:31 -07:00
Mark Capella
4666038a24 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Ed Morley
3924f11f64 Merge mozilla-central to mozilla-inbound 2012-04-01 04:02:22 +01:00
Ed Morley
467940c199 Backout 369ad04efa1f (bug 736066) for linux64 crashes 2012-04-01 03:54:38 +01:00
Wan-Teh Chang
399d1f1019 Bug 741135: Update NSS to NSS_3_13_4_BETA1. See bug 741135 comment 0
for the list of bug fixes in this update.
2012-03-31 16:41:42 -07:00
Mike Hommey
6fbef7df76 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
702fa57682 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
6a91bcfada Fix for bug 739898 (Stop using enablePrivilege in test_bug480509.html). r=bz. 2012-03-27 16:31:36 -07:00
Serge Gautherie
f3bb974ce2 Bug 739008. (Bv1) Fix patch Av1a. r=sstamm. 2012-03-27 02:02:29 +02:00
Serge Gautherie
ba8754d334 Bug 739008. (Av1a) Fix and improve test_sts_privatebrowsing.html. r=sstamm. 2012-03-26 22:59:41 +02:00
Matt Brubeck
4911ed69dd Back out 66ed24196754 (bug 739008) because of test failures 2012-03-26 14:38:20 -07:00
Serge Gautherie
b0105760cc Bug 739008. (Av1) Fix and improve test_sts_privatebrowsing.html. r=sstamm. 2012-03-26 22:59:41 +02:00
Steve Workman
078c2208d5 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
ff45f86f4f Bug 681937, Enhance PSM's key generation strategy with tokens/escrow, r=rrelyea 2012-03-21 23:22:15 +01:00
Kai Engert
2a8b3dd0bf 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
064e2cf3f9 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
c31cb0817e 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
f0bddf0e88 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
83b6360b4a 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
c21903dcff 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
b13c74fa13 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
be63948579 Bug 725552 - Part 1: Turn MutexAutoLock into a template with specializations. r=cjones 2012-02-16 04:11:34 +01:00
Nathan Froyd
f21ac239c3 Bug 700659 - Slay nsHashSets in security. r=kaie 2011-11-08 15:24:09 -05:00
Kai Engert
8de6c2b2b0 Bug 728617, Update Mozilla to NSS 3.13.3, r=rrelyea 2012-02-22 11:02:38 +01:00
Atul Aggarwal
80acff567d 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
4b64e411f0 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
Ed Morley
fe4a039dbe Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-18 00:16:22 +00:00
Brian Smith
243b038426 Bug 713936, Part 4: Remove security/patches/bug-717906-lowhash, r=kaie, a=akeybl 2012-02-17 14:51:47 -08:00
Brian Smith
4e989a5068 Bug 713936: Update to NSS_3_13_2_RTM (NSS 3.13.2), r=kai 2012-02-16 19:16:42 -08:00
Neil Deakin
36ff9c0df5 Bug 499008, part 3, remove nsIDOMNSEvent::tmpRealOriginalTarget, r=smaug 2012-02-17 09:16:59 -05:00
Ed Morley
5a7b9f1b2a Merge mozilla-central to mozilla-inbound 2012-02-17 11:11:16 +00:00
Mike Hommey
2f4e89429d Bug 720621 - Avoid text relocations induced by NDK >= r6b. r=ted 2012-02-17 08:55:36 +01:00
Brian Smith
6224f9906a 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
58b944227e Bug 713934: Update SetCertVerificationResult to use SSL_AuthCertificateComplete, r=honzab 2012-02-13 16:18:28 -08:00
Brian Smith
bb2df8856c Bug 713936, Part 2: Remove local patches that were incorporated into NSS 3.13.2, r=kaie 2012-02-13 16:18:20 -08:00
Brian Smith
eae1a80308 Bug 713936, Part 1: Update to NSS 3.13.2 RC0, r=kaie 2012-02-13 16:17:25 -08:00
Geoff Lankow
c4d2ef72bf 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
748c9f34a7 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
38fe4ed717 backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Igor Bukanov
e4e3433d0c 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
34d2490a52 Bug 418290 - replace 'can not' with 'cannot'. r=dao 2012-02-08 14:16:51 +01:00
Panagiotis Koutsourakis
583eb38038 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
d374a04d69 Bug 712363, Part 5: Add back synchronous cert validation for Thunderbird, r=honzab 2012-01-31 08:05:11 -08:00