Changeset 223613 in webkit
- Timestamp:
- Oct 18, 2017, 10:16:41 AM (8 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r223609 r223613 1 2017-10-18 Alex Christensen <achristensen@webkit.org> 2 3 http/tests/loading/basic-auth-resend-wrong-credentials.html is still a flaky failure after proposed fix. 4 https://bugs.webkit.org/show_bug.cgi?id=178467 5 6 Reviewed by Andy Estes. 7 8 * http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt: 9 * http/tests/loading/basic-auth-resend-wrong-credentials.html: 10 * platform/wk2/http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt: 11 Use setTimeout to make the loading order deterministic. 12 The important part of this test is that the passwords shown in the delegate callbacks are correct, 13 and this doesn't change that. 14 1 15 2017-10-18 Ms2ger <Ms2ger@igalia.com> 2 16 -
trunk/LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt
r223554 r223613 2 2 main frame - didCommitLoadForFrame 3 3 main frame - didFinishDocumentLoadForFrame 4 main frame - didHandleOnloadEventsForFrame 5 main frame - didFinishLoadForFrame 4 6 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 7 http://127.0.0.1:8000/loading/resources/test2/protected-resource.php - didReceiveAuthenticationChallenge - Responding with wrongusername:wrongpassword 7 8 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame … … 13 14 frame "<!--framePath //<!--frame1-->-->" - didCommitLoadForFrame 14 15 frame "<!--framePath //<!--frame1-->-->" - didFinishDocumentLoadForFrame 15 frame "<!--framePath //<!--frame1-->-->" - didHandleOnloadEventsForFrame16 frame "<!--framePath //<!--frame1-->-->" - didFinishLoadForFrame17 main frame - didFinishLoadForFrame18 16 This test makes sure that once WebCore preemptively sends out Basic credentials it thinks apply to a new resource, and that resource response with a 401 challenge, that it doesn't try to send the same wrong credentials a second time. 19 17 -
trunk/LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials.html
r223554 r223613 37 37 </script> 38 38 </head> 39 <body onload=" makeIFrame()">39 <body onload="setTimeout(makeIFrame, 0)"> 40 40 This test makes sure that once WebCore preemptively sends out Basic credentials it thinks apply to a new resource, and that resource response with a 401 challenge, that it doesn't try to send the same wrong credentials a second time.<br> 41 41 </body> -
trunk/LayoutTests/platform/wk2/http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt
r223554 r223613 2 2 main frame - didCommitLoadForFrame 3 3 main frame - didFinishDocumentLoadForFrame 4 main frame - didHandleOnloadEventsForFrame 5 main frame - didFinishLoadForFrame 4 6 frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame 5 main frame - didHandleOnloadEventsForFrame6 7 127.0.0.1:8000 - didReceiveAuthenticationChallenge - Responding with wrongusername:wrongpassword 7 8 frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame … … 13 14 frame "<!--framePath //<!--frame1-->-->" - didCommitLoadForFrame 14 15 frame "<!--framePath //<!--frame1-->-->" - didFinishDocumentLoadForFrame 15 frame "<!--framePath //<!--frame1-->-->" - didHandleOnloadEventsForFrame16 frame "<!--framePath //<!--frame1-->-->" - didFinishLoadForFrame17 main frame - didFinishLoadForFrame18 16 This test makes sure that once WebCore preemptively sends out Basic credentials it thinks apply to a new resource, and that resource response with a 401 challenge, that it doesn't try to send the same wrong credentials a second time. 19 17
Note:
See TracChangeset
for help on using the changeset viewer.