|
|
|
[
Permlink
| « Hide
]
Dan Fabulich - 10/Nov/07 03:29 PM
In revision 2081 I checked in a workaround that uses "cookie" as the cookie prefix instead of the real Vista cookie prefix "cookie:".
<*shakes head*>
I can't even begin to describe how much time you just saved me with that bit of knowledge about the colon. Hmmmph! So -- in terms of the user cookies then, on WinXP hiding the ones that showed up in the $USERPROFILE/Cookies directory solved our problem where one test didn't delete its cookies and a successive test tried to log into the same site with a different username. But on Vista, that directory is not accessible (unless that's just a configuration issue?), which is why I tried the Temporary Internet Files approach. If you have a smarter way of approaching this, I'm all ears :) Thanks, -Jen the change committed in revision 2090 should fix this problem and addresses Dan's concerns above.
The same tests fail for version 2089 as do in 2090, and all unit tests pass, on both linux and winxp systems. I should point out that the winxp tests fail only on jason's vmware instance, and the linux tests that fail are related to SRC-370 Changes the approach used to one that actually works properly with WinXP and Vista.
Previously the wrong vista cookies directory was being checked, where in reality the one linked to the (not accessible) %USERPROFILE/Cookies directory is the correct folder. Furthermore, only hides files in these directories ending in '.txt', and does not try to create any file with a colon in the name :P. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||