[icedtea-web][rfc] Reproducer for PR588, java cookie jar cookies being stored properly
Adam Domurad
adomurad at redhat.com
Thu Aug 9 13:38:10 PDT 2012
[Sorry for the independent post - some of my emails from distro-pkg-dev
seem to have fallen off the face of the earth and I'm not sure how I
could reply using the archive. ]
As Jiri suggested, I have expanded the reproducer to not only use
showDocument with session cookies. The tests now also test multiple tabs
being open, and access after the browser has been closed (does not work
for session cookies). Permanent cookies are tested for all of these
tests.
Javaws tests were not included because it was difficult for me to
produce behaviour where a webstart-like application created cookies and
was able to read them ... more work to do here later. But for now, these
should be sufficient for testing the aspects of PR588
ChangeLog:
2012-08-09 Adam Domurad <adomurad at redhat.com>
Reproducers for PR588, sets persistent and session cookies in the
cookie jar and tries to read them with various means.
* tests/reproducers/signed/SavingCookies/resources/CheckCookie.html:
Print the cookie store contents
*
tests/reproducers/signed/SavingCookies/resources/CheckCookieAndGotoClear.html:
Print the cookie store contents, and then go to
ClearPersistentCookie.html with showDocument
*
tests/reproducers/signed/SavingCookies/resources/ClearPersistentCookie.html:
Clear the test cookie so it does not interfere with further tests
*
tests/reproducers/signed/SavingCookies/resources/SavePersistentCookie.html:
Create a persistent cookie
*
tests/reproducers/signed/SavingCookies/resources/SavePersistentCookieAndGotoCheck.html:
Create a persistent cookie and check it with showDocument
*
tests/reproducers/signed/SavingCookies/resources/SaveSessionCookie.html:
Create a session cookie
*
tests/reproducers/signed/SavingCookies/resources/SaveSessionCookieAndGotoCheck.html:
Create a session cookie and check it with showDocument
* tests/reproducers/signed/SavingCookies/srcs/CheckingCookies.java:
Checks the contents of the cookie store.
Depending on the test, this may go to another page upon completion.
* tests/reproducers/signed/SavingCookies/srcs/SavingCookies.java:
Store cookies in the java cookie store. Depending on the test, this may
go to another page upon completion.
*
tests/reproducers/signed/SavingCookies/testcases/SavingCookiesTests.java
Test driver for testing persistent and session cookies in different
ways
-------------- next part --------------
A non-text attachment was scrubbed...
Name: savingcookiesreproducer2.patch
Type: text/x-patch
Size: 33863 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120809/3452426c/savingcookiesreproducer2.patch
More information about the distro-pkg-dev
mailing list