Changeset 273685 in webkit
- Timestamp:
- Mar 1, 2021 1:16:20 PM (3 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 26 added
- 27 deleted
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r273684 r273685 1 2021-03-01 Chris Gambrell <cgambrell@apple.com> 2 3 [LayoutTests] Convert http/tests/loading convert PHP to Python 4 https://bugs.webkit.org/show_bug.cgi?id=222198 5 <rdar://problem/74536576> 6 7 Reviewed by Jonathan Bedard. 8 9 * http/tests/loading/307-after-303-after-post-expected.txt: 10 * http/tests/loading/307-after-303-after-post.html: 11 * http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt: 12 * http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials.html: 13 * http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-1-redirect-to-auth.php: Removed. 14 * http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-1-redirect-to-auth.py: Added. 15 * http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-2-auth-then-redirect-to-finish.php: Removed. 16 * http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-2-auth-then-redirect-to-finish.py: Added. 17 * http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-3-output-credentials-then-finish.php: Removed. 18 * http/tests/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-3-output-credentials-then-finish.py: Added. 19 * http/tests/loading/basic-auth-load-URL-with-consecutive-slashes-expected.txt: 20 * http/tests/loading/basic-auth-load-URL-with-consecutive-slashes.html: 21 * http/tests/loading/basic-auth-remove-credentials-expected.txt: 22 * http/tests/loading/basic-auth-remove-credentials.html: 23 * http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt: 24 * http/tests/loading/basic-auth-resend-wrong-credentials.html: 25 * http/tests/loading/basic-credentials-sent-automatically-expected.txt: 26 * http/tests/loading/basic-credentials-sent-automatically.html: 27 * http/tests/loading/nested_bad_objects.php: Removed. 28 * http/tests/loading/nested_bad_objects.py: Added. 29 * http/tests/loading/oauth.html: 30 * http/tests/loading/post-in-iframe-with-back-navigation-expected.txt: 31 * http/tests/loading/post-in-iframe-with-back-navigation.html: 32 * http/tests/loading/preload-append-scan.php: Removed. 33 * http/tests/loading/preload-append-scan.py: Added. 34 * http/tests/loading/preload-slow-loading.php: Removed. 35 * http/tests/loading/preload-slow-loading.py: Added. 36 * http/tests/loading/redirect-with-no-location-crash.html: 37 * http/tests/loading/resourceLoadStatistics/resources/get-cookies.php: Removed. 38 * http/tests/loading/resourceLoadStatistics/resources/get-cookies.py: Added. 39 * http/tests/loading/resourceLoadStatistics/resources/set-cookie.php: Removed. 40 * http/tests/loading/resources/303-to-307-target.php: Removed. 41 * http/tests/loading/resources/303-to-307-target.py: Added. 42 * http/tests/loading/resources/307-post-output-target.php: Removed. 43 * http/tests/loading/resources/307-post-output-target.py: Added. 44 * http/tests/loading/resources/basic-auth-testing.php: Removed. 45 * http/tests/loading/resources/basic-auth-testing.py: Added. 46 * http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.css.php: Removed. 47 * http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.css.py: Added. 48 * http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.html: 49 * http/tests/loading/resources/imported-stylesheet-varying-according-domain.css.php: Removed. 50 * http/tests/loading/resources/imported-stylesheet-varying-according-domain.css.py: Added. 51 * http/tests/loading/resources/oauth-subresource.php: Removed. 52 * http/tests/loading/resources/oauth-subresource.py: Added. 53 * http/tests/loading/resources/othersubresources/protected-resource.php: Removed. 54 * http/tests/loading/resources/othersubresources/protected-resource.py: Added. 55 * http/tests/loading/resources/page-with-slow-loading-subresource.html: 56 * http/tests/loading/resources/post-in-iframe-with-back-navigation-page-1.php: Removed. 57 * http/tests/loading/resources/post-in-iframe-with-back-navigation-page-1.py: Added. 58 * http/tests/loading/resources/post-in-iframe-with-back-navigation-page-2.php: Removed. 59 * http/tests/loading/resources/post-in-iframe-with-back-navigation-page-2.py: Added. 60 * http/tests/loading/resources/post-in-iframe-with-back-navigation-page-3.php: Removed. 61 * http/tests/loading/resources/post-in-iframe-with-back-navigation-page-3.py: Added. 62 * http/tests/loading/resources/post-to-303-target.php: Removed. 63 * http/tests/loading/resources/post-to-303-target.py: Added. 64 * http/tests/loading/resources/protected-resource.php: Removed. 65 * http/tests/loading/resources/protected-resource.py: Added. 66 * http/tests/loading/resources/redirect-with-no-location-crash.php: Removed. 67 * http/tests/loading/resources/redirect-with-no-location-crash.py: Added. 68 * http/tests/loading/resources/resource-that-goes-back-while-still-loading.php: Removed. 69 * http/tests/loading/resources/resource-that-goes-back-while-still-loading.py: Added. 70 * http/tests/loading/resources/server-redirect-result.html: 71 * http/tests/loading/resources/server-redirect.php: Removed. 72 * http/tests/loading/resources/server-redirect.py: Added. 73 * http/tests/loading/resources/slowimage.php: Removed. 74 * http/tests/loading/resources/slowimage.py: Added. 75 * http/tests/loading/resources/subresources/protected-resource.php: Removed. 76 * http/tests/loading/resources/subresources/protected-resource.py: Added. 77 * http/tests/loading/resources/test2/basic-auth-testing.php: Removed. 78 * http/tests/loading/resources/test2/basic-auth-testing.py: Added. 79 * http/tests/loading/resources/test2/protected-resource.php: Removed. 80 * http/tests/loading/resources/test2/protected-resource.py: Added. 81 * http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt: 82 * http/tests/loading/server-redirect-for-provisional-load-caching.html: 83 * http/tests/loading/unfinished-main-resource-back-to-cached-page-callbacks.html: 84 * platform/ios-wk1/TestExpectations: 85 * platform/win/TestExpectations: 86 * platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt: 87 * platform/wk2/http/tests/loading/basic-credentials-sent-automatically-expected.txt: 88 * platform/wk2/http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt: 89 1 90 2021-03-01 Andres Gonzalez <andresg_22@apple.com> 2 91 -
trunk/LayoutTests/http/tests/loading/307-after-303-after-post-expected.txt
r267644 r273685 2 2 main frame - didCommitLoadForFrame 3 3 main frame - didFinishDocumentLoadForFrame 4 main frame - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/post-to-303-target.p hp4 main frame - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/post-to-303-target.py 5 5 main frame - didHandleOnloadEventsForFrame 6 6 main frame - didFinishLoadForFrame 7 7 http://127.0.0.1:8000/loading/307-after-303-after-post.html - didFinishLoading 8 8 main frame - didStartProvisionalLoadForFrame 9 http://127.0.0.1:8000/loading/resources/post-to-303-target.p hp - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/post-to-303-target.php, main document URL http://127.0.0.1:8000/loading/resources/post-to-303-target.php, http method POST> redirectResponse (null)10 http://127.0.0.1:8000/loading/resources/post-to-303-target.p hp - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/303-to-307-target.php, main document URL http://127.0.0.1:8000/loading/resources/303-to-307-target.php, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/post-to-303-target.php, http status code 303>9 http://127.0.0.1:8000/loading/resources/post-to-303-target.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/post-to-303-target.py, main document URL http://127.0.0.1:8000/loading/resources/post-to-303-target.py, http method POST> redirectResponse (null) 10 http://127.0.0.1:8000/loading/resources/post-to-303-target.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/303-to-307-target.py, main document URL http://127.0.0.1:8000/loading/resources/303-to-307-target.py, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/post-to-303-target.py, http status code 303> 11 11 main frame - didReceiveServerRedirectForProvisionalLoadForFrame 12 http://127.0.0.1:8000/loading/resources/post-to-303-target.p hp - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/307-post-output-target.php, main document URL http://127.0.0.1:8000/loading/resources/307-post-output-target.php, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/303-to-307-target.php, http status code 307>12 http://127.0.0.1:8000/loading/resources/post-to-303-target.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/307-post-output-target.py, main document URL http://127.0.0.1:8000/loading/resources/307-post-output-target.py, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/303-to-307-target.py, http status code 307> 13 13 main frame - didReceiveServerRedirectForProvisionalLoadForFrame 14 http://127.0.0.1:8000/loading/resources/post-to-303-target.p hp - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/307-post-output-target.php, http status code 200>14 http://127.0.0.1:8000/loading/resources/post-to-303-target.py - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/307-post-output-target.py, http status code 200> 15 15 main frame - didCancelClientRedirectForFrame 16 16 main frame - didCommitLoadForFrame -
trunk/LayoutTests/http/tests/loading/307-after-303-after-post.html
r120167 r273685 10 10 </head> 11 11 <body onload="document.getElementById('testform').submit();"> 12 <form id="testform" name="testform" action="resources/post-to-303-target.p hp" method="post">12 <form id="testform" name="testform" action="resources/post-to-303-target.py" method="post"> 13 13 Test value input: 14 14 <input type="text" name="testvalue" value="foobar"></input> -
trunk/LayoutTests/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt
r267644 r273685 4 4 main frame - didFinishDocumentLoadForFrame 5 5 frame "<!--frame1-->" - didReceiveServerRedirectForProvisionalLoadForFrame 6 http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-1-redirect-to-auth.p hp- didReceiveAuthenticationChallenge - Responding with httpUsername:httpPassword6 http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-1-redirect-to-auth.py - didReceiveAuthenticationChallenge - Responding with httpUsername:httpPassword 7 7 frame "<!--frame1-->" - didCommitLoadForFrame 8 8 frame "<!--frame1-->" - didFinishDocumentLoadForFrame … … 11 11 frame "<!--frame1-->" - didFinishLoadForFrame 12 12 main frame - didFinishLoadForFrame 13 frame "<!--frame1-->" - willPerformClientRedirectToURL: http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-3-output-credentials-then-finish.p hp13 frame "<!--frame1-->" - willPerformClientRedirectToURL: http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-3-output-credentials-then-finish.py 14 14 frame "<!--frame1-->" - didStartProvisionalLoadForFrame 15 15 frame "<!--frame1-->" - didCancelClientRedirectForFrame -
trunk/LayoutTests/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials.html
r120167 r273685 15 15 It then loads a new page after that challenge, and the new page should *not* get any credentials passed to it.<br> 16 16 See <a href="https://bugs.webkit.org/show_bug.cgi?id=78003">bug 78003</a> for more details.<br> 17 <iframe src="http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-1-redirect-to-auth.p hp">17 <iframe src="http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-1-redirect-to-auth.py"> 18 18 </iframe><br> 19 19 </body> -
trunk/LayoutTests/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes-expected.txt
r272707 r273685 3 3 frame "<!--frame1-->" - didStartProvisionalLoadForFrame 4 4 main frame - didFinishDocumentLoadForFrame 5 http://127.0.0.1:8000/loading/resources/basic-auth-testing.p hp?username=webkit&password=rocks - didReceiveAuthenticationChallenge - Responding with webkit:rocks5 http://127.0.0.1:8000/loading/resources/basic-auth-testing.py?username=webkit&password=rocks - didReceiveAuthenticationChallenge - Responding with webkit:rocks 6 6 frame "<!--frame1-->" - didCommitLoadForFrame 7 7 frame "<!--frame1-->" - didFinishDocumentLoadForFrame -
trunk/LayoutTests/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes.html
r272707 r273685 28 28 </head> 29 29 <body onload="notifyFrameDidLoad(frame)"> 30 <iframe id="frame" src="resources/basic-auth-testing.p hp?username=webkit&password=rocks"></iframe>30 <iframe id="frame" src="resources/basic-auth-testing.py?username=webkit&password=rocks"></iframe> 31 31 <p>PASS did not cause assertion failure.</p> 32 32 </body> -
trunk/LayoutTests/http/tests/loading/basic-auth-remove-credentials-expected.txt
r267644 r273685 18 18 This test verifies that we are able to remove credentials, by checking that we get an authenticaton. 19 19 challenge for a path we normally would not get a challenge for, after having removed all credentials. 20 The first frame's path is /loading/resources/protected-resource.p hp, and we should get a challenge for it.20 The first frame's path is /loading/resources/protected-resource.py, and we should get a challenge for it. 21 21 It will be authorized with first/first-pw. 22 22 The second frame's path is identical to the first frame, and we should get a challenge for it, because credentials have been deleted. -
trunk/LayoutTests/http/tests/loading/basic-auth-remove-credentials.html
r217886 r273685 23 23 { 24 24 var frame = document.createElement("iframe"); 25 frame.setAttribute("src", "http://127.0.0.1:8000/loading/resources/protected-resource.p hp");25 frame.setAttribute("src", "http://127.0.0.1:8000/loading/resources/protected-resource.py"); 26 26 frame.setAttribute("onload", "secondFrameLoaded()"); 27 27 document.body.appendChild(frame); … … 39 39 This test verifies that we are able to remove credentials, by checking that we get an authenticaton.<br> 40 40 challenge for a path we normally would not get a challenge for, after having removed all credentials.<br> 41 The first frame's path is /loading/resources/protected-resource.p hp, and we should get a challenge for it.<br>41 The first frame's path is /loading/resources/protected-resource.py, and we should get a challenge for it.<br> 42 42 It will be authorized with first/first-pw.<br> 43 43 The second frame's path is identical to the first frame, and we should get a challenge for it, because credentials have been deleted.<br> 44 44 It will be authorized with second/second-pw.<br> 45 <iframe src="resources/protected-resource.p hp" onload="firstFrameLoaded();"></iframe>45 <iframe src="resources/protected-resource.py" onload="firstFrameLoaded();"></iframe> 46 46 </body> 47 47 </html> -
trunk/LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt
r231450 r273685 5 5 main frame - didFinishLoadForFrame 6 6 frame "<!--frame1-->" - didStartProvisionalLoadForFrame 7 http://127.0.0.1:8000/loading/resources/test2/protected-resource.p hp- didReceiveAuthenticationChallenge - Responding with wrongusername:wrongpassword7 http://127.0.0.1:8000/loading/resources/test2/protected-resource.py - didReceiveAuthenticationChallenge - Responding with wrongusername:wrongpassword 8 8 frame "<!--frame1-->" - didCommitLoadForFrame 9 9 frame "<!--frame1-->" - didFinishDocumentLoadForFrame … … 11 11 frame "<!--frame1-->" - didFinishLoadForFrame 12 12 frame "<!--frame2-->" - didStartProvisionalLoadForFrame 13 http://127.0.0.1:8000/loading/resources/test2/basic-auth-testing.p hp?username=correctusername&password=correctpassword - didReceiveAuthenticationChallenge - Responding with correctusername:correctpassword13 http://127.0.0.1:8000/loading/resources/test2/basic-auth-testing.py?username=correctusername&password=correctpassword - didReceiveAuthenticationChallenge - Responding with correctusername:correctpassword 14 14 frame "<!--frame2-->" - didCommitLoadForFrame 15 15 frame "<!--frame2-->" - didFinishDocumentLoadForFrame -
trunk/LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials.html
r224432 r273685 19 19 } 20 20 var frame = document.createElement("iframe"); 21 frame.setAttribute("src", "http://127.0.0.1:8000/loading/resources/test2/basic-auth-testing.p hp?username=correctusername&password=correctpassword");21 frame.setAttribute("src", "http://127.0.0.1:8000/loading/resources/test2/basic-auth-testing.py?username=correctusername&password=correctpassword"); 22 22 frame.setAttribute("onload", "secondFrameLoaded()"); 23 23 document.body.appendChild(frame); … … 33 33 var iframe = document.createElement("iframe"); 34 34 iframe.onload=firstFrameLoaded; 35 iframe.src="resources/test2/protected-resource.p hp";35 iframe.src="resources/test2/protected-resource.py"; 36 36 document.body.appendChild(iframe); 37 37 } -
trunk/LayoutTests/http/tests/loading/basic-credentials-sent-automatically-expected.txt
r231450 r273685 5 5 main frame - didFinishLoadForFrame 6 6 frame "<!--frame1-->" - didStartProvisionalLoadForFrame 7 http://127.0.0.1:8000/loading/resources/subresources/protected-resource.p hp- didReceiveAuthenticationChallenge - Responding with first:first-pw7 http://127.0.0.1:8000/loading/resources/subresources/protected-resource.py - didReceiveAuthenticationChallenge - Responding with first:first-pw 8 8 frame "<!--frame1-->" - didCommitLoadForFrame 9 9 frame "<!--frame1-->" - didFinishDocumentLoadForFrame … … 11 11 frame "<!--frame1-->" - didFinishLoadForFrame 12 12 frame "<!--frame2-->" - didStartProvisionalLoadForFrame 13 http://127.0.0.1:8000/loading/resources/protected-resource.p hp- didReceiveAuthenticationChallenge - Responding with second:second-pw13 http://127.0.0.1:8000/loading/resources/protected-resource.py - didReceiveAuthenticationChallenge - Responding with second:second-pw 14 14 frame "<!--frame2-->" - didCommitLoadForFrame 15 15 frame "<!--frame2-->" - didFinishDocumentLoadForFrame … … 27 27 frame "<!--frame4-->" - didFinishLoadForFrame 28 28 This test makes sure that once an HTTP Basic Auth. protected path is authenticated once, urls that emanate from that path automatically have their credentials sent without a challenge. 29 The first frame's path is /loading/resources/subresources/protected-resource.p hp, and we should get a challenge for it.29 The first frame's path is /loading/resources/subresources/protected-resource.py, and we should get a challenge for it. 30 30 It will be authorized with first/first-pw. 31 The second frame's path is /loading/resources/protected-resource.p hp, and we should get a challenge for it, because it does not share a common subpath of the previously authorized resource.31 The second frame's path is /loading/resources/protected-resource.py, and we should get a challenge for it, because it does not share a common subpath of the previously authorized resource. 32 32 It will be authorized with second/second-pw. 33 The third frame's path is also /loading/resources/protected-resource.p hp, and we should *not* get a challenge for it because we authorized to this path for the second frame.33 The third frame's path is also /loading/resources/protected-resource.py, and we should *not* get a challenge for it because we authorized to this path for the second frame. 34 34 It will be authorized with second/second-pw. 35 The fourth frame's path is /loading/resources/othersubresources/protected-resource.p hp, and we should *not* get a challenge for it, because it has a common subpath with the previously authorized second and third frames.35 The fourth frame's path is /loading/resources/othersubresources/protected-resource.py, and we should *not* get a challenge for it, because it has a common subpath with the previously authorized second and third frames. 36 36 It will be authorized with second/second-pw. 37 37 -
trunk/LayoutTests/http/tests/loading/basic-credentials-sent-automatically.html
r223982 r273685 18 18 } 19 19 var frame = document.createElement("iframe"); 20 frame.setAttribute("src", "http://127.0.0.1:8000/loading/resources/protected-resource.p hp");20 frame.setAttribute("src", "http://127.0.0.1:8000/loading/resources/protected-resource.py"); 21 21 frame.setAttribute("onload", "setTimeout(secondFrameLoaded, 0)"); 22 22 document.body.appendChild(frame); … … 30 30 } 31 31 var frame = document.createElement("iframe"); 32 frame.setAttribute("src", "http://127.0.0.1:8000/loading/resources/protected-resource.p hp");32 frame.setAttribute("src", "http://127.0.0.1:8000/loading/resources/protected-resource.py"); 33 33 frame.setAttribute("onload", "setTimeout(thirdFrameLoaded, 0)"); 34 34 document.body.appendChild(frame); … … 42 42 } 43 43 var frame = document.createElement("iframe"); 44 frame.setAttribute("src", "http://127.0.0.1:8000/loading/resources/othersubresources/protected-resource.p hp");44 frame.setAttribute("src", "http://127.0.0.1:8000/loading/resources/othersubresources/protected-resource.py"); 45 45 frame.setAttribute("onload", "setTimeout(fourthFrameLoaded, 0)"); 46 46 document.body.appendChild(frame); … … 56 56 var iframe = document.createElement("iframe"); 57 57 iframe.setAttribute("onload", "setTimeout(firstFrameLoaded, 0)"); 58 iframe.src="resources/subresources/protected-resource.p hp";58 iframe.src="resources/subresources/protected-resource.py"; 59 59 document.body.appendChild(iframe); 60 60 } … … 64 64 <body onload="setTimeout(makeIFrame, 0)"> 65 65 This test makes sure that once an HTTP Basic Auth. protected path is authenticated once, urls that emanate from that path automatically have their credentials sent without a challenge.<br> 66 The first frame's path is /loading/resources/subresources/protected-resource.p hp, and we should get a challenge for it.<br>66 The first frame's path is /loading/resources/subresources/protected-resource.py, and we should get a challenge for it.<br> 67 67 It will be authorized with first/first-pw.<br> 68 The second frame's path is /loading/resources/protected-resource.p hp, and we should get a challenge for it, because it does not share a common subpath of the previously authorized resource.<br>68 The second frame's path is /loading/resources/protected-resource.py, and we should get a challenge for it, because it does not share a common subpath of the previously authorized resource.<br> 69 69 It will be authorized with second/second-pw.<br> 70 The third frame's path is also /loading/resources/protected-resource.p hp, and we should *not* get a challenge for it because we authorized to this path for the second frame.<br>70 The third frame's path is also /loading/resources/protected-resource.py, and we should *not* get a challenge for it because we authorized to this path for the second frame.<br> 71 71 It will be authorized with second/second-pw.<br> 72 The fourth frame's path is /loading/resources/othersubresources/protected-resource.p hp, and we should *not* get a challenge for it, because it has a common subpath with the previously authorized second and third frames.<br>72 The fourth frame's path is /loading/resources/othersubresources/protected-resource.py, and we should *not* get a challenge for it, because it has a common subpath with the previously authorized second and third frames.<br> 73 73 It will be authorized with second/second-pw.<br> 74 74 </body> -
trunk/LayoutTests/http/tests/loading/oauth.html
r234912 r273685 13 13 function runtest() { 14 14 setTimeout(()=>{ 15 fetch("resources/oauth-subresource.p hp").then(()=>{15 fetch("resources/oauth-subresource.py").then(()=>{ 16 16 if (window.testRunner) 17 17 testRunner.notifyDone(); -
trunk/LayoutTests/http/tests/loading/post-in-iframe-with-back-navigation-expected.txt
r267644 r273685 10 10 main frame - didHandleOnloadEventsForFrame 11 11 main frame - didFinishLoadForFrame 12 frame "frame" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/post-in-iframe-with-back-navigation-page-2.p hp12 frame "frame" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/post-in-iframe-with-back-navigation-page-2.py 13 13 frame "frame" - didStartProvisionalLoadForFrame 14 14 frame "frame" - didCancelClientRedirectForFrame … … 17 17 frame "frame" - didHandleOnloadEventsForFrame 18 18 frame "frame" - didFinishLoadForFrame 19 frame "frame" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/post-in-iframe-with-back-navigation-page-3.p hp19 frame "frame" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/post-in-iframe-with-back-navigation-page-3.py 20 20 frame "frame" - didStartProvisionalLoadForFrame 21 21 frame "frame" - didCancelClientRedirectForFrame -
trunk/LayoutTests/http/tests/loading/post-in-iframe-with-back-navigation.html
r120167 r273685 6 6 </head> 7 7 <body onload="runTest()"> 8 <iframe id="frame" onload="nextStep()" src="resources/post-in-iframe-with-back-navigation-page-1. php" width=300 height=300></iframe>8 <iframe id="frame" onload="nextStep()" src="resources/post-in-iframe-with-back-navigation-page-1.303-to-307-target.py" width=300 height=300></iframe> 9 9 <p>Resending form on back navigation from POST submissions<br/><br/> 10 10 -
trunk/LayoutTests/http/tests/loading/redirect-with-no-location-crash.html
r272707 r273685 10 10 </head> 11 11 <body onload="setTimeout(function() { if (window.testRunner) testRunner.notifyDone(); })"> 12 <iframe src="resources/redirect-with-no-location-crash.p hp"></iframe>12 <iframe src="resources/redirect-with-no-location-crash.py"></iframe> 13 13 </body> 14 14 <html> -
trunk/LayoutTests/http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.html
r209961 r273685 2 2 <html> 3 3 <head> 4 <link rel="stylesheet" type="text/css" href="http://127.0.0.1:8000/loading/resources/cached-stylesheet-from-different-domain-frame.css.p hp"/>4 <link rel="stylesheet" type="text/css" href="http://127.0.0.1:8000/loading/resources/cached-stylesheet-from-different-domain-frame.css.py"/> 5 5 </head> 6 6 <body> -
trunk/LayoutTests/http/tests/loading/resources/page-with-slow-loading-subresource.html
r153649 r273685 10 10 This page has an image that takes forever to load.<br> 11 11 After the main resource is finished loading, but before the image loads, it should go back to the previous page.<br> 12 <img src="slowimage.p hp">12 <img src="slowimage.py"> -
trunk/LayoutTests/http/tests/loading/resources/server-redirect-result.html
r195162 r273685 3 3 if (parent.count == 0) { 4 4 parent.count = 1; 5 window.location = "server-redirect.p hp";5 window.location = "server-redirect.py"; 6 6 } 7 7 else if (parent.count == 1) { -
trunk/LayoutTests/http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt
r267644 r273685 2 2 main frame - didCommitLoadForFrame 3 3 frame "<!--frame1-->" - didStartProvisionalLoadForFrame 4 http://127.0.0.1:8000/loading/resources/server-redirect.p hp - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect.php, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse (null)4 http://127.0.0.1:8000/loading/resources/server-redirect.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect.py, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse (null) 5 5 main frame - didFinishDocumentLoadForFrame 6 6 http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html - didFinishLoading 7 http://127.0.0.1:8000/loading/resources/server-redirect.p hp - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect-result.html, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect.php, http status code 301>7 http://127.0.0.1:8000/loading/resources/server-redirect.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect-result.html, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect.py, http status code 301> 8 8 frame "<!--frame1-->" - didReceiveServerRedirectForProvisionalLoadForFrame 9 http://127.0.0.1:8000/loading/resources/server-redirect.p hp- didReceiveResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect-result.html, http status code 200>9 http://127.0.0.1:8000/loading/resources/server-redirect.py - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect-result.html, http status code 200> 10 10 frame "<!--frame1-->" - didCommitLoadForFrame 11 frame "<!--frame1-->" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/server-redirect.p hp11 frame "<!--frame1-->" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/server-redirect.py 12 12 frame "<!--frame1-->" - didFinishDocumentLoadForFrame 13 13 main frame - didHandleOnloadEventsForFrame 14 14 frame "<!--frame1-->" - didFinishLoadForFrame 15 15 main frame - didFinishLoadForFrame 16 http://127.0.0.1:8000/loading/resources/server-redirect.p hp- didFinishLoading16 http://127.0.0.1:8000/loading/resources/server-redirect.py - didFinishLoading 17 17 frame "<!--frame1-->" - didStartProvisionalLoadForFrame 18 http://127.0.0.1:8000/loading/resources/server-redirect.p hp - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect.php, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse (null)18 http://127.0.0.1:8000/loading/resources/server-redirect.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect.py, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse (null) 19 19 frame "<!--frame1-->" - didReceiveServerRedirectForProvisionalLoadForFrame 20 http://127.0.0.1:8000/loading/resources/server-redirect.p hp- didReceiveResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect-result.html, http status code 200>20 http://127.0.0.1:8000/loading/resources/server-redirect.py - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect-result.html, http status code 200> 21 21 frame "<!--frame1-->" - didCancelClientRedirectForFrame 22 22 frame "<!--frame1-->" - didCommitLoadForFrame 23 http://127.0.0.1:8000/loading/resources/server-redirect.p hp- didFinishLoading23 http://127.0.0.1:8000/loading/resources/server-redirect.py - didFinishLoading 24 24 frame "<!--frame1-->" - didFinishDocumentLoadForFrame 25 25 frame "<!--frame1-->" - didHandleOnloadEventsForFrame -
trunk/LayoutTests/http/tests/loading/server-redirect-for-provisional-load-caching.html
r195162 r273685 13 13 </head> 14 14 <p>Test passes if the second redirection which is loaded from the cache dispatches didReceiveServerRedirectForProvisionalLoadForFrame.</p> 15 <iframe src="./resources/server-redirect.p hp"></iframe>15 <iframe src="./resources/server-redirect.py"></iframe> 16 16 </html> -
trunk/LayoutTests/http/tests/loading/unfinished-main-resource-back-to-cached-page-callbacks.html
r268400 r273685 34 34 35 35 This test dumps frame load callbacks. It is only useful inside of WebKitTestRunner.<br><br> 36 <a id="linkToSlowPage" href="resources/resource-that-goes-back-while-still-loading.p hp">This link goes to a slow loading page.</a>36 <a id="linkToSlowPage" href="resources/resource-that-goes-back-while-still-loading.py">This link goes to a slow loading page.</a> 37 37 Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=117112">117112 - Going "back" to a cached page from a page where the main resource never finished loading breaks scrolling, amongst other issues.</a><br><br> 38 38 In the broken case, the second page gets a didFinishLoad callback intertwined with the restoration of the cached page, even though it's already gotten a didFailLoad callback.<br> -
trunk/LayoutTests/platform/ios-wk1/TestExpectations
r272067 r273685 1797 1797 fast/forms/textarea-live-pseudo-selectors.html [ Crash Failure ] 1798 1798 fast/text/font-weights.html [ Pass Failure ] 1799 http/tests/loading/preload-append-scan.p hp[ Crash Failure Pass ]1799 http/tests/loading/preload-append-scan.py [ Crash Failure Pass ] 1800 1800 http/tests/security/appcache-switching-private-browsing.html [ Pass Failure ] 1801 1801 http/tests/security/contentSecurityPolicy/blob-url-does-not-match-source-self.html [ Pass ImageOnlyFailure ] -
trunk/LayoutTests/platform/win/TestExpectations
r273684 r273685 3150 3150 http/tests/cache/network-error-during-revalidation.html [ Failure Crash Pass ] 3151 3151 http/tests/cookies/single-quoted-value.html [ Failure Pass ] 3152 http/tests/loading/nested_bad_objects.p hp[ Failure Pass ]3152 http/tests/loading/nested_bad_objects.py [ Failure Pass ] 3153 3153 http/tests/loading/onload-vs-immediate-refresh.pl [ Failure Pass ] 3154 http/tests/loading/preload-append-scan.p hp[ Failure Pass ]3154 http/tests/loading/preload-append-scan.py [ Failure Pass ] 3155 3155 http/tests/loading/preload-css-test.html [ Failure Pass ] 3156 3156 http/tests/loading/preload-img-src.html [ Failure Pass ] -
trunk/LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt
r267644 r273685 11 11 frame "<!--frame1-->" - didFinishLoadForFrame 12 12 main frame - didFinishLoadForFrame 13 frame "<!--frame1-->" - willPerformClientRedirectToURL: http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-3-output-credentials-then-finish.p hp13 frame "<!--frame1-->" - willPerformClientRedirectToURL: http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-3-output-credentials-then-finish.py 14 14 frame "<!--frame1-->" - didStartProvisionalLoadForFrame 15 15 frame "<!--frame1-->" - didCancelClientRedirectForFrame -
trunk/LayoutTests/platform/wk2/http/tests/loading/basic-credentials-sent-automatically-expected.txt
r234912 r273685 27 27 frame "<!--frame4-->" - didFinishLoadForFrame 28 28 This test makes sure that once an HTTP Basic Auth. protected path is authenticated once, urls that emanate from that path automatically have their credentials sent without a challenge. 29 The first frame's path is /loading/resources/subresources/protected-resource.p hp, and we should get a challenge for it.29 The first frame's path is /loading/resources/subresources/protected-resource.py, and we should get a challenge for it. 30 30 It will be authorized with first/first-pw. 31 The second frame's path is /loading/resources/protected-resource.p hp, and we should get a challenge for it, because it does not share a common subpath of the previously authorized resource.31 The second frame's path is /loading/resources/protected-resource.py, and we should get a challenge for it, because it does not share a common subpath of the previously authorized resource. 32 32 It will be authorized with second/second-pw. 33 The third frame's path is also /loading/resources/protected-resource.p hp, and we should *not* get a challenge for it because we authorized to this path for the second frame.33 The third frame's path is also /loading/resources/protected-resource.py, and we should *not* get a challenge for it because we authorized to this path for the second frame. 34 34 It will be authorized with second/second-pw. 35 The fourth frame's path is /loading/resources/othersubresources/protected-resource.p hp, and we should *not* get a challenge for it, because it has a common subpath with the previously authorized second and third frames.35 The fourth frame's path is /loading/resources/othersubresources/protected-resource.py, and we should *not* get a challenge for it, because it has a common subpath with the previously authorized second and third frames. 36 36 It will be authorized with second/second-pw. 37 37 -
trunk/LayoutTests/platform/wk2/http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt
r267644 r273685 4 4 http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html - didFinishLoading 5 5 frame "<!--frame1-->" - didStartProvisionalLoadForFrame 6 http://127.0.0.1:8000/loading/resources/server-redirect.p hp - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect.php, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse (null)7 http://127.0.0.1:8000/loading/resources/server-redirect.p hp - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect-result.html, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect.php, http status code 301>6 http://127.0.0.1:8000/loading/resources/server-redirect.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect.py, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse (null) 7 http://127.0.0.1:8000/loading/resources/server-redirect.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect-result.html, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect.py, http status code 301> 8 8 frame "<!--frame1-->" - didReceiveServerRedirectForProvisionalLoadForFrame 9 http://127.0.0.1:8000/loading/resources/server-redirect.p hp- didReceiveResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect-result.html, http status code 200>9 http://127.0.0.1:8000/loading/resources/server-redirect.py - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect-result.html, http status code 200> 10 10 frame "<!--frame1-->" - didCommitLoadForFrame 11 frame "<!--frame1-->" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/server-redirect.p hp11 frame "<!--frame1-->" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/server-redirect.py 12 12 frame "<!--frame1-->" - didFinishDocumentLoadForFrame 13 13 main frame - didHandleOnloadEventsForFrame 14 14 frame "<!--frame1-->" - didFinishLoadForFrame 15 15 main frame - didFinishLoadForFrame 16 http://127.0.0.1:8000/loading/resources/server-redirect.p hp- didFinishLoading16 http://127.0.0.1:8000/loading/resources/server-redirect.py - didFinishLoading 17 17 frame "<!--frame1-->" - didStartProvisionalLoadForFrame 18 http://127.0.0.1:8000/loading/resources/server-redirect.p hp - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect.php, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse (null)18 http://127.0.0.1:8000/loading/resources/server-redirect.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/server-redirect.py, main document URL http://127.0.0.1:8000/loading/server-redirect-for-provisional-load-caching.html, http method GET> redirectResponse (null) 19 19 frame "<!--frame1-->" - didReceiveServerRedirectForProvisionalLoadForFrame 20 http://127.0.0.1:8000/loading/resources/server-redirect.p hp- didReceiveResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect-result.html, http status code 200>20 http://127.0.0.1:8000/loading/resources/server-redirect.py - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/loading/resources/server-redirect-result.html, http status code 200> 21 21 frame "<!--frame1-->" - didCancelClientRedirectForFrame 22 22 frame "<!--frame1-->" - didCommitLoadForFrame 23 http://127.0.0.1:8000/loading/resources/server-redirect.p hp- didFinishLoading23 http://127.0.0.1:8000/loading/resources/server-redirect.py - didFinishLoading 24 24 frame "<!--frame1-->" - didFinishDocumentLoadForFrame 25 25 frame "<!--frame1-->" - didHandleOnloadEventsForFrame
Note: See TracChangeset
for help on using the changeset viewer.