Bobby Holley
8e11aaf8c3
Bug 865948 - Return the appropriate value when the whitelist checks fail. r=gabor, a=lsblakk
2013-04-27 16:49:43 -07:00
Bobby Holley
49ef039ccc
Bug 807102 - Rev the CID on nsPrincipal. r=bz a=akeybl
2012-12-06 16:57:08 -08:00
Justin Lebar
924a927ebb
Bug 802366 - Prelude, part 4: Use and simplify nsScriptSecurityManager::GetDocShellCodebasePrincipal. r=bz, a=blocking-basecamp
2012-11-10 10:32:36 -08:00
Justin Lebar
97203c3031
Bug 802366 - Prelude, part 3: Make some methods on nsIPrincipal infallible, and improve documentation on other methods. r=bz, a=blocking-basecamp
2012-11-10 10:32:36 -08:00
Jonas Sicking
5aa7d21dd7
Bug 806587 - Restore getCodebasePrincipal since extensions use it. r=mounir, a=lsblakk
2012-10-30 22:24:41 +01:00
Mounir Lamouri
9f352931c2
Bug 777467 - Update the same-origin policy for principals to include appid/isinbrowserelement. r=bholley a=blocking-basecamp
...
--HG--
extra : rebase_source : eedf0c8dd23353d474fbfd1aca3061b05e8995d3
2012-10-26 17:53:46 +02:00
Ben Turner
92c6ce46ca
Bug 786295 - 'Delete IndexedDB related to an app when uninstalled' r=bz+khuey+sicking, a=blocking-basecamp+.
2012-10-23 09:31:19 -07:00
Bobby Holley
c584a7365c
Bug 789224 - Remove CAPS_HACKER debugging instrumentation. r=mrbkap a=blocking-basecamp
...
This stuff is super ugly and confusing. I think we're better off without it.
2012-10-25 17:05:53 +02:00
Bobby Holley
b646d04d7b
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
--HG--
rename : caps/idl/nsISignatureVerifier.idl => security/manager/ssl/public/nsISignatureVerifier.idl
2012-10-25 17:05:00 +02:00
Bobby Holley
955079dbf5
Bug 789224 - Remove principal capability and preference infrastructure. r=mrbkap
2012-10-25 17:04:59 +02:00
Bobby Holley
13fc3e31bc
Bug 789224 - Remove capability manager stuff in nsScriptSecurityManager. r=mrbkap
2012-10-25 17:04:59 +02:00
Mounir Lamouri
966758537c
Bug 799152 - nsExpandedPrincipal should use default extendedOrigin/appId/appStatus/isInBrowserElement. r=bholley a=blocking-basecamp
2012-10-11 13:54:54 +01:00
Patrick Wang
d4e9c05829
Bug 777384 - Test case r=jlebar
...
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Bobby Holley
5c2c69faa2
Bug 791526 - Temporarily add the |netscape.security| object back in to fix broken browser detection. r=bz
2012-09-27 16:38:51 +02:00
Aryeh Gregor
2f108ae5fb
Bug 779809 part 1 - Make [notxpcom] attributes an error; r=khuey
2012-08-09 11:31:14 +03:00
Bill McCloskey
c53e57f4b2
Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett)
2012-09-03 16:42:17 -07:00
Sid Stamm
a3f5cf2545
Bug 768029 - Apply CSP Policy to trusted and certified apps. Temporarily using a overly permissive policy for certified apps until Gaia is updated to handle the desired policy. r=sicking Parts by sicking, r=mounir
2012-09-25 16:28:17 -07:00
Fabrice Desré
50698ed746
Backout Bug 768029 because that breaks Gaia (see https://github.com/mozilla-b2g/gaia/issues/5177 )
2012-09-25 15:32:20 -07:00
Sid Stamm
cf8d576337
bug 768029 - Apply CSP Policy to trusted and certified apps. r=sicking. Parts by sicking, r=mounir.
2012-08-02 12:13:53 -07:00
Antonio Manuel Amaya Calvo
2f7fb97af8
Bug 773886: Prevent loading resources from app:// URIs from outside that app. r=sicking
2012-09-25 12:33:01 -07:00
Bobby Holley
a25701a3f7
Bug 792036 - Automated fixups. r=mccr8
...
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components | xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Nathan Froyd
f6fe9ef516
Bug 788704 - add telemetry for enablePrivilege; r=bholley
2012-09-17 17:03:42 -04:00
Tim Taubert
2bf799ddff
Bug 790911 - part 1 - add a flag to suppress error reporting when using checkLoadURIWithPrincipal(); r=bz
2012-09-13 16:16:17 +02:00
David Anderson
76ab271ead
Merge IonMonkey to mozilla-central. a=arewefastyet
...
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Bobby Holley
88f8597781
Bug 788914 - Recompute cross-compartment wrappers when UniversalXPConnect is enabled. r=mrbkap
2012-09-11 01:05:10 -07:00
David Anderson
09854d2b71
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
David Anderson
f6eca6c7f0
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
25cb077cb2
Merge from mozilla-central.
...
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
a77264d9fb
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Fabrice Desré
e0ef96f87d
Bug 781620 - Bridge the DOM webapps registry with nsIPrincipal::GetStatus() - Part 3 : updating tests. [r=mounir]
2012-08-29 07:31:10 -07:00
Fabrice Desré
aa62d317da
Bug 781620 - Bridge the DOM webapps registry with nsIPrincipal::GetStatus() - Part 1 : nsPrincipal changes [r=mounir]
2012-08-27 19:43:57 -07:00
Phil Ringnalda
13ff1ee8f8
Back out a08d28e8a86b (bug 768868), 9b96029a9cf0 and 010b5cb3576d (bug 781620) for test failures and leaks
2012-08-27 21:34:53 -07:00
Fabrice Desré
f8f5b09669
Bug 781620 - Bridge the DOM webapps registry with nsIPrincipal::GetStatus() - Part 1 : nsPrincipal changes [r=mounir]
2012-08-27 19:43:57 -07:00
David Anderson
3b9fed8952
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
a264d0ebc8
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
David Anderson
317676336c
Forbid JITing annotated frames (bug 763233, r=mrbkap,jandem).
2012-08-16 18:26:11 -07:00
David Anderson
f427cc76fa
Merge from mozilla-central.
2012-08-16 14:04:20 -07:00
David Anderson
e83e82b9dd
Remove JS_FrameIterator (bug 732653, r=luke,mrbkap).
2012-08-15 17:28:33 -07:00
Ryan VanderMeulen
cbe189e0c0
Merge m-c to inbound.
2012-08-20 20:21:35 -04:00
Ehsan Akhgari
e368dc9c85
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
Blair McBride
1383c37966
Bug 758950 - Test fix, test_bug292789.html should load xpinstallConfirm.js with a newer JS version. r=dveditz
2012-08-20 15:30:29 +12:00
Gregor Wagner
4b599bd464
Bug 781355 - Hook up mozBrowser to Permission Manager. r=jlebar
2012-08-15 10:22:30 -07:00
Mounir Lamouri
13f8b46e72
Bug 777072 - 3/7 - Update nsHostTable and nsHostEntry to make them aware of new security model. r=sicking,jlebar
2012-08-23 11:47:55 -07:00
Chris Jones
bb75bebb82
No bug: Merge backout on a CLOSED TREE r=bustage
2012-08-23 22:33:04 -07:00
Chris Jones
da27f385d7
Back out bug 777072, bug 619236, and bug 784878
2012-08-23 22:00:14 -07:00
Ryan VanderMeulen
9ad8ca8a9d
Merge the last PGO-green inbound changeset to m-c.
2012-08-23 22:06:49 -04:00
Mounir Lamouri
0e7ad1ee11
Bug 777072 - 3/7 - Update nsHostTable and nsHostEntry to make them aware of new security model. r=sicking,jlebar
2012-08-23 11:47:55 -07:00
Bobby Holley
6e5d279c63
Bug 757046 - Convert enablePrivilege into an insecure test-only construct (preffed off everywhere but in automation). r=bz
2012-08-23 11:45:28 -07:00