Nicholas Nethercote
b756f6b258
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
David Dahl
7a1662853b
Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler
2013-08-06 21:46:05 -05:00
Ryan VanderMeulen
57186da9cf
Backed out changeset a4dd0dc4e354 (bug 824652) for Android M1 orange.
2013-08-05 19:21:17 -04:00
David Keeler
f9040f2187
bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst
2013-08-02 16:23:18 -07:00
David Keeler
9cbdeb8d74
bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
...
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-08-02 15:48:37 -07:00
David Dahl
18d09d5877
Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler
2013-08-05 16:15:22 -05:00
Ryan VanderMeulen
f5e9dc8c73
Backed out changesets 5f8a88c6d0c8 and 97fcb5a154d8 (bug 887052) for OSX mochitest-other orange.
...
--HG--
rename : netwerk/base/public/nsISiteSecurityService.idl => netwerk/base/public/nsIStrictTransportSecurityService.idl
rename : security/manager/boot/src/nsSiteSecurityService.cpp => security/manager/boot/src/nsStrictTransportSecurityService.cpp
rename : security/manager/boot/src/nsSiteSecurityService.h => security/manager/boot/src/nsStrictTransportSecurityService.h
2013-08-05 16:18:06 -04:00
David Keeler
aa164754ac
bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst
2013-07-01 10:49:40 -07:00
David Keeler
2333ac300d
bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
...
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-07-01 09:30:11 -07:00
Carsten "Tomcat" Book
cda28b85ed
Merge b2g-inbound to m-c
2013-08-05 11:22:48 +02:00
ffxbld
24ecf1a41c
No bug, Automated HSTS preload list update from host bld-linux64-ec2-042 - a=hsts-update
2013-08-03 03:26:02 -07:00
Yoshi Huang
3a8a76e455
Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz
2013-08-01 14:57:25 +08:00
Ehsan Akhgari
3f83ec4d06
Bug 579517 follow-up: Remove NSPR types that crept in
2013-08-02 12:09:54 -04:00
Yoshi Huang
e48ec3affe
Bug 899946 - strange call to crypto.generateCRMFRequest from test_bug882865.html. r=Ms2ger
2013-07-31 18:34:14 +08:00
Ehsan Akhgari
5ee21d6d3f
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
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 "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Bobby Holley
c00f6379ec
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Adrian Lungu
5e03b65bf5
Bug 887984 - Send telemetry data from NTLM Init() methods. r=honzab
2013-07-25 09:54:11 -07:00
Trevor Saunders
6b3c839046
backout bug 886526 because it probably made us use a lot more memory to link on windows
2013-07-29 11:03:21 -04:00
Olli Pettay
5ebee36665
Bug 892588 - crash in nsNSSASN1Sequence::~nsNSSASN1Sequence, r=bsmith
...
--HG--
extra : rebase_source : a3d1a29f0ebcfb05462be3a46b38b7be08163379
2013-07-29 19:46:52 +03:00
ffxbld
264abea880
No bug, Automated HSTS preload list update from host bld-linux64-ec2-489 - a=hsts-update
2013-07-27 03:17:36 -07:00
David Keeler
2e45a9aaf4
bug 846825 - refactor, make HSTS header parser more spec-conformant r=cviecco r=grobinson
2013-07-25 16:13:50 -07:00
Joshua Cranmer
de65691b85
Bug 884061 - Part 3s: Use NS_DECL_THREADSAFE_ISUPPORTS in security/, r=bsmith
...
--HG--
extra : rebase_source : 2b3329c361a71c49ef7c0793006c7dbb6f855e28
2013-07-18 21:24:14 -05:00
Cameron McCormack
d12c9b52c0
Backout bdceed703766 (bug 887984) for Windows build failures.
2013-07-23 13:43:45 +10:00
Adrian Lungu
8972a584c5
Bug 887984 - Send telemetry data from NTLM Init() methods. r=mayhemer
2013-07-18 12:00:04 -07:00
Ed Morley
3d41b8763b
Merge latest green inbound changeset and mozilla-central
2013-07-22 14:45:43 +01:00
ffxbld
cc6e750a6a
No bug, Automated HSTS preload list update from host bld-linux64-ec2-397 - a=hsts-update
2013-07-20 03:37:24 -07:00
David Keeler
372e88a5ab
bug 882865 - cryptojs key gen cleanup: use EqualsLiteral() r=bsmith r=Ms2ger r=khuey
2013-07-12 10:00:22 -07:00
David Keeler
49010bf129
bug 892017 - fix incorrect usage of PLArenaPool in OCSPStaplingServer r=bsmith
2013-07-19 11:54:10 -07:00
David Keeler
7ffd612afa
Back out a5a5d2c176f7 (bug 882865) because of Android test failures on a CLOSED TREE
2013-07-18 15:55:10 -07:00
David Keeler
3b48f89fba
bug 882865 - cryptojs key gen cleanup: use EqualsLiteral() r=bsmith r=Ms2ger
2013-07-12 10:00:22 -07:00
Camilo Viecco
2d31d4e2d3
Bug 883682: Enable EV test cert only in debug builds. r=bsmith
...
--HG--
extra : rebase_source : 0f14273c6f6d4da4164d7beeb3fd21bd6def1fd0
2013-07-03 08:24:09 -07:00
Ed Morley
58d740e5a9
Merge latest green inbound changeset and mozilla-central
2013-07-15 10:48:54 +01:00
ffxbld
001a9a5108
No bug, Automated HSTS preload list update from host bld-centos6-hp-017 - a=hsts-update
2013-07-13 03:11:47 -07:00
Johnny Stenback
2ac1598ef4
Bug 893290 - Fix busted error reporting in ssl code. r=dougt
2013-07-13 07:35:30 -07:00
Kai Engert
42d3559e40
Bug 531067: Remove hard-coded default OCSP responders on trunk, r=briansmith
...
--HG--
extra : rebase_source : 23bc45569bba9f417a51c13530f0319144f07b03
2013-07-11 23:33:55 -07:00
David Keeler
5b43228ed9
bug 889831 - always call SSL_PeerStapledOCSPResponses r=bsmith
2013-07-08 14:56:08 -07:00
Brian Smith
6964de8aed
Bug 820887: Fix early return in HandshakeCallback, r=keeler
...
--HG--
extra : rebase_source : e60d86d2b796bda0d44fe640663261cbebede495
2013-05-15 14:32:03 -07:00
Emanuel Hoogeveen
a278970cd3
Bug 890714 - Fix mixed line endings. r=joe, r=jesup
2013-07-08 16:33:15 -04:00
Josh Matthews
3847f5bbf0
Bug 889885 - Avoid releasing scripted observers from PSM off the main thread. r=bsmith
2013-07-08 13:43:31 -04:00
Trevor Saunders
6be251fe42
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Ehsan Akhgari
c511873558
Bug 886183 - Remove three unused functions from nsIdentityChecking.cpp; r=bsmith
2013-07-08 07:11:08 -04:00
ffxbld
6f6a11e51b
No bug, Automated HSTS preload list update from host bld-linux64-ix-019 - a=hsts-update
2013-07-06 03:26:18 -07:00
Ryan VanderMeulen
f203259101
Merge m-c and inbound.
2013-07-03 16:39:33 -04:00
ffxbld
14f6c77441
No bug, Automated HSTS preload list update from host bld-linux64-ec2-324 - a=hsts-update
2013-07-03 12:25:37 -07:00
Masatoshi Kimura
176efd0f7c
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-04 00:56:26 +09:00
Patrick McManus
9c44286c03
bug 658222 - Enable TLS False Start (PSM) r=bsmith
...
--HG--
extra : rebase_source : ac9f77ba73a0a902f4b6aa8d52add7d52efb1b53
2013-06-28 16:58:28 -04:00
Justin Lebar
6c46d0633d
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Ryan VanderMeulen
0d9d01968b
Backed out changeset d155557b651c (bug 888323) for bustage.
...
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
b75e2ac8e6
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-03 02:08:01 +09:00
Nathan Froyd
37897413c5
Bug 857076: fix various build warnings in security/manager/ssl/src/, r=bsmith
...
--HG--
extra : rebase_source : 3287d494065dfeb5b178c6801b83ac400ca6ef06
2013-06-24 00:57:51 -07:00
David Keeler
dd6c34c30d
bug 700693 - fix ocsp stapling test timeouts r=bsmith
2013-06-21 15:15:27 -07:00
David Keeler
ad7bcb2bf7
bug 700693 - OCSP stapling testing r=bsmith
2013-06-20 11:41:41 -07:00
David Keeler
cc2926b0a1
bug 700693 - OCSP stapling PSM changes r=bsmith
2013-06-17 16:45:49 -07:00
Ehsan Akhgari
9c3393692c
Remove two unused variables in nsNSSCertificateDB.cpp, no bug
2013-06-23 20:24:03 -04:00
Brian Smith
a0b411af4b
Bug 879137, Part 3: Move PSMContentListener to its own source file, r=keeler
2013-06-22 15:57:15 -07:00
Brian Smith
b4541942c3
Bug 879137, Part 2: Remove unnecessary manual registration of PSM content listeners, r=keeler
2013-06-22 15:53:46 -07:00
Brian Smith
59685570e0
Bug 867465: Remove the "Revocation Lists" feature, r=cviecco, r=mattn
2013-06-02 23:37:47 -07:00
Brian Smith
7f270022df
Backout 308e3cd73c5f, cc9980cb3db2, f5591bedc40e due to build failure
2013-06-22 16:45:47 -07:00
Brian Smith
037dadff86
Bug 879137, Part 3: Move PSMContentListener to its own source file, r=keeler
...
--HG--
extra : rebase_source : d1100a79a84cbf3d375406aa00d71ab7bda5d767
extra : histedit_source : 37615676f796372cbe9d5942be2200e979679bcb
2013-06-22 15:57:15 -07:00
Brian Smith
516db1751a
Bug 879137, Part 2: Remove unnecessary manual registration of PSM content listeners, r=keeler
...
--HG--
extra : rebase_source : cf0a8e3de83d707097341cf5068ecda04f4c15ac
extra : histedit_source : db7f47114779e5ef76de484cc79e458eb2663348
2013-06-22 15:53:46 -07:00
Brian Smith
e687999205
Bug 867465: Remove the Revocation Lists feature, r=cviecco, r=mattn
...
--HG--
extra : rebase_source : f17ab5ff048777e059bc287f01fe4a0d80965966
extra : histedit_source : 24c6c568f419d4eeeace0b0b8e1e0ce71d9b0cd8
2013-06-02 23:37:47 -07:00
ffxbld
540b2609f7
No bug, Automated HSTS preload list update from host bld-linux64-ec2-383 - a=hsts-update
2013-06-22 03:33:48 -07:00
Ryan VanderMeulen
5e00b193a7
Merge m-c to inbound.
2013-06-20 20:12:31 -04:00
Ryan VanderMeulen
211dccca9c
Backed out changesets 448ba56d9ba4 and 8cea4b4646ef (bug 700693) for intermittent failures.
2013-06-20 19:50:13 -04:00
David Keeler
bd2a95a26c
bug 700693 - OCSP stapling testing r=bsmith
2013-06-20 11:41:41 -07:00
David Keeler
296e40dedd
bug 700693 - OCSP stapling PSM changes r=bsmith
2013-06-17 16:45:49 -07:00
David Keeler
7127cf3498
bug 883582 - use only domains likely to stay on the HSTS preload list in the test r=bsmith
2013-06-20 13:12:23 -07:00
Brian O'Keefe
5f8b5163e8
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Brian Smith
71a4c34abc
Bug 879137: Move nsCryptoHash and nsCryptoHMAC to their own source file, r=cviecco
...
--HG--
extra : rebase_source : 71b6093529a6e9ec7749cb6f48911d441984b348
2013-06-03 00:08:26 -07:00
Brian Smith
e02ea7cd75
Bug 879135, Part 2: Remove mScriptSecurityManager from nsNSSComponent, r=cviecco
...
--HG--
extra : rebase_source : 3589d5180f3368ec22d67342edb5d7d79fde87d7
2013-06-03 00:30:09 -07:00
Brian Smith
aea6f290f0
Bug 879135, Part 1: Remove nsNSSComponent::RememberCert, r=cviecco
...
--HG--
extra : rebase_source : 4dfe0052a653ceccd04192c2ef0f152983cbc2d2
2013-06-02 23:55:40 -07:00
Brian Smith
97dd8c7835
Bug 867432: Remove nsIX509Cert.verifyForUsage, r=cviecco, sr=honzab
...
--HG--
extra : rebase_source : ef938f6272842de4bf42132bab5df11bac45d200
2013-04-30 17:30:47 -07:00
Brian Smith
946c5b246a
Bug 879134: Remove obsolete CFM migration code from nsNSSComponent, r=cviecco, r=wtc
...
--HG--
extra : rebase_source : c2460045b48112e5e4445dd757839f636b7846d5
2013-06-02 23:44:34 -07:00
Brian Smith
63a442addc
Bug 832848: Removed unused site identity block tooltip logic from PSM, r=dolske
...
--HG--
extra : rebase_source : 1793e526272622d811e45d0f4b2f0460471f4501
2013-02-02 17:21:45 -08:00
Phil Ringnalda
c5435f3d91
Back out f691f7abfe33 (No bug) Automated HSTS preload list update that broke HSTS preload
2013-06-15 07:40:53 -07:00
ffxbld
cfd74f73bc
No bug, Automated HSTS preload list update from host bld-linux64-ix-037 - a=hsts-update
2013-06-15 03:25:15 -07:00
Ehsan Akhgari
0cae3ba5bd
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Antonio M. Amaya
9344a1f60d
Bug 841415 - Fix nss_ctypes.py so it works on Darwin. r=bsmith
2013-02-14 18:13:34 +01:00
Martin Stransky
f672df1462
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00
ffxbld
921d699979
No bug, Automated HSTS preload list update from host bld-linux64-ec2-615 - a=hsts-update
2013-06-08 03:26:28 -07:00
Devdatta Akhawe
2959e4f1a9
Bug 878606 - Only measure SSL UI clicks for top level frames. r=felipc
2013-06-04 15:02:24 -07:00
Bobby Holley
30b74b2c6b
Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap
2013-06-04 19:56:41 -07:00
ffxbld
848d2b1391
No bug, Automated HSTS preload list update from host bld-centos6-hp-017 - a=hsts-update
2013-06-01 03:23:56 -07:00
Camilo Viecco
1cbdee58d5
Bug 877441: Add head.js in psm xpcshell tests to avoid copy-paste. r=bsmith
2013-05-31 13:12:15 -07:00
Josh Matthews
ebd54c0d61
Bug 873615 - Make certificate verification avoid addrefing JS-wrapped listeners off the main thread. r=bsmith
2013-05-17 15:28:18 -04:00
Cykesiopka
23ca8f9ffa
Bug 273949 - Replace cacertexists.xul with a call to nsIPromptService::alert. r=bsmith, sr=dolske
2013-05-29 20:56:09 -04:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
ffxbld
46220b7862
No bug, Automated HSTS preload list update from host bld-centos6-hp-018 - a=hsts-update
2013-05-25 03:20:55 -07:00
Bobby Holley
91448a9dac
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
54ef3d2952
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Boris Zbarsky
85b06d58a3
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Phil Ringnalda
f4ddf63b10
Merge the last PGO-green cset from m-i to m-c
2013-05-18 18:07:46 -07:00
ffxbld
80e4613996
No bug, Automated HSTS preload list update from host bld-linux64-ix-019 - a=hsts-update
2013-05-18 03:18:40 -07:00
Gregory Szorc
14c4938355
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Camilo Viecco
03f0c84769
Bug 841569 - Cannot install image-uploader (fix handling of large filanames on b2g apps) r=bsmith
2013-05-16 18:45:30 -07:00
Ted Mielczarek
110919af49
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Bobby Holley
6844e7c859
Bug 871301 - Remove JS_GetGlobalObject from nsCrypto and nsDirectoryViewer. r=bz
2013-05-14 10:16:52 -07:00
Joey Armstrong
2dbf79e9a4
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00