Changeset 252720 in webkit
- Timestamp:
- Nov 20, 2019, 5:09:23 PM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
http/tests/resourceLoadStatistics/cookie-deletion-expected.txt (modified) (1 diff)
-
http/tests/resourceLoadStatistics/cookie-deletion.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r252716 r252720 1 2019-11-20 Kate Cheney <katherine_cheney@apple.com> 2 3 [ Jazz ] http/tests/resourceLoadStatistics/cookie-deletion.html is timing out 4 https://bugs.webkit.org/show_bug.cgi?id=203813 5 <rdar://problem/54316765> 6 7 Reviewed by John Wilander. 8 9 Added random dummy value to the end of the cookie-redirect query to ensure 10 the third party url isn't failing to set the cookie and redirect back 11 to the correct file because the url is already in the cache from previous runs. 12 13 * http/tests/resourceLoadStatistics/cookie-deletion-expected.txt: 14 * http/tests/resourceLoadStatistics/cookie-deletion.html: 15 1 16 2019-11-20 Zalan Bujtas <zalan@apple.com> 2 17 -
trunk/LayoutTests/http/tests/resourceLoadStatistics/cookie-deletion-expected.txt
r252630 r252720 1 CONSOLE MESSAGE: line 11 6: Test is beginning. document.location.hash is empty.2 CONSOLE MESSAGE: line 12 2: About to call runTest() for the first time.3 CONSOLE MESSAGE: line 6 1: step1. About to set a cookie4 CONSOLE MESSAGE: line 12 6: About to call runTest() after cookie was set. document hash is #step25 CONSOLE MESSAGE: line 6 6: step2. About to open an iFrame to test for third party cookie access (should be successful)6 CONSOLE MESSAGE: line 7 2: step3. About to classify localhost as prevalent7 CONSOLE MESSAGE: line 7 6: step3. In the callback for testRunner.setStatisticsPrevalentResource8 CONSOLE MESSAGE: line 8 3: step4. About to open an iFrame to test for third party cookie access (should not be successful)9 CONSOLE MESSAGE: line 89: step5. About to open an iFrame to try to set a cookie as a third party (should fail)10 CONSOLE MESSAGE: line 9 5: step6. About to open an iFrame and fireDataModificationHandlerAndContinue11 CONSOLE MESSAGE: line 39: In fireDataModificationHandlerAndContinue12 CONSOLE MESSAGE: line 4 4: Calling statisticsProcessStatisticsAndDataRecords13 CONSOLE MESSAGE: line 4 1: In callback function for installStatisticsDidScanDataRecordsCallback14 CONSOLE MESSAGE: line 10 1: step7. About to open an iFrame and setAsNonPrevalentAndContinue15 CONSOLE MESSAGE: line 49: In setAsNonPrevalentAndContinue16 CONSOLE MESSAGE: line 5 1: In callback function for setStatisticsPrevalentResource17 CONSOLE MESSAGE: line 10 7: step8. About to open an iFrame and confirm third party has no cookie access18 CONSOLE MESSAGE: line 2 4: in finishTest1 CONSOLE MESSAGE: line 117: Test is beginning. document.location.hash is empty. 2 CONSOLE MESSAGE: line 123: About to call runTest() for the first time. 3 CONSOLE MESSAGE: line 62: step1. About to set a cookie 4 CONSOLE MESSAGE: line 127: About to call runTest() after cookie was set. document hash is #step2 5 CONSOLE MESSAGE: line 67: step2. About to open an iFrame to test for third party cookie access (should be successful) 6 CONSOLE MESSAGE: line 73: step3. About to classify localhost as prevalent 7 CONSOLE MESSAGE: line 77: step3. In the callback for testRunner.setStatisticsPrevalentResource 8 CONSOLE MESSAGE: line 84: step4. About to open an iFrame to test for third party cookie access (should not be successful) 9 CONSOLE MESSAGE: line 90: step5. About to open an iFrame to try to set a cookie as a third party (should fail) 10 CONSOLE MESSAGE: line 96: step6. About to open an iFrame and fireDataModificationHandlerAndContinue 11 CONSOLE MESSAGE: line 40: In fireDataModificationHandlerAndContinue 12 CONSOLE MESSAGE: line 45: Calling statisticsProcessStatisticsAndDataRecords 13 CONSOLE MESSAGE: line 42: In callback function for installStatisticsDidScanDataRecordsCallback 14 CONSOLE MESSAGE: line 102: step7. About to open an iFrame and setAsNonPrevalentAndContinue 15 CONSOLE MESSAGE: line 50: In setAsNonPrevalentAndContinue 16 CONSOLE MESSAGE: line 52: In callback function for setStatisticsPrevalentResource 17 CONSOLE MESSAGE: line 108: step8. About to open an iFrame and confirm third party has no cookie access 18 CONSOLE MESSAGE: line 25: in finishTest 19 19 Test for partitioned and unpartitioned cookie deletion. 20 20 -
trunk/LayoutTests/http/tests/resourceLoadStatistics/cookie-deletion.html
r252630 r252720 16 16 const firstPartyCookieName = "firstPartyCookie"; 17 17 const subPathToSetFirstPartyCookie = "/set-cookie.php?name=" + firstPartyCookieName + "&value=value"; 18 const subPathToSetFirstPartyCookieRandom = "/set-cookie.php?name=" + firstPartyCookieName + "&value=value&dummyParam=" + Math.random(); 18 19 const thirdPartyCookieName = "thirdPartyCookie"; 19 20 const subPathToSetThirdPartyCookie = "/set-cookie.php?name=" + thirdPartyCookieName + "&value=value"; … … 61 62 console.log("step1. About to set a cookie") 62 63 // Set first-party cookie for localhost. 63 document.location.href = thirdPartyBaseUrl + subPathToSetFirstPartyCookie + "#" + fragmentWithReturnUrl + "#step2";64 document.location.href = thirdPartyBaseUrl + subPathToSetFirstPartyCookieRandom + "#" + fragmentWithReturnUrl + "#step2"; 64 65 break; 65 66 case "#step2":
Note:
See TracChangeset
for help on using the changeset viewer.