Commit Graph

27 Commits

Author SHA1 Message Date
Sid Stamm
37ef5b48e5 Bug 991474 - Remove selfURI from AppendPolicy after removing the old backend. (r=ckerschb,grobinson) 2014-07-30 14:37:22 -07:00
Sid Stamm
20bf669758 Bug 991468 - Remove isInitialized after we remove the old parser. (r=grobinson,ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
0019b6c74f Bug 994872 - Remove documentPrincipal from nsIContentSecurityPolicy::SetRequestContext. (r=ckerschb) 2014-07-30 14:37:22 -07:00
Christoph Kerschbaumer
43ff381d61 Bug 1005225 - CSP in C++: SImplify shouldProcess for CSP (r=sstamm) 2014-07-07 10:15:36 -07:00
Wes Kocher
b988da0782 Backed out 1 changesets (bug 1005225) for Gu permared
Backed out changeset 452d8502bea1 (bug 1005225)
* * *
Backed out 2 changesets (bug 1005225, bug 1030936) for Gu permared

Backed out changeset 32a1fa1b28d5 (bug 1030936)
Backed out changeset 61d41b381f30 (bug 1005225)
2014-07-15 16:18:50 -07:00
Christoph Kerschbaumer
e6a49546dc Bug 1005225: Follow up, changed uuid in the wrong idl (r=ckerschb) 2014-07-15 13:59:59 -07:00
Christoph Kerschbaumer
fb1a5cb7eb Bug 1005225 - CSP in C++: SImplify shouldProcess for CSP (r=sstamm)
--HG--
extra : rebase_source : a0e2bacb5376afde0ccc0487da6e3ceb70bfb09c
2014-07-07 10:15:36 -07:00
Sid Stamm
40641a8157 Bug 991466 - remove the specCompliant flag from CSP since it's no longer needed. (r=ckerschb,jst)
--HG--
extra : rebase_source : 754264fd1721946a78c461e08d210bb5a1fdbda4
2014-07-07 11:59:37 -07:00
Christoph Kerschbaumer
20d36d770e Bug 951457 - Create C++ CSP Parser and policy classes, part 1 - backend stubs r=sstamm, r=grobinson 2014-04-01 09:35:22 -07:00
Sid Stamm
53b4c0d99c Bug 911547 - make nsIContentSecurityPolicy serializable and trigger read/write from nsPrincipal. r=jst,grobinson
--HG--
extra : rebase_source : 3e1846e15538729f3c94f5c1470959b5d7b31f0f
2014-01-23 15:34:59 -08:00
Alexandre Poirot
2bb95c6160 Bug 949549 - Ensure that CSP warnings reach webconsole for document hosted on app:// protocol. r=sstamm 2014-01-21 11:28:58 -05:00
Garrett Robinson
3ceb749a52 Bug 883975 - CSP 1.1 hash-source. r=sstamm, r=dholbert, r=mrbkap 2014-01-02 11:14:06 -08:00
Garrett Robinson
fcd3642ac2 Bug 855326 - CSP 1.1 nonce-source for scripts and styles r=mrbkap r=dholbert r=geekboy 2013-11-08 15:44:39 -08:00
Daniel Holbert
a943af2236 backout 57213b64023b (bug 855326) for build bustage in debug builds
CLOSED TREE
2013-11-08 11:22:36 -08:00
Garrett Robinson
99a316d224 Bug 855326 - CSP 1.1 nonce-source for scripts and styles. r=mrbkap r=dholbert r=geekboy 2013-11-08 09:20:43 -08:00
Sid Stamm
3d109c3157 bug 836922 - support mulitiple CSP policies at the same time. r=jst,grobinson 2013-09-12 09:25:32 -07:00
Ian Melven
48879dbfb8 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Ryan VanderMeulen
dcdda90f46 Backed out 2 changesets (bug 763879, bug 842657) for landing with an r-. DONTBUILD
Backed out changeset 254c1ac4ab8b (bug 842657)
Backed out changeset 58a2011beeac (bug 763879)
2013-05-16 11:15:07 -04:00
Ian Melven
6937a45eae Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Sid Stamm
9cffa13ce4 Bug 687086 - change nsIContentSecurityPolicy to return two values, shouldBlock and shouldReportViolation. r=bz 2012-10-15 13:54:58 -07:00
Ian Melven
dea7953b9b Bug 783049 - CSP : use existing/old parser for X-Content-Security-Policy header, new/CSP 1.0 spec compliant parser for Content-Security-Policy header - Part 1 (r=bz) 2013-01-09 10:57:03 -08:00
Ehsan Akhgari
0fd9123eac 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
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brandon Sterne
87a8f25476 Bug 600584 - add more detail to CSP violation report logging, r=jst, a=LegNeato 2011-01-31 10:09:44 -08:00
L. David Baron
f2a1d900ab Backed out changeset f0d3b958d38d (bug 552523) for causing 137-140 mochitest failures on the two mochitest runs (both Windows) that have completed so far. 2010-07-02 18:15:13 -07:00
Sid Stamm
15ea2fb656 Bug 552523 - enable CSP active and report-only modes simultaneously, r=dveditz 2010-07-02 15:26:35 -07:00
Sid Stamm
32f5ce7b68 bug 515433: CSP Core patch by sstamm and bsterne, r=mrbkap, sr=jst 2010-01-21 10:41:24 -08:00