Chris Peterson
99957af4ec
Bug 1402666 - Part 1: Replace Replace("") with ReplaceLiteral(""). r=erahm
...
MozReview-Commit-ID: s2hrTSkBiJ
2017-09-15 19:22:58 -07:00
Amy Chung
fef08227cd
Bug 1286858 - Data storage and interface changes for SameSite cookies. r=valentin
2017-09-25 01:27:04 +08:00
Tom Tromey
48da5b7de4
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
2016-12-09 10:00:01 -10:00
Andrea Marchesini
46a9207d60
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Benjamin Smedberg
a0df451c2b
Bug 1313752 - Port binary tests in netwerk/test to gtest, or remove the ones that we currently aren't running. r=michal.novotny. Includes the following followups:
...
* TestUDPSocket wasn't initializing it's members properly, fixup by mcmanus
* Scope the netwerk TestCommon waiting to be non-global, and add assertions so that waiting is deterministic. r=mcmanus
MozReview-Commit-ID: 7jLgNIujrbu
2016-11-29 13:53:48 -05:00
amy
b377a90850
Bug 976073 - Part 1 : Implement spec, r=jdm r=dveditz
2016-11-09 17:14:21 +08:00
Andi-Bogdan Postelnicu
9b72d8be64
Bug 1311669 - replace string literals containing escaped characters with raw string literals. r=valentin
...
MozReview-Commit-ID: 2e9j55eNTop
2016-11-01 14:44:09 +02:00
Andrea Marchesini
7e87ed1cb2
Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes, r=smaug
2016-09-30 08:24:21 +02:00
Carsten "Tomcat" Book
f5ed025ff9
Backed out changeset 826cc48624a3 (bug 1280590) for windows m-oth and xpc crashes
2016-09-29 15:28:53 +02:00
Andrea Marchesini
eba096d2ae
Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes, r=smaug
2016-09-29 12:02:30 +02:00
Carsten "Tomcat" Book
f3e83b2a4f
Backed out changeset 885e361d4c73 (bug 1280590) for xpcshell bustage
2016-09-28 15:08:45 +02:00
Andrea Marchesini
4a05d29778
Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes, r=smaug
2016-09-28 08:05:12 +02:00
amy
a272c013ad
Bug 368964 - Cookie expires attribute should be absolute, not relative to server time. r=ehsan
2016-08-19 17:28:09 +08:00
Daniel Veditz
0b5dc028bf
Bug 1283368 - Implement cookie prefixes spec, r=valentin r=amchung
2016-06-29 22:42:36 -07:00
James Andreou
ebb9105232
Bug 1269361 - Add mPrivateBrowsingId to OriginAttributes r=ehsan,jdm
2016-06-02 17:03:11 -04:00
Tim Huang
e27851df84
Bug 1267910 - Part 1: Make the API getCookiesFromHost of the nsICookieManager2 OriginAttributes-aware. r=jdm
2016-05-25 11:54:21 +08:00
Wes Kocher
18fc6fa5e3
Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
...
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Tim Huang
bfd3314314
Bug 1267910 - Part 1: Make the API getCookiesFromHost of the nsICookieManager2 OriginAttributes-aware. r=jdm
2016-05-13 02:29:00 -04:00
Andrea Marchesini
0d6b911fbc
Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm
2016-04-10 05:46:07 +01:00
Ryan VanderMeulen
f16cc2b8b7
Backed out changeset 7d5f1e9ce04c (bug 1259169) for various cookie-related crashes and test failures.
2016-04-09 15:36:07 -04:00
Andrea Marchesini
c505892d92
Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm
2016-04-09 19:09:49 +01:00
Carsten "Tomcat" Book
4643fcd169
Backed out changeset 74330da56b82 (bug 1259169) for assertion failures in nsCookieService.cpp:2390
2016-04-08 14:47:39 +02:00
Andrea Marchesini
8100cd23b7
Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm
2016-04-08 12:38:15 +01:00
Ted Mielczarek
76c586c944
bug 1259753 - fix some C++ unittests to use ScopedXPCOM to init XPCOM. r=ms2ger
...
MozReview-Commit-ID: B6xdlB9Di0y
2016-03-25 10:04:37 -04:00
J. Ryan Stinnett
f6d23d0dde
Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
...
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement. Other
methods that pass these values around also have name changes.
Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc. No changes are made to any
serialization formats. Only runtime method and variable names are updated.
No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations. These are corrected in subsequent patches
focused on behavior.
MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Andrea Marchesini
d5bd12484c
Bug 1245184 - Update mochitests, r=me
2016-02-25 16:41:13 +01:00
Andrea Marchesini
19f81ae00d
Bug 1245184 - nsICookieManager.removeNative for TestCookie cppunittest, r=smaug
2016-02-25 16:41:13 +01:00
Andrea Marchesini
5685489215
Bug 1245184 - nsICookieManager.remove should use the OriginAttributes, r=sicking
2016-02-25 16:41:13 +01:00
Carsten "Tomcat" Book
a50632893b
Backed out changeset 27f3968ae8b2 (bug 1245184)
2016-02-19 15:55:23 +01:00
Andrea Marchesini
9111a1ecc9
Bug 1245184 - CookieManager should remove cookies only if they match the userContextId, r=sicking
2016-02-19 14:49:50 +01:00
M Hamdy
0f4a8fec20
Bug 606655 - delete cookies UI option AskMeEveryTime and its related comments and tests. r=mak
2015-10-08 09:13:00 +02:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Birunthan Mohanathas
1da5b2d71a
Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...). r=ehsan
2014-05-22 06:48:50 +03:00
Ehsan Akhgari
a1ae335490
Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus
2013-09-17 12:38:55 -04:00
Isaac Aggrey
df5a7d83f1
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26
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
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ms2ger
1127c1998c
Bug 605180 - Fix build warnings in netwerk/. r=jduell
2012-04-07 14:25:00 -07:00
Mark Banner
b4dcced098
Bug 557047 - Replace mailnews specific ifdef (MOZ_MAIL_NEWS) in cookie code with tests for a protocol flag. r=sdwilsh,sr=bzbarsky
2011-12-05 12:35:23 +00:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Adam Barth
44a77d7f5d
Bug 610218 - Quotes in "path" for Set-Cookie are taken literally; r=dwitte
2011-04-14 15:58:42 -04:00
Dan Witte
c95f9338cc
Fix bug 616264. r=ehsan,sdwilsh, a=beta9+
2010-12-22 13:50:56 -08:00
Dan Witte
3dc8e1b385
Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 5: Replace expired cookies eagerly, and make expired cookies visible in API results. r=sdwilsh, a=betaN+
2010-10-19 17:24:53 -07:00
Dan Witte
ca6024af55
Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 2: add triple index. r=sdwilsh, a=betaN+
2010-10-19 17:24:52 -07:00
Dan Witte
6a55bacdc3
Back out all cookie changes due to bug 602746. a=omgeverythingisbroken
2010-10-07 19:02:30 -07:00
Dan Witte
c634373870
Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 2: add triple index. r=sdwilsh, a=beta8+
2010-10-07 14:00:17 -07:00
Dan Witte
6b4802f627
Remove unnecessary sleep(). No bug, test-only.
2010-09-16 13:21:12 -07:00