Make TestMailCookie work again
Categories
(MailNews Core :: Testing Infrastructure, defect)
Tracking
(Not tracked)
People
(Reporter: jorgk-bmo, Assigned: jorgk-bmo)
References
Details
Attachments
(2 files)
|
1.25 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
|
1.97 KB,
patch
|
aceman
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1543219 +++
Executing mach gtest TestMailCookie* fails again after making it work in bug 1543219 :-(
I haven't looked why it fails now, but it would be due to some cookie changes in M-C.
| Assignee | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 2•6 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/067075632f1f
Temporarily disable TestMailCookie gtests. r=jorgk
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 4•6 years ago
|
||
Fortunately the thing still works after a string tweak. I've never heard of VoidCString(), but that's what M-C use in their test here:
https://searchfox.org/mozilla-central/rev/153feabebc2d13bb4c29ef8adf104ec1ebd246ae/netwerk/test/TestCookie.cpp#77
First reviewer wins ;-)
| Assignee | ||
Comment 6•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/b72fde123f32
Don't call nsDependentCString(nullptr) since it crashes TestMailCookie. r=aceman
| Assignee | ||
Comment 8•6 years ago
|
||
Looks like I messed it up myself here when changing to "smart strings":
https://hg.mozilla.org/comm-central/rev/f22dd6d49717e8484fe1cc5994e0c3f844193a3e#l3.31
Description
•