Commit Graph

12500 Commits

Author SHA1 Message Date
Andrea Marchesini
ec610d5b7e Bug 1409329 - NS_NewBufferedOutputStream should take the ownership of the outputStream, r=smaug 2017-10-24 14:38:23 +02:00
Sebastian Hengst
af53b8aad8 merge mozilla-central to autoland. r=merge a=merge 2017-10-23 23:52:54 +02:00
Sebastian Hengst
0021c0caf6 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4FPQxtXkXoF
2017-10-23 23:48:36 +02:00
ffxbld
9224f75aad No bug, Automated HPKP preload list update from host bld-linux64-spot-032 - a=hpkp-update 2017-10-23 11:21:33 -07:00
ffxbld
8322ac2945 No bug, Automated HSTS preload list update from host bld-linux64-spot-032 - a=hsts-update 2017-10-23 11:21:30 -07:00
ffxbld
6a17c316ba No bug, Automated HPKP preload list update from host bld-linux64-spot-036 - a=hpkp-update 2017-10-22 11:23:23 -07:00
ffxbld
eabd4bce16 No bug, Automated HSTS preload list update from host bld-linux64-spot-036 - a=hsts-update 2017-10-22 11:23:19 -07:00
ffxbld
3f2fe4b3fa No bug, Automated HPKP preload list update from host bld-linux64-spot-031 - a=hpkp-update 2017-10-22 11:10:23 -07:00
ffxbld
cc6a84456b No bug, Automated HSTS preload list update from host bld-linux64-spot-031 - a=hsts-update 2017-10-22 11:10:20 -07:00
Sebastian Hengst
fc5faa6d80 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DmqQMMkwBYJ
2017-10-22 11:33:04 +02:00
ffxbld
198fe54503 No bug, Automated HPKP preload list update from host bld-linux64-spot-035 - a=hpkp-update 2017-10-21 11:24:10 -07:00
ffxbld
3aeaefef0b No bug, Automated HSTS preload list update from host bld-linux64-spot-035 - a=hsts-update 2017-10-21 11:24:06 -07:00
ffxbld
7f7b3b43f6 No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2017-10-20 22:50:42 -07:00
ffxbld
a84b3aab6c No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2017-10-20 22:50:38 -07:00
Sebastian Hengst
7e9a8a9bc9 merge mozilla-central to autoland. r=merge a=merge 2017-10-21 11:00:23 +02:00
David Keeler
3961574fa2 bug 1381154 - remove smartcard monitoring threads r=jcj,mgoodwin
Modified from bug 1248818 comment 11:
Before this patch, if a user had a smart card (PKCS#11 device) with removable
slots, Firefox would launch a thread for each module and loop, calling
SECMOD_WaitForAnyTokenEvent to be alerted to any insertions/removals. At
shutdown, we would call SECMOD_CancelWait, which would cancel any waiting
threads. However, since that involved calling 3rd party code, we really had no
idea if these modules were behaving correctly (and, indeed, they often weren't,
judging by the shutdown crashes we were getting).
The real solution is to stop relying on PKCS#11, but since that's unlikely in
the near future, the next best thing would be to load these modules in a child
process. That way, misbehaving modules don't cause Firefox to hang/crash/etc.
That's a lot of engineering work, though, so what this patch does is avoids the
issue by never calling SECMOD_WaitForAnyTokenEvent (and thus we never have to
call SECMOD_CancelWait, etc.). Instead, every time Firefox performs an operation
that may be affected by a newly added or removed smart card, it first has NSS
refresh its view of any removable slots. This is similar to how we ensure the
loadable roots module has been loaded (see bug 1372656).

MozReview-Commit-ID: JpmLdV7Vvor

--HG--
extra : rebase_source : d3503d19fa9297106d661a017a38c30969fa39b4
2017-09-28 14:27:21 -07:00
Masatoshi Kimura
dbd92543c6 Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj
MozReview-Commit-ID: 7JoD4VYzZp3

--HG--
extra : rebase_source : 5db437f1c34608aa223916874d62b48c59baeae8
2017-10-21 23:53:02 +09:00
Tom Ritter
387fbfc8b6 Bug 1406736 Match MinGW's macro so we declare gmtime_r under MinGW too r=froydnj
MozReview-Commit-ID: 2U2ToeyVUUt

--HG--
extra : rebase_source : a4ebd43f4529cc6b815f5bb849021a994dda959f
2017-10-09 00:18:19 -05:00
Sebastian Hengst
2592ce224a merge mozilla-central to autoland. r=merge a=merge 2017-10-20 11:45:03 +02:00
Sebastian Hengst
bc6dddb88b merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BY4c5BIOF81
2017-10-20 11:37:54 +02:00
ffxbld
dec4e39e21 No bug, Automated HPKP preload list update from host bld-linux64-spot-326 - a=hpkp-update 2017-10-19 22:45:36 -07:00
ffxbld
e46be631b4 No bug, Automated HSTS preload list update from host bld-linux64-spot-326 - a=hsts-update 2017-10-19 22:45:32 -07:00
ffxbld
1c4da216e0 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-10-19 10:44:01 -07:00
ffxbld
e93bac77bf No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-10-19 10:43:57 -07:00
Sebastian Hengst
bf793df477 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HasKw28SN45
2017-10-19 11:26:22 +02:00
ffxbld
161b9f45ac No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-10-18 23:02:08 -07:00
ffxbld
9e31463fe9 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-10-18 23:02:04 -07:00
Ryan VanderMeulen
cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Sebastian Hengst
3e8ed7e2b5 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: D8YSuNsBw9o
2017-10-19 00:04:37 +02:00
ffxbld
d0448c9700 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-10-18 10:44:21 -07:00
ffxbld
e71bbf3687 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-10-18 10:44:17 -07:00
Sebastian Hengst
73dd633569 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JvxL3r663v
2017-10-18 11:42:41 +02:00
ffxbld
ef0a21cfb7 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-10-17 22:48:33 -07:00
ffxbld
618a00c142 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-10-17 22:48:30 -07:00
Nicholas Nethercote
78030c0e7b Bug 1409598 - Change nsIXPCScriptable::className and nsIClassInfo::{contractID,classDescription} from string to AUTF8String. r=froydnj.
This lets us replace moz_xstrdup() of string literals with AssignLiteral(),
among other improvements.

--HG--
extra : rebase_source : 9994d8ccb4f196cf63564b0dac2ae6c4370defb4
2017-10-18 13:17:26 +11:00
ffxbld
dca019c94b No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2017-10-17 10:44:24 -07:00
ffxbld
64dcdb175e No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2017-10-17 10:44:21 -07:00
Sebastian Hengst
32f7c8fec3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Sebastian Hengst
af89102d41 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JRsSap6SwOZ
2017-10-17 11:42:24 +02:00
ffxbld
0498069c9a No bug, Automated HPKP preload list update from host bld-linux64-spot-315 - a=hpkp-update 2017-10-16 23:06:00 -07:00
ffxbld
962f3aa143 No bug, Automated HSTS preload list update from host bld-linux64-spot-315 - a=hsts-update 2017-10-16 23:05:56 -07:00
ffxbld
e5bbda30b9 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-10-15 22:50:12 -07:00
ffxbld
28ef948b68 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-10-15 22:50:09 -07:00
ffxbld
40b456626e No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-10-15 10:33:36 -07:00
ffxbld
93cacab1f5 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-10-15 10:33:33 -07:00
ffxbld
39f4a652d1 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-10-14 22:59:04 -07:00
ffxbld
0c0219f6c4 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-10-14 22:59:01 -07:00
ffxbld
01970ed92d No bug, Automated HPKP preload list update from host bld-linux64-spot-327 - a=hpkp-update 2017-10-14 10:38:55 -07:00
ffxbld
957ff16de8 No bug, Automated HSTS preload list update from host bld-linux64-spot-327 - a=hsts-update 2017-10-14 10:38:51 -07:00
ffxbld
b864294e1e No bug, Automated HPKP preload list update from host bld-linux64-spot-329 - a=hpkp-update 2017-10-13 23:34:33 -07:00