Changeset 275561 in webkit
- Timestamp:
- Apr 6, 2021 3:20:18 PM (3 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 added
- 3 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r275555 r275561 1 2021-04-06 Chris Gambrell <cgambrell@apple.com> 2 3 [LayoutTests] Convert http/tests/misc convert PHP to Python 4 https://bugs.webkit.org/show_bug.cgi?id=221981 5 <rdar://problem/74399686> 6 7 Reviewed by Jonathan Bedard. 8 9 * http/tests/misc/prefetch-purpose-expected.txt: 10 * http/tests/misc/prefetch-purpose.html: 11 * http/tests/misc/resources/check-query-param.php: Removed. 12 * http/tests/misc/resources/check-query-param.py: Added. 13 * http/tests/misc/resources/prefetch-purpose.php: Removed. 14 * http/tests/misc/resources/prefetch-purpose.py: Added. 15 * http/tests/misc/resources/redirect-to-http-url.php: Removed. 16 * http/tests/misc/resources/redirect-to-http-url.py: Added. 17 * http/tests/misc/submit-get-in-utf16be.html: 18 * http/tests/misc/submit-get-in-utf16le.html: 19 * http/tests/misc/submit-post-in-utf16be.html: 20 * http/tests/misc/submit-post-in-utf16le.html: 21 * http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt: 22 * http/tests/misc/will-send-request-returns-null-on-redirect.html: 23 * platform/wk2/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt: 24 1 25 2021-04-06 Robert Jenner <jenner@apple.com> 2 26 … … 808 832 * fast/replaced/infinite-recursion-with-intrinsic-width-expected.txt: Added. 809 833 * fast/replaced/infinite-recursion-with-intrinsic-width.html: Added. 834 835 2021-04-02 Chris Gambrell <cgambrell@apple.com> 836 837 [LayoutTests] Convert http/tests/misc convert PHP to Python 838 https://bugs.webkit.org/show_bug.cgi?id=221981 839 <rdar://problem/74399686> 840 841 Reviewed by Jonathan Bedard. 842 843 * http/tests/misc/prefetch-purpose-expected.txt: 844 * http/tests/misc/prefetch-purpose.html: 845 * http/tests/misc/resources/check-query-param.php: Removed. 846 * http/tests/misc/resources/check-query-param.py: Added. 847 * http/tests/misc/resources/prefetch-purpose.php: Removed. 848 * http/tests/misc/resources/prefetch-purpose.py: Added. 849 * http/tests/misc/resources/redirect-to-http-url.py: Added. 850 * http/tests/misc/submit-get-in-utf16be.html: 851 * http/tests/misc/submit-get-in-utf16le.html: 852 * http/tests/misc/submit-post-in-utf16be.html: 853 * http/tests/misc/submit-post-in-utf16le.html: 810 854 811 855 2021-04-02 Chris Gambrell <cgambrell@apple.com> -
trunk/LayoutTests/http/tests/misc/prefetch-purpose-expected.txt
r71494 r275561 1 prefetch-purpose.p hphas MIME type text/html2 prefetch-purpose.p hphas MIME type text/html1 prefetch-purpose.py has MIME type text/html 2 prefetch-purpose.py has MIME type text/html 3 3 The cookie was set! 4 4 5 5 Purpose: prefetch 6 6 7 This test verifies that prefetches are sent with the HTTP request header Purpose: prefetch. To do this, the root page has a prefetch link targetting this subresource which contains a PHP script (resources/prefetch-purpose.p hp). That initial prefetch of this resource sets a cookie. Later, the root page sets window.location to target this script, which verifies the presence of the cookie, and generates the happy test output that you hopefully see right now.7 This test verifies that prefetches are sent with the HTTP request header Purpose: prefetch. To do this, the root page has a prefetch link targetting this subresource which contains a PHP script (resources/prefetch-purpose.py). That initial prefetch of this resource sets a cookie. Later, the root page sets window.location to target this script, which verifies the presence of the cookie, and generates the happy test output that you hopefully see right now. -
trunk/LayoutTests/http/tests/misc/prefetch-purpose.html
r120167 r275561 4 4 5 5 function finishUp() { 6 window.location = 'resources/prefetch-purpose.p hp';6 window.location = 'resources/prefetch-purpose.py'; 7 7 } 8 8 … … 13 13 } 14 14 </script> 15 <link href="resources/prefetch-purpose.p hp" rel="prefetch" onload="finishUp()">15 <link href="resources/prefetch-purpose.py" rel="prefetch" onload="finishUp()"> 16 16 </head> 17 17 <body> 18 <p>Nothing to see here, this page should replace itself with resources/prefetch-purpose.p hpalmost instantly.18 <p>Nothing to see here, this page should replace itself with resources/prefetch-purpose.py almost instantly. 19 19 </body> 20 20 </html> -
trunk/LayoutTests/http/tests/misc/submit-get-in-utf16be.html
r124707 r275561 15 15 </head> 16 16 <body onload="clickf()"> 17 <form name="f" action="resources/check-query-param.p hp" method="get">17 <form name="f" action="resources/check-query-param.py" method="get"> 18 18 <input name="q" type="text" value="™十"> 19 19 </form> -
trunk/LayoutTests/http/tests/misc/submit-get-in-utf16le.html
r124707 r275561 15 15 </head> 16 16 <body onload="clickf()"> 17 <form name="f" action="resources/check-query-param.p hp" method="get">17 <form name="f" action="resources/check-query-param.py" method="get"> 18 18 <input name="q" type="text" value="™十"> 19 19 </form> -
trunk/LayoutTests/http/tests/misc/submit-post-in-utf16be.html
r265187 r275561 13 13 </head> 14 14 <body onload="clickf()"> 15 <form name="f" action="resources/check-query-param.p hp" method="post">15 <form name="f" action="resources/check-query-param.py" method="post"> 16 16 <input name="q" type="text" value="™十"> 17 17 </form> -
trunk/LayoutTests/http/tests/misc/submit-post-in-utf16le.html
r124707 r275561 13 13 </head> 14 14 <body onload="clickf()"> 15 <form name="f" action="resources/check-query-param.p hp" method="post">15 <form name="f" action="resources/check-query-param.py" method="post"> 16 16 <input name="q" type="text" value="™十"> 17 17 </form> -
trunk/LayoutTests/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt
r153903 r275561 1 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.p hp - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse (null)1 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/misc/resources/redirect-to-http-url.py, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse (null) 2 2 http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html - didFinishLoading 3 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.p hp - willSendRequest <NSURLRequest URL http://www.example.com/, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php, http status code 302>3 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.py - willSendRequest <NSURLRequest URL http://www.example.com/, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/misc/resources/redirect-to-http-url.py, http status code 302> 4 4 Returning null for this redirect 5 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.p hp- didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999>5 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.py - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999> 6 6 https://bugs.webkit.org/show_bug.cgi?id=27595 7 7 This test checks to make sure that things behave as expected when the resource load delegate returns null in response to willSendRequest. -
trunk/LayoutTests/http/tests/misc/will-send-request-returns-null-on-redirect.html
r124692 r275561 14 14 https://bugs.webkit.org/show_bug.cgi?id=27595<br> 15 15 This test checks to make sure that things behave as expected when the resource load delegate returns null in response to willSendRequest.<br> 16 <iframe src="resources/redirect-to-http-url.p hp"></iframe>16 <iframe src="resources/redirect-to-http-url.py"></iframe> 17 17 </body> 18 18 </html> -
trunk/LayoutTests/platform/wk2/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt
r229831 r275561 1 1 http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html - didFinishLoading 2 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.p hp - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse (null)3 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.p hp - willSendRequest <NSURLRequest URL http://www.example.com/, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php, http status code 302>2 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/misc/resources/redirect-to-http-url.py, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse (null) 3 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.py - willSendRequest <NSURLRequest URL http://www.example.com/, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/misc/resources/redirect-to-http-url.py, http status code 302> 4 4 Returning null for this redirect 5 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.p hp- didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999>5 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.py - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999> 6 6 https://bugs.webkit.org/show_bug.cgi?id=27595 7 7 This test checks to make sure that things behave as expected when the resource load delegate returns null in response to willSendRequest.
Note: See TracChangeset
for help on using the changeset viewer.