Reviewers: jgw, Description: Here's a real beauty of a fix.
Description: ============= CookieTest uses a 5 second timer to verify that cookies obey their expiration. Since cookies are shared across browser instances, its possible for multiple instances of this test to run concurrently (eg. hosted and web mode tests in our ant build). If that happens, the cookies will be cleared by one of the threads while the other thread waits for its Timer. On a dual core system (eg. our build system), this is almost guaranteed to happen pretty often. Fix: ==== We now use random cookie names for the 5 second test, and the other tests remove all cookies except those used in the 5 second test. Testing: ======= I verified this patch works on Firefox and IE. Please review this at http://gwt-code-reviews.appspot.com/62811 Affected files: user/test/com/google/gwt/user/client/CookieTest.java --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
