Changeset 273819 in webkit


Ignore:
Timestamp:
Mar 3, 2021 9:14:52 AM (3 years ago)
Author:
Chris Gambrell
Message:

[LayoutTests] Convert http/tests/misc convert PHP to Python
https://bugs.webkit.org/show_bug.cgi?id=221981
<rdar://problem/74399686>

Reviewed by Jonathan Bedard.

  • http/tests/fetch/fetch-in-worker.js:
  • http/tests/misc/401-alternative-content-expected.txt:
  • http/tests/misc/401-alternative-content.php: Removed.
  • http/tests/misc/401-alternative-content.py: Added.
  • http/tests/misc/async-script-removed.html:
  • http/tests/misc/async-script.html:
  • http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin-expected.txt:
  • http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin.html:
  • http/tests/misc/authentication-redirect-1/resources/auth-echo.php: Removed.
  • http/tests/misc/authentication-redirect-1/resources/auth-echo.py: Added.
  • http/tests/misc/authentication-redirect-1/resources/auth-then-redirect.php: Removed.
  • http/tests/misc/authentication-redirect-1/resources/auth-then-redirect.py: Added.
  • http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin-expected.txt:
  • http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin.html:
  • http/tests/misc/authentication-redirect-2/resources/auth-echo.php: Removed.
  • http/tests/misc/authentication-redirect-2/resources/auth-echo.py: Added.
  • http/tests/misc/authentication-redirect-2/resources/auth-then-redirect.php: Removed.
  • http/tests/misc/authentication-redirect-2/resources/auth-then-redirect.py: Added.
  • http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-expected.txt:
  • http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials.html:
  • http/tests/misc/authentication-redirect-3/resources/auth-echo.php: Removed.
  • http/tests/misc/authentication-redirect-3/resources/auth-echo.py: Added.
  • http/tests/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.php: Removed.
  • http/tests/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.py: Added.
  • http/tests/misc/authentication-redirect-3/resources/auth-then-redirect.php: Removed.
  • http/tests/misc/authentication-redirect-3/resources/auth-then-redirect.py: Added.
  • http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url-expected.txt:
  • http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url.html:
  • http/tests/misc/authentication-redirect-4/resources/auth-echo.php: Removed.
  • http/tests/misc/authentication-redirect-4/resources/auth-echo.py: Added.
  • http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php: Removed.
  • http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.py: Added.
  • http/tests/misc/bad-charset-alias.html:
  • http/tests/misc/before-unload-load-image.html:
  • http/tests/misc/char-encoding-bocu-1-blocklisted.html:
  • http/tests/misc/char-encoding-in-hidden-charset-field-default.html:
  • http/tests/misc/char-encoding-in-hidden-charset-field-with-Big5.html:
  • http/tests/misc/char-encoding-in-hidden-charset-field-with-EUC-JP.html:
  • http/tests/misc/char-encoding-in-hidden-charset-field-with-ISO-2022-JP.html:
  • http/tests/misc/char-encoding-in-hidden-charset-field-with-Shift_JIS.html:
  • http/tests/misc/char-encoding-in-hidden-charset-field-with-accept-charset.html:
  • http/tests/misc/char-encoding-in-hidden-charset-field-with-get-method.html:
  • http/tests/misc/char-encoding-in-hidden-charset-field-with-one-field.html:
  • http/tests/misc/char-encoding-in-text-charset-field-with-value.html:
  • http/tests/misc/char-encoding-scsu-blocklisted.html:
  • http/tests/misc/char-encoding-without-charset-field.html:
  • http/tests/misc/charset-sniffer-end-sniffing.html:
  • http/tests/misc/css-reject-any-type-in-strict-mode-expected.txt:
  • http/tests/misc/css-reject-any-type-in-strict-mode.html:
  • http/tests/misc/dns-prefetch-control.html:
  • http/tests/misc/embed-image-load-outlives-gc-without-crashing.html:
  • http/tests/misc/empty-file-formdata.html:
  • http/tests/misc/extract-http-content-language-against-equiv.php: Removed.
  • http/tests/misc/extract-http-content-language-against-equiv.py: Added.
  • http/tests/misc/extract-http-content-language-malformed.php: Removed.
  • http/tests/misc/extract-http-content-language-malformed.py: Added.
  • http/tests/misc/extract-http-content-language-multiple.php: Removed.
  • http/tests/misc/extract-http-content-language-multiple.py: Added.
  • http/tests/misc/extract-http-content-language.php: Removed.
  • http/tests/misc/extract-http-content-language.py: Added.
  • http/tests/misc/form-blob-challenge.html:
  • http/tests/misc/form-post-textplain-cross-site.html:
  • http/tests/misc/form-post-textplain.html:
  • http/tests/misc/form-submit-file-cross-site-redirect.html:
  • http/tests/misc/form-submit-file-cross-site.html:
  • http/tests/misc/image-checks-for-accept.html:
  • http/tests/misc/image-error.html:
  • http/tests/misc/image-input-type-outlives-gc-without-crashing.html:
  • http/tests/misc/image-load-outlives-gc-without-crashing.html:
  • http/tests/misc/javascript-url-stop-loaders.html:
  • http/tests/misc/large-js-program.php: Removed.
  • http/tests/misc/large-js-program.py: Added.
  • http/tests/misc/location-with-space.php: Removed.
  • http/tests/misc/location-with-space.py: Added.
  • http/tests/misc/mask-image-accept.html:
  • http/tests/misc/object-image-error.html:
  • http/tests/misc/object-image-load-outlives-gc-without-crashing.html:
  • http/tests/misc/redirect-to-about-blank.html:
  • http/tests/misc/redirect-to-external-url-expected.txt:
  • http/tests/misc/redirect-with-quotes.php: Removed.
  • http/tests/misc/redirect-with-quotes.py: Added.
  • http/tests/misc/redirect.php: Removed.
  • http/tests/misc/redirect.py: Added.
  • http/tests/misc/referrer.html:
  • http/tests/misc/refresh-headers.php: Removed.
  • http/tests/misc/refresh-headers.py: Added.
  • http/tests/misc/resources/3rd-level-iframe-with-blocking-resource.php: Removed.
  • http/tests/misc/resources/3rd-level-iframe-with-blocking-resource.py: Added.
  • http/tests/misc/resources/404image.php: Removed.
  • http/tests/misc/resources/404image.py: Added.
  • http/tests/misc/resources/SVGFont-delayed-loader.svg:
  • http/tests/misc/resources/bad-charset-alias.php: Removed.
  • http/tests/misc/resources/bad-charset-alias.py: Added.
  • http/tests/misc/resources/basic-echo-post.php: Removed.
  • http/tests/misc/resources/basic-echo-post.py: Added.
  • http/tests/misc/resources/bocu-1-cyrillic.php: Removed.
  • http/tests/misc/resources/bocu-1-cyrillic.py: Added.
  • http/tests/misc/resources/char-encoding-in-hidden-charset-field.php: Removed.
  • http/tests/misc/resources/char-encoding-in-hidden-charset-field.py: Added.
  • http/tests/misc/resources/charset-sniffer-end-sniffing.php: Removed.
  • http/tests/misc/resources/charset-sniffer-end-sniffing.py: Added.
  • http/tests/misc/resources/check-keygen-post.php: Removed.
  • http/tests/misc/resources/check-keygen-post.py: Added.
  • http/tests/misc/resources/check-test-file.php: Removed.
  • http/tests/misc/resources/check-test-file.py: Added.
  • http/tests/misc/resources/check-unnamed-file-included-in-formdata.php: Removed.
  • http/tests/misc/resources/check-unnamed-file-included-in-formdata.py: Added.
  • http/tests/misc/resources/delayed-log.php: Removed.
  • http/tests/misc/resources/delayed-log.py: Added.
  • http/tests/misc/resources/dns-prefetch-control.php: Removed.
  • http/tests/misc/resources/dns-prefetch-control.py: Added.
  • http/tests/misc/resources/echo-query-param.php: Removed.
  • http/tests/misc/resources/echo-query-param.py: Added.
  • http/tests/misc/resources/form-post-textplain.php: Removed.
  • http/tests/misc/resources/form-post-textplain.py: Added.
  • http/tests/misc/resources/hang-connection.php: Removed.
  • http/tests/misc/resources/hang-connection.py: Added.
  • http/tests/misc/resources/image-checks-for-accept.php: Removed.
  • http/tests/misc/resources/image-checks-for-accept.py: Added.
  • http/tests/misc/resources/nested-iframe-loading-another-iframe.html:
  • http/tests/misc/resources/protected/protected-image.php: Removed.
  • http/tests/misc/resources/protected/protected-image.py: Added.
  • http/tests/misc/resources/random-no-store.php: Removed.
  • http/tests/misc/resources/random-no-store.py: Added.
  • http/tests/misc/resources/redirect-result.php: Removed.
  • http/tests/misc/resources/redirect-result.py: Added.
  • http/tests/misc/resources/redirect-step2.php: Removed.
  • http/tests/misc/resources/redirect-step2.py: Added.
  • http/tests/misc/resources/redirect-step3.php: Removed.
  • http/tests/misc/resources/redirect-step3.py: Added.
  • http/tests/misc/resources/redirect-step4.php: Removed.
  • http/tests/misc/resources/redirect-step4.py: Added.
  • http/tests/misc/resources/redirect-to-about-blank.php: Removed.
  • http/tests/misc/resources/redirect-to-about-blank.py: Added.
  • http/tests/misc/resources/redirect-to-external-url-iframe.html:
  • http/tests/misc/resources/redirect-to-external-url.php: Removed.
  • http/tests/misc/resources/redirect-to-external-url.py: Added.
  • http/tests/misc/resources/referrer-main-resource.php: Removed.
  • http/tests/misc/resources/referrer-main-resource.py: Added.
  • http/tests/misc/resources/referrer-result.php: Removed.
  • http/tests/misc/resources/referrer-result.py: Added.
  • http/tests/misc/resources/script-500.php: Removed.
  • http/tests/misc/resources/script-500.py: Added.
  • http/tests/misc/resources/scsu-cyrillic.php: Removed.
  • http/tests/misc/resources/scsu-cyrillic.py: Added.
  • http/tests/misc/resources/send-async-xhr.html:
  • http/tests/misc/resources/slowimage.php: Removed.
  • http/tests/misc/resources/slowimage.py: Added.
  • http/tests/misc/resources/stylesheet-bad-mime-type.php: Removed.
  • http/tests/misc/resources/stylesheet-bad-mime-type.py: Added.
  • http/tests/misc/resources/webtiming-cross-origin-and-back-redirect1.php: Removed.
  • http/tests/misc/resources/webtiming-cross-origin-and-back-redirect1.py: Added.
  • http/tests/misc/resources/webtiming-cross-origin-and-back-redirect2.php: Removed.
  • http/tests/misc/resources/webtiming-cross-origin-and-back-redirect2.py: Added.
  • http/tests/misc/script-500.html:
  • http/tests/misc/script-no-store.html:
  • http/tests/misc/submit-post-keygen.html:
  • http/tests/misc/svg-image-load-outlives-gc-without-crashing.html:
  • http/tests/misc/timer-vs-loading.html:
  • http/tests/misc/url-in-utf16be.html:
  • http/tests/misc/url-in-utf16le.html:
  • http/tests/misc/video-poster-image-load-outlives-gc-without-crashing.html:
  • http/tests/misc/webtiming-cross-origin-and-back1.html:
  • http/tests/misc/webtiming-cross-origin-redirect.php: Removed.
  • http/tests/misc/webtiming-cross-origin-redirect.py: Added.
  • http/tests/misc/webtiming-one-redirect.php: Removed.
  • http/tests/misc/webtiming-one-redirect.py: Added.
  • http/tests/misc/webtiming-slow-load.php: Removed.
  • http/tests/misc/webtiming-slow-load.py: Added.
  • http/tests/misc/webtiming-ssl.php: Removed.
  • http/tests/misc/webtiming-ssl.py: Added.
  • http/tests/misc/webtiming-two-redirects.php: Removed.
  • http/tests/misc/webtiming-two-redirects.py: Added.
  • http/tests/misc/xhtml.php: Removed.
  • http/tests/misc/xhtml.py: Added.
  • http/tests/xmlhttprequest/on-network-timeout-error-during-preflight.html:
  • http/tests/xmlhttprequest/resetting-timeout-to-zero.html:
  • http/tests/xmlhttprequest/timeout-greater-than-default-network-timeout.html:
  • platform/gtk/TestExpectations:
  • platform/ios/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/win/TestExpectations:
  • platform/win/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes-expected.txt:
  • platform/wk2/http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin-expected.txt:
  • platform/wk2/http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin-expected.txt:
  • platform/wk2/http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-expected.txt:
  • platform/wk2/http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url-expected.txt:
Location:
trunk/LayoutTests
Files:
57 added
57 deleted
74 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r273818 r273819  
     12021-03-03  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/fetch/fetch-in-worker.js:
     10        * http/tests/misc/401-alternative-content-expected.txt:
     11        * http/tests/misc/401-alternative-content.php: Removed.
     12        * http/tests/misc/401-alternative-content.py: Added.
     13        * http/tests/misc/async-script-removed.html:
     14        * http/tests/misc/async-script.html:
     15        * http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin-expected.txt:
     16        * http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin.html:
     17        * http/tests/misc/authentication-redirect-1/resources/auth-echo.php: Removed.
     18        * http/tests/misc/authentication-redirect-1/resources/auth-echo.py: Added.
     19        * http/tests/misc/authentication-redirect-1/resources/auth-then-redirect.php: Removed.
     20        * http/tests/misc/authentication-redirect-1/resources/auth-then-redirect.py: Added.
     21        * http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin-expected.txt:
     22        * http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin.html:
     23        * http/tests/misc/authentication-redirect-2/resources/auth-echo.php: Removed.
     24        * http/tests/misc/authentication-redirect-2/resources/auth-echo.py: Added.
     25        * http/tests/misc/authentication-redirect-2/resources/auth-then-redirect.php: Removed.
     26        * http/tests/misc/authentication-redirect-2/resources/auth-then-redirect.py: Added.
     27        * http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-expected.txt:
     28        * http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials.html:
     29        * http/tests/misc/authentication-redirect-3/resources/auth-echo.php: Removed.
     30        * http/tests/misc/authentication-redirect-3/resources/auth-echo.py: Added.
     31        * http/tests/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.php: Removed.
     32        * http/tests/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.py: Added.
     33        * http/tests/misc/authentication-redirect-3/resources/auth-then-redirect.php: Removed.
     34        * http/tests/misc/authentication-redirect-3/resources/auth-then-redirect.py: Added.
     35        * http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url-expected.txt:
     36        * http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url.html:
     37        * http/tests/misc/authentication-redirect-4/resources/auth-echo.php: Removed.
     38        * http/tests/misc/authentication-redirect-4/resources/auth-echo.py: Added.
     39        * http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php: Removed.
     40        * http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.py: Added.
     41        * http/tests/misc/bad-charset-alias.html:
     42        * http/tests/misc/before-unload-load-image.html:
     43        * http/tests/misc/char-encoding-bocu-1-blocklisted.html:
     44        * http/tests/misc/char-encoding-in-hidden-charset-field-default.html:
     45        * http/tests/misc/char-encoding-in-hidden-charset-field-with-Big5.html:
     46        * http/tests/misc/char-encoding-in-hidden-charset-field-with-EUC-JP.html:
     47        * http/tests/misc/char-encoding-in-hidden-charset-field-with-ISO-2022-JP.html:
     48        * http/tests/misc/char-encoding-in-hidden-charset-field-with-Shift_JIS.html:
     49        * http/tests/misc/char-encoding-in-hidden-charset-field-with-accept-charset.html:
     50        * http/tests/misc/char-encoding-in-hidden-charset-field-with-get-method.html:
     51        * http/tests/misc/char-encoding-in-hidden-charset-field-with-one-field.html:
     52        * http/tests/misc/char-encoding-in-text-charset-field-with-value.html:
     53        * http/tests/misc/char-encoding-scsu-blocklisted.html:
     54        * http/tests/misc/char-encoding-without-charset-field.html:
     55        * http/tests/misc/charset-sniffer-end-sniffing.html:
     56        * http/tests/misc/css-reject-any-type-in-strict-mode-expected.txt:
     57        * http/tests/misc/css-reject-any-type-in-strict-mode.html:
     58        * http/tests/misc/dns-prefetch-control.html:
     59        * http/tests/misc/embed-image-load-outlives-gc-without-crashing.html:
     60        * http/tests/misc/empty-file-formdata.html:
     61        * http/tests/misc/extract-http-content-language-against-equiv.php: Removed.
     62        * http/tests/misc/extract-http-content-language-against-equiv.py: Added.
     63        * http/tests/misc/extract-http-content-language-malformed.php: Removed.
     64        * http/tests/misc/extract-http-content-language-malformed.py: Added.
     65        * http/tests/misc/extract-http-content-language-multiple.php: Removed.
     66        * http/tests/misc/extract-http-content-language-multiple.py: Added.
     67        * http/tests/misc/extract-http-content-language.php: Removed.
     68        * http/tests/misc/extract-http-content-language.py: Added.
     69        * http/tests/misc/form-blob-challenge.html:
     70        * http/tests/misc/form-post-textplain-cross-site.html:
     71        * http/tests/misc/form-post-textplain.html:
     72        * http/tests/misc/form-submit-file-cross-site-redirect.html:
     73        * http/tests/misc/form-submit-file-cross-site.html:
     74        * http/tests/misc/image-checks-for-accept.html:
     75        * http/tests/misc/image-error.html:
     76        * http/tests/misc/image-input-type-outlives-gc-without-crashing.html:
     77        * http/tests/misc/image-load-outlives-gc-without-crashing.html:
     78        * http/tests/misc/javascript-url-stop-loaders.html:
     79        * http/tests/misc/large-js-program.php: Removed.
     80        * http/tests/misc/large-js-program.py: Added.
     81        * http/tests/misc/location-with-space.php: Removed.
     82        * http/tests/misc/location-with-space.py: Added.
     83        * http/tests/misc/mask-image-accept.html:
     84        * http/tests/misc/object-image-error.html:
     85        * http/tests/misc/object-image-load-outlives-gc-without-crashing.html:
     86        * http/tests/misc/redirect-to-about-blank.html:
     87        * http/tests/misc/redirect-to-external-url-expected.txt:
     88        * http/tests/misc/redirect-with-quotes.php: Removed.
     89        * http/tests/misc/redirect-with-quotes.py: Added.
     90        * http/tests/misc/redirect.php: Removed.
     91        * http/tests/misc/redirect.py: Added.
     92        * http/tests/misc/referrer.html:
     93        * http/tests/misc/refresh-headers.php: Removed.
     94        * http/tests/misc/refresh-headers.py: Added.
     95        * http/tests/misc/resources/3rd-level-iframe-with-blocking-resource.php: Removed.
     96        * http/tests/misc/resources/3rd-level-iframe-with-blocking-resource.py: Added.
     97        * http/tests/misc/resources/404image.php: Removed.
     98        * http/tests/misc/resources/404image.py: Added.
     99        * http/tests/misc/resources/SVGFont-delayed-loader.svg:
     100        * http/tests/misc/resources/bad-charset-alias.php: Removed.
     101        * http/tests/misc/resources/bad-charset-alias.py: Added.
     102        * http/tests/misc/resources/basic-echo-post.php: Removed.
     103        * http/tests/misc/resources/basic-echo-post.py: Added.
     104        * http/tests/misc/resources/bocu-1-cyrillic.php: Removed.
     105        * http/tests/misc/resources/bocu-1-cyrillic.py: Added.
     106        * http/tests/misc/resources/char-encoding-in-hidden-charset-field.php: Removed.
     107        * http/tests/misc/resources/char-encoding-in-hidden-charset-field.py: Added.
     108        * http/tests/misc/resources/charset-sniffer-end-sniffing.php: Removed.
     109        * http/tests/misc/resources/charset-sniffer-end-sniffing.py: Added.
     110        * http/tests/misc/resources/check-keygen-post.php: Removed.
     111        * http/tests/misc/resources/check-keygen-post.py: Added.
     112        * http/tests/misc/resources/check-test-file.php: Removed.
     113        * http/tests/misc/resources/check-test-file.py: Added.
     114        * http/tests/misc/resources/check-unnamed-file-included-in-formdata.php: Removed.
     115        * http/tests/misc/resources/check-unnamed-file-included-in-formdata.py: Added.
     116        * http/tests/misc/resources/delayed-log.php: Removed.
     117        * http/tests/misc/resources/delayed-log.py: Added.
     118        * http/tests/misc/resources/dns-prefetch-control.php: Removed.
     119        * http/tests/misc/resources/dns-prefetch-control.py: Added.
     120        * http/tests/misc/resources/echo-query-param.php: Removed.
     121        * http/tests/misc/resources/echo-query-param.py: Added.
     122        * http/tests/misc/resources/form-post-textplain.php: Removed.
     123        * http/tests/misc/resources/form-post-textplain.py: Added.
     124        * http/tests/misc/resources/hang-connection.php: Removed.
     125        * http/tests/misc/resources/hang-connection.py: Added.
     126        * http/tests/misc/resources/image-checks-for-accept.php: Removed.
     127        * http/tests/misc/resources/image-checks-for-accept.py: Added.
     128        * http/tests/misc/resources/nested-iframe-loading-another-iframe.html:
     129        * http/tests/misc/resources/protected/protected-image.php: Removed.
     130        * http/tests/misc/resources/protected/protected-image.py: Added.
     131        * http/tests/misc/resources/random-no-store.php: Removed.
     132        * http/tests/misc/resources/random-no-store.py: Added.
     133        * http/tests/misc/resources/redirect-result.php: Removed.
     134        * http/tests/misc/resources/redirect-result.py: Added.
     135        * http/tests/misc/resources/redirect-step2.php: Removed.
     136        * http/tests/misc/resources/redirect-step2.py: Added.
     137        * http/tests/misc/resources/redirect-step3.php: Removed.
     138        * http/tests/misc/resources/redirect-step3.py: Added.
     139        * http/tests/misc/resources/redirect-step4.php: Removed.
     140        * http/tests/misc/resources/redirect-step4.py: Added.
     141        * http/tests/misc/resources/redirect-to-about-blank.php: Removed.
     142        * http/tests/misc/resources/redirect-to-about-blank.py: Added.
     143        * http/tests/misc/resources/redirect-to-external-url-iframe.html:
     144        * http/tests/misc/resources/redirect-to-external-url.php: Removed.
     145        * http/tests/misc/resources/redirect-to-external-url.py: Added.
     146        * http/tests/misc/resources/referrer-main-resource.php: Removed.
     147        * http/tests/misc/resources/referrer-main-resource.py: Added.
     148        * http/tests/misc/resources/referrer-result.php: Removed.
     149        * http/tests/misc/resources/referrer-result.py: Added.
     150        * http/tests/misc/resources/script-500.php: Removed.
     151        * http/tests/misc/resources/script-500.py: Added.
     152        * http/tests/misc/resources/scsu-cyrillic.php: Removed.
     153        * http/tests/misc/resources/scsu-cyrillic.py: Added.
     154        * http/tests/misc/resources/send-async-xhr.html:
     155        * http/tests/misc/resources/slowimage.php: Removed.
     156        * http/tests/misc/resources/slowimage.py: Added.
     157        * http/tests/misc/resources/stylesheet-bad-mime-type.php: Removed.
     158        * http/tests/misc/resources/stylesheet-bad-mime-type.py: Added.
     159        * http/tests/misc/resources/webtiming-cross-origin-and-back-redirect1.php: Removed.
     160        * http/tests/misc/resources/webtiming-cross-origin-and-back-redirect1.py: Added.
     161        * http/tests/misc/resources/webtiming-cross-origin-and-back-redirect2.php: Removed.
     162        * http/tests/misc/resources/webtiming-cross-origin-and-back-redirect2.py: Added.
     163        * http/tests/misc/script-500.html:
     164        * http/tests/misc/script-no-store.html:
     165        * http/tests/misc/submit-post-keygen.html:
     166        * http/tests/misc/svg-image-load-outlives-gc-without-crashing.html:
     167        * http/tests/misc/timer-vs-loading.html:
     168        * http/tests/misc/url-in-utf16be.html:
     169        * http/tests/misc/url-in-utf16le.html:
     170        * http/tests/misc/video-poster-image-load-outlives-gc-without-crashing.html:
     171        * http/tests/misc/webtiming-cross-origin-and-back1.html:
     172        * http/tests/misc/webtiming-cross-origin-redirect.php: Removed.
     173        * http/tests/misc/webtiming-cross-origin-redirect.py: Added.
     174        * http/tests/misc/webtiming-one-redirect.php: Removed.
     175        * http/tests/misc/webtiming-one-redirect.py: Added.
     176        * http/tests/misc/webtiming-slow-load.php: Removed.
     177        * http/tests/misc/webtiming-slow-load.py: Added.
     178        * http/tests/misc/webtiming-ssl.php: Removed.
     179        * http/tests/misc/webtiming-ssl.py: Added.
     180        * http/tests/misc/webtiming-two-redirects.php: Removed.
     181        * http/tests/misc/webtiming-two-redirects.py: Added.
     182        * http/tests/misc/xhtml.php: Removed.
     183        * http/tests/misc/xhtml.py: Added.
     184        * http/tests/xmlhttprequest/on-network-timeout-error-during-preflight.html:
     185        * http/tests/xmlhttprequest/resetting-timeout-to-zero.html:
     186        * http/tests/xmlhttprequest/timeout-greater-than-default-network-timeout.html:
     187        * platform/gtk/TestExpectations:
     188        * platform/ios/TestExpectations:
     189        * platform/mac/TestExpectations:
     190        * platform/win/TestExpectations:
     191        * platform/win/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes-expected.txt:
     192        * platform/wk2/http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin-expected.txt:
     193        * platform/wk2/http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin-expected.txt:
     194        * platform/wk2/http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-expected.txt:
     195        * platform/wk2/http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url-expected.txt:
     196
    11972021-03-03  Youenn Fablet  <youenn@apple.com>
    2198
  • trunk/LayoutTests/http/tests/fetch/fetch-in-worker.js

    r204704 r273819  
    44        return;
    55
    6     var promise1 = fetch("/misc/resources/delayed-log.php?delay=100").then(() => {
     6    var promise1 = fetch("/misc/resources/delayed-log.py?delay=100").then(() => {
    77        postMessage("FAIL: promise 1 resolved");
    88    }, () => {
  • trunk/LayoutTests/http/tests/misc/401-alternative-content-expected.txt

    r153903 r273819  
    1 http://127.0.0.1:8000/misc/401-alternative-content.php - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
     1http://127.0.0.1:8000/misc/401-alternative-content.py - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
    22PASS
  • trunk/LayoutTests/http/tests/misc/async-script-removed.html

    r120167 r273819  
    2626    // All these scripts should be executed after the next script tag.
    2727    var s1 = document.createElement("script");
    28     s1.src = "resources/delayed-log.php?delay=3&msg=1";
     28    s1.src = "resources/delayed-log.py?delay=3&msg=1";
    2929    s1.async = false;
    3030    document.body.appendChild(s1);
    3131
    3232    var s2 = document.createElement("script");
    33     s2.src = "resources/delayed-log.php?delay=2&msg=2";
     33    s2.src = "resources/delayed-log.py?delay=2&msg=2";
    3434    s2.async = false;
    3535    document.body.appendChild(s2);
    3636
    3737    var s3 = document.createElement("script");
    38     s3.src = "resources/delayed-log.php?delay=1&msg=3&done=1";
     38    s3.src = "resources/delayed-log.py?delay=1&msg=3&done=1";
    3939    s3.async = false;
    4040    document.body.appendChild(s3);
  • trunk/LayoutTests/http/tests/misc/async-script.html

    r145090 r273819  
    1414function test() {
    1515    var s = document.createElement("script");
    16     s.src = "resources/delayed-log.php?delay=1&msg=PASS&done=1";
     16    s.src = "resources/delayed-log.py?delay=1&msg=PASS&done=1";
    1717    s.async = true;
    1818    document.body.appendChild(s);
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin-expected.txt

    r231450 r273819  
    1 http://localhost:8000/misc/authentication-redirect-1/resources/auth-then-redirect.php?redirect=301 - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
     1http://localhost:8000/misc/authentication-redirect-1/resources/auth-then-redirect.py?redirect=301 - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
    22https://bugs.webkit.org/show_bug.cgi?id=40138
    33You should load this page at 127.0.0.1:8000 so localhost:8000 is considered a different security origin.
    4 This test loads a php script which demands http authentication, then uses it to redirect to another script in a different origin that shows what authentication headers were sent with the final request.
     4This test loads a py script which demands http authentication, then uses it to redirect to another script in a different origin that shows what authentication headers were sent with the final request.
    55It does this once each for HTTP 301, 302, 303, and 307 redirects.
    66If not running under DRT, enter any credentials when asked.
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin.html

    r120167 r273819  
    3131{
    3232    i = document.createElement("iframe");
    33     i.setAttribute("src", "http://localhost:8000/misc/authentication-redirect-1/resources/auth-then-redirect.php?redirect=" + code);
     33    i.setAttribute("src", "http://localhost:8000/misc/authentication-redirect-1/resources/auth-then-redirect.py?redirect=" + code);
    3434    i.setAttribute("onload", "frameLoaded()");
    3535    document.body.appendChild(i);
     
    4141https://bugs.webkit.org/show_bug.cgi?id=40138<br>
    4242You should load this page at 127.0.0.1:8000 so localhost:8000 is considered a different security origin.<br>
    43 This test loads a php script which demands http authentication, then uses it to redirect to another script in a different origin that shows what authentication headers were sent with the final request.<br>
     43This test loads a py script which demands http authentication, then uses it to redirect to another script in a different origin that shows what authentication headers were sent with the final request.<br>
    4444It does this once each for HTTP 301, 302, 303, and 307 redirects.<br>
    4545If not running under DRT, enter any credentials when asked.<br>
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin-expected.txt

    r231450 r273819  
    1 http://127.0.0.1:8000/misc/authentication-redirect-2/resources/auth-then-redirect.php?redirect=301 - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
     1http://127.0.0.1:8000/misc/authentication-redirect-2/resources/auth-then-redirect.py?redirect=301 - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
    22https://bugs.webkit.org/show_bug.cgi?id=66354
    33You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.
    4 This test loads a php script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.
     4This test loads a py script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.
    55It does this once each for HTTP 301, 302, 303, and 307 redirects.
    66If not running under DRT, enter any credentials when asked.
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin.html

    r120167 r273819  
    3131{
    3232    i = document.createElement("iframe");
    33     i.setAttribute("src", "http://127.0.0.1:8000/misc/authentication-redirect-2/resources/auth-then-redirect.php?redirect=" + code);
     33    i.setAttribute("src", "http://127.0.0.1:8000/misc/authentication-redirect-2/resources/auth-then-redirect.py?redirect=" + code);
    3434    i.setAttribute("onload", "frameLoaded()");
    3535    document.body.appendChild(i);
     
    4141https://bugs.webkit.org/show_bug.cgi?id=66354<br>
    4242You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.<br>
    43 This test loads a php script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.<br>
     43This test loads a py script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.<br>
    4444It does this once each for HTTP 301, 302, 303, and 307 redirects.<br>
    4545If not running under DRT, enter any credentials when asked.<br>
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-expected.txt

    r231450 r273819  
    1 http://127.0.0.1:8000/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.php?redirect=301 - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
     1http://127.0.0.1:8000/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.py?redirect=301 - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
    22https://bugs.webkit.org/show_bug.cgi?id=66354
    33You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.
    4 This test loads a php script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.
     4This test loads a py script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.
    55The redirect includes credentials in the location url, and they should be preferred over credentials that WebCore has cached.
    66It does this once each for HTTP 301, 302, 303, and 307 redirects.
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials.html

    r120167 r273819  
    3131{
    3232    i = document.createElement("iframe");
    33     i.setAttribute("src", "http://127.0.0.1:8000/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.php?redirect=" + code);
     33    i.setAttribute("src", "http://127.0.0.1:8000/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.py?redirect=" + code);
    3434    i.setAttribute("onload", "frameLoaded()");
    3535    document.body.appendChild(i);
     
    4141https://bugs.webkit.org/show_bug.cgi?id=66354<br>
    4242You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.<br>
    43 This test loads a php script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.<br>
     43This test loads a py script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.<br>
    4444The redirect includes credentials in the location url, and they should be preferred over credentials that WebCore has cached.<br>
    4545It does this once each for HTTP 301, 302, 303, and 307 redirects.<br>
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url-expected.txt

    r231450 r273819  
    1 http://127.0.0.1:8000/misc/authentication-redirect-4/resources/auth-then-redirect.php?redirect - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
     1http://127.0.0.1:8000/misc/authentication-redirect-4/resources/auth-then-redirect.py?redirect - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
    22https://bugs.webkit.org/show_bug.cgi?id=105190
    33You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.
    4 This test loads a php script which demands http authentication, then uses it to redirect via 301 to another script in the same origin that shows what authentication headers were sent with the final request. It verifies that the credentials are not placed in the final URL.
     4This test loads a py script which demands http authentication, then uses it to redirect via 301 to another script in the same origin that shows what authentication headers were sent with the final request. It verifies that the credentials are not placed in the final URL.
    55If not running under DRT, enter any credentials when asked.
    66
     
    99Frame: '<!--frame1-->'
    1010--------
    11 http://127.0.0.1:8000/misc/authentication-redirect-4/resources/auth-echo.php loaded with HTTP authentication username 'testUser' and password 'testPassword'
     11http://127.0.0.1:8000/misc/authentication-redirect-4/resources/auth-echo.py loaded with HTTP authentication username 'testUser' and password 'testPassword'
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url.html

    r139062 r273819  
    1313{
    1414    i = document.createElement("iframe");
    15     i.setAttribute("src", "http://127.0.0.1:8000/misc/authentication-redirect-4/resources/auth-then-redirect.php?redirect");
     15    i.setAttribute("src", "http://127.0.0.1:8000/misc/authentication-redirect-4/resources/auth-then-redirect.py?redirect");
    1616    document.body.appendChild(i);
    1717}
     
    2222https://bugs.webkit.org/show_bug.cgi?id=105190<br>
    2323You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.<br>
    24 This test loads a php script which demands http authentication, then uses it to redirect via 301 to another script in the same origin that shows what authentication headers were sent with the final request. It verifies that the credentials are not placed in the final URL.<br>
     24This test loads a py script which demands http authentication, then uses it to redirect via 301 to another script in the same origin that shows what authentication headers were sent with the final request. It verifies that the credentials are not placed in the final URL.<br>
    2525If not running under DRT, enter any credentials when asked.<br>
    2626</body>
  • trunk/LayoutTests/http/tests/misc/bad-charset-alias.html

    r120167 r273819  
    3030for (i = 0; i < aliases.length; ++i) {
    3131    var ifr = document.createElement("iframe");
    32     ifr.setAttribute("src", "resources/bad-charset-alias.php?charset=" + aliases[i]);
     32    ifr.setAttribute("src", "resources/bad-charset-alias.py?charset=" + aliases[i]);
    3333    document.body.appendChild(ifr);
    3434}
  • trunk/LayoutTests/http/tests/misc/before-unload-load-image.html

    r227074 r273819  
    4040        return;
    4141    var image = new contentWindow.Image;
    42     image.src = "http://127.0.0.1:8000/misc/resources/protected/protected-image.php";
     42    image.src = "http://127.0.0.1:8000/misc/resources/protected/protected-image.py";
    4343}
    4444
  • trunk/LayoutTests/http/tests/misc/char-encoding-bocu-1-blocklisted.html

    r271043 r273819  
    2323    }
    2424</script>
    25 <iframe id="bocu1Frame" src="resources/bocu-1-cyrillic.php" onload="run()"></iframe>
     25<iframe id="bocu1Frame" src="resources/bocu-1-cyrillic.py" onload="run()"></iframe>
    2626<script src="../resources/js-test-post.js"></script>
    2727</body>
  • trunk/LayoutTests/http/tests/misc/char-encoding-in-hidden-charset-field-default.html

    r174160 r273819  
    1111This should submit _charset_=iso8559-1.  Note that this _charset_ input has a value before it submits, which is overwritten. IE6 submits windows1252, because all pages are evidently Unicode in IE6.  The point is that it submits the charset we're using, not what exactly it submits.</p>
    1212
    13 <form name="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post">
     13<form name="testForm" action="resources/char-encoding-in-hidden-charset-field.py" method="post">
    1414<input type=hidden name="_charset_" value="This value should change">
    1515<input type=submit>
  • trunk/LayoutTests/http/tests/misc/char-encoding-in-hidden-charset-field-with-Big5.html

    r120167 r273819  
    99<p>This should submit one _charset_=Big5</p>
    1010
    11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post" accept-charset="Big5">
     11<form id="testForm" action="resources/char-encoding-in-hidden-charset-field.py" method="post" accept-charset="Big5">
    1212<input type=hidden name="_charset_">
    1313<input type=submit>
  • trunk/LayoutTests/http/tests/misc/char-encoding-in-hidden-charset-field-with-EUC-JP.html

    r120167 r273819  
    99<p>This should submit one _charset_=EUC-JP</p>
    1010
    11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post" accept-charset="EUC-JP">
     11<form id="testForm" action="resources/char-encoding-in-hidden-charset-field.py" method="post" accept-charset="EUC-JP">
    1212<input type=hidden name="_charset_">
    1313<input type=submit>
  • trunk/LayoutTests/http/tests/misc/char-encoding-in-hidden-charset-field-with-ISO-2022-JP.html

    r120167 r273819  
    99<p>This should submit one _charset_=ISO-2022-JP</p>
    1010
    11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post" accept-charset="ISO-2022-JP">
     11<form id="testForm" action="resources/char-encoding-in-hidden-charset-field.py" method="post" accept-charset="ISO-2022-JP">
    1212<input type=hidden name="_charset_">
    1313<input type=submit>
  • trunk/LayoutTests/http/tests/misc/char-encoding-in-hidden-charset-field-with-Shift_JIS.html

    r120167 r273819  
    99<p>This should submit one _charset_=Shift_JIS</p>
    1010
    11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post" accept-charset="Shift_JIS">
     11<form id="testForm" action="resources/char-encoding-in-hidden-charset-field.py" method="post" accept-charset="Shift_JIS">
    1212<input type=hidden name="_charset_">
    1313<input type=submit>
  • trunk/LayoutTests/http/tests/misc/char-encoding-in-hidden-charset-field-with-accept-charset.html

    r120167 r273819  
    99<p>This should submit two _charset_=UTF-8.  IE6 submits windows1252.</p>
    1010
    11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post" accept-charset="UTF-8">
     11<form id="testForm" action="resources/char-encoding-in-hidden-charset-field.py" method="post" accept-charset="UTF-8">
    1212<input type=hidden name="_charset_">
    1313<input type=hidden name="_charset_">
  • trunk/LayoutTests/http/tests/misc/char-encoding-in-hidden-charset-field-with-get-method.html

    r120167 r273819  
    99<p>This should submit one _charset_=UTF-8</p>
    1010
    11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" accept-charset="UTF-8">
     11<form id="testForm" action="resources/char-encoding-in-hidden-charset-field.py" accept-charset="UTF-8">
    1212<input type=hidden name="_charset_">
    1313<input type=submit>
  • trunk/LayoutTests/http/tests/misc/char-encoding-in-hidden-charset-field-with-one-field.html

    r120167 r273819  
    99<p>This should submit one _charset_=UTF-8, for post method and enctype text/plain</p>
    1010
    11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post" enctype="text/plain" accept-charset="UTF-8">
     11<form id="testForm" action="resources/char-encoding-in-hidden-charset-field.py" method="post" enctype="text/plain" accept-charset="UTF-8">
    1212<input type=hidden name="_charset_">
    1313<input type=submit>
  • trunk/LayoutTests/http/tests/misc/char-encoding-in-text-charset-field-with-value.html

    r120167 r273819  
    99<p>This should submit _charset_=I\'m a little input, short and stout</p>
    1010
    11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post">
     11<form id="testForm" action="resources/char-encoding-in-hidden-charset-field.py" method="post">
    1212<input type=text name="_charset_" value="I'm a little input, short and stout">
    1313<input type=submit>
  • trunk/LayoutTests/http/tests/misc/char-encoding-scsu-blocklisted.html

    r271043 r273819  
    2323    }
    2424</script>
    25 <iframe id="scsuFrame" src="resources/scsu-cyrillic.php" onload="run()"></iframe>
     25<iframe id="scsuFrame" src="resources/scsu-cyrillic.py" onload="run()"></iframe>
    2626<script src="../resources/js-test-post.js"></script>
    2727</body>
  • trunk/LayoutTests/http/tests/misc/char-encoding-without-charset-field.html

    r120167 r273819  
    99<p>This should submit nothing except the header</p>
    1010
    11 <form id="testForm" action="resources/char-encoding-in-hidden-charset-field.php" method="post" accept-charset="UTF-8">
     11<form id="testForm" action="resources/char-encoding-in-hidden-charset-field.py" method="post" accept-charset="UTF-8">
    1212<input type=submit>
    1313</form>
  • trunk/LayoutTests/http/tests/misc/charset-sniffer-end-sniffing.html

    r120167 r273819  
    4444<body onload="test()">
    4545<pre id="log"></pre>
    46 <iframe id="frame" src="resources/charset-sniffer-end-sniffing.php"></iframe>
     46<iframe id="frame" src="resources/charset-sniffer-end-sniffing.py"></iframe>
    4747<p>This test is for a bug where the charset sniffer would not stop looking
    4848for charset if the body contains no tags. Charset sniffer is supposed to stop
  • trunk/LayoutTests/http/tests/misc/css-reject-any-type-in-strict-mode-expected.txt

    r187489 r273819  
    1 CONSOLE MESSAGE: Did not parse stylesheet at 'http://127.0.0.1:8000/misc/resources/stylesheet-bad-mime-type.php' because non CSS MIME types are not allowed in strict mode.
     1CONSOLE MESSAGE: Did not parse stylesheet at 'http://127.0.0.1:8000/misc/resources/stylesheet-bad-mime-type.py' because non CSS MIME types are not allowed in strict mode.
    22Related test to http://bugs.webkit.org/show_bug.cgi?id=11451 REGRESSION: Dell.com does not render correctly in ToT (stylesheet not loaded). Making sure that in strict mode we would not load such a stylesheet.
    33
  • trunk/LayoutTests/http/tests/misc/css-reject-any-type-in-strict-mode.html

    r182829 r273819  
    33<head>
    44    <title></title>
    5     <link rel="stylesheet" href="resources/stylesheet-bad-mime-type.php">
     5    <link rel="stylesheet" href="resources/stylesheet-bad-mime-type.py">
    66    <script>
    77        function test()
  • trunk/LayoutTests/http/tests/misc/dns-prefetch-control.html

    r120167 r273819  
    5454  <script>emitFrameForScheme("ftp:")</script>
    5555  <script>emitFrameForHost("%")</script>
    56   <iframe src="resources/dns-prefetch-control.php"></iframe>
    57   <iframe src="resources/dns-prefetch-control.php?value=on"></iframe>
    58   <iframe src="https://127.0.0.1:8443/misc/resources/dns-prefetch-control.php?value=on"></iframe>
     56  <iframe src="resources/dns-prefetch-control.py"></iframe>
     57  <iframe src="resources/dns-prefetch-control.py?value=on"></iframe>
     58  <iframe src="https://127.0.0.1:8443/misc/resources/dns-prefetch-control.py?value=on"></iframe>
    5959</div>
    6060
     
    6262
    6363<div>
    64   <iframe src="resources/dns-prefetch-control.php?value=off"></iframe>
    65   <iframe src="resources/dns-prefetch-control.php?value=foo"></iframe>
    66   <iframe src="https://127.0.0.1:8443/misc/resources/dns-prefetch-control.php"></iframe>
    67   <iframe src="https://127.0.0.1:8443/misc/resources/dns-prefetch-control.php?value=off"></iframe>
    68   <iframe src="https://127.0.0.1:8443/misc/resources/dns-prefetch-control.php?value=foo"></iframe>
    69   <iframe src="data:text/html,<meta http-equiv='x-dns-prefetch-control' value='off'><iframe src='http://127.0.0.1:8000/misc/resources/dns-prefetch-control.php'></iframe>"></iframe>
    70   <iframe src="data:text/html,<meta http-equiv='x-dns-prefetch-control' value='on'><iframe src='https://127.0.0.1:8443/misc/resources/dns-prefetch-control.php'></iframe>"></iframe>
     64  <iframe src="resources/dns-prefetch-control.py?value=off"></iframe>
     65  <iframe src="resources/dns-prefetch-control.py?value=foo"></iframe>
     66  <iframe src="https://127.0.0.1:8443/misc/resources/dns-prefetch-control.py"></iframe>
     67  <iframe src="https://127.0.0.1:8443/misc/resources/dns-prefetch-control.py?value=off"></iframe>
     68  <iframe src="https://127.0.0.1:8443/misc/resources/dns-prefetch-control.py?value=foo"></iframe>
     69  <iframe src="data:text/html,<meta http-equiv='x-dns-prefetch-control' value='off'><iframe src='http://127.0.0.1:8000/misc/resources/dns-prefetch-control.py'></iframe>"></iframe>
     70  <iframe src="data:text/html,<meta http-equiv='x-dns-prefetch-control' value='on'><iframe src='https://127.0.0.1:8443/misc/resources/dns-prefetch-control.py'></iframe>"></iframe>
    7171</div>
    7272
  • trunk/LayoutTests/http/tests/misc/embed-image-load-outlives-gc-without-crashing.html

    r145090 r273819  
    2020This has an embed element representing an image.  That embed element is wrapped in a div.  It removes the div, forces garbage collection, and makes sure that the window load event does not fire.  It also makes sure there is no crash.<br>
    2121<div id="thediv">
    22 <embed type="image/gif" src="resources/slowimage.php">
     22<embed type="image/gif" src="resources/slowimage.py">
    2323</embed>
    2424</div>
  • trunk/LayoutTests/http/tests/misc/empty-file-formdata.html

    r145160 r273819  
    1616</head>
    1717<body>
    18 <form enctype="multipart/form-data" method="POST" action="resources/check-unnamed-file-included-in-formdata.php">
     18<form enctype="multipart/form-data" method="POST" action="resources/check-unnamed-file-included-in-formdata.py">
    1919<input name="data" type="file"></input>
    2020</form>
  • trunk/LayoutTests/http/tests/misc/form-blob-challenge.html

    r218517 r273819  
    1616    }
    1717};
    18 xhr.open("POST", "resources/basic-echo-post.php", true, "testuser", "testpassword");
     18xhr.open("POST", "resources/basic-echo-post.py", true, "testuser", "testpassword");
    1919xhr.send(formData);
    2020</script>
  • trunk/LayoutTests/http/tests/misc/form-post-textplain-cross-site.html

    r237639 r273819  
    99</p>
    1010
    11 <form enctype="text/plain" method="post" action="http://localhost:8000/misc/resources/form-post-textplain.php" name="f">
     11<form enctype="text/plain" method="post" action="http://localhost:8000/misc/resources/form-post-textplain.py" name="f">
    1212    <input type="hidden" name="f1" value="This is field #1 &!@$%&#10;='<>">
    1313    <input type="hidden" name="f2" value='This is field #2 ""'>
  • trunk/LayoutTests/http/tests/misc/form-post-textplain.html

    r132758 r273819  
    1010</p>
    1111
    12 <form enctype="text/plain" method="post" action="resources/form-post-textplain.php" name="f">
     12<form enctype="text/plain" method="post" action="resources/form-post-textplain.py" name="f">
    1313    <input type="hidden" name="f1" value="This is field #1 &!@$%&#10;='<>">
    1414    <input type="hidden" name="f2" value='This is field #2 ""'>
  • trunk/LayoutTests/http/tests/misc/form-submit-file-cross-site-redirect.html

    r272981 r273819  
    3535</head>
    3636<body>
    37 <form enctype="multipart/form-data" method="POST" action="/resources/redirect.py?code=307&url=http%3A%2F%2Flocalhost%3A8000%2Fmisc%2Fresources%2Fcheck-test-file.php">
     37<form enctype="multipart/form-data" method="POST" action="/resources/redirect.py?code=307&url=http%3A%2F%2Flocalhost%3A8000%2Fmisc%2Fresources%2Fcheck-test-file.py">
    3838<input name="data" type="file"></input>
    3939</form>
  • trunk/LayoutTests/http/tests/misc/form-submit-file-cross-site.html

    r237683 r273819  
    3535</head>
    3636<body>
    37 <form enctype="multipart/form-data" method="POST" action="http://localhost:8000/misc/resources/check-test-file.php">
     37<form enctype="multipart/form-data" method="POST" action="http://localhost:8000/misc/resources/check-test-file.py">
    3838<input name="data" type="file"></input>
    3939</form>
  • trunk/LayoutTests/http/tests/misc/image-checks-for-accept.html

    r120167 r273819  
    2424Tests that a subresource is loaded if the server expects an Accept
    2525header to provide it.<br>
    26 <img id="testImage" src="resources/image-checks-for-accept.php"  onload="test()" onerror="test()"/>
     26<img id="testImage" src="resources/image-checks-for-accept.py"  onload="test()" onerror="test()"/>
    2727<div id="result"/>
    2828</body>
  • trunk/LayoutTests/http/tests/misc/image-error.html

    r120167 r273819  
    1515    This test is making sure that even though the image returns a 404, it still gets loaded and displayed.  This is done for legacy compat reasons,
    1616    and is the opposite of how the object element behaves.<br>
    17     <img id="result" src="resources/404image.php" onload="finished()" onerror="finished()">
     17    <img id="result" src="resources/404image.py" onload="finished()" onerror="finished()">
    1818</div>
    1919<div id="console"></div>
  • trunk/LayoutTests/http/tests/misc/image-input-type-outlives-gc-without-crashing.html

    r145090 r273819  
    2121<div id="thediv">
    2222<form>
    23 <input type="image" src="resources/slowimage.php">
     23<input type="image" src="resources/slowimage.py">
    2424</form>
    2525</div>
  • trunk/LayoutTests/http/tests/misc/image-load-outlives-gc-without-crashing.html

    r145090 r273819  
    2020This test has an image inside a div.  It removes the div, forces garbage collection, and makes sure that the window load event does not fire.  It also makes sure there is no crash.<br>
    2121<div id="thediv">
    22 <img src="resources/slowimage.php">
     22<img src="resources/slowimage.py">
    2323</div>
    2424</body>
  • trunk/LayoutTests/http/tests/misc/javascript-url-stop-loaders.html

    r145090 r273819  
    44<script src="/js-test-resources/js-test-pre.js"></script>
    55<script type="text/javascript">
    6 var str = "<script type='text/javascript' src='http://127.0.0.1:8000/misc/resources/hang-connection.php'><" + "/script>";
     6var str = "<script type='text/javascript' src='http://127.0.0.1:8000/misc/resources/hang-connection.py'><" + "/script>";
    77
    88function loadFirst()
  • trunk/LayoutTests/http/tests/misc/mask-image-accept.html

    r186180 r273819  
    22<head>
    33<style>
    4 #test { -webkit-mask-image: url(resources/image-checks-for-accept.php); width:100px; height:100px; background-color: green;}
     4#test { -webkit-mask-image: url(resources/image-checks-for-accept.py); width:100px; height:100px; background-color: green;}
    55</style>
    66</head>
  • trunk/LayoutTests/http/tests/misc/object-image-error.html

    r120167 r273819  
    1717</p>
    1818<div id="target" style="display: none;">
    19     <object type="image/jpeg" data="resources/404image.php" onerror="finished()">
     19    <object type="image/jpeg" data="resources/404image.py" onerror="finished()">
    2020        PASS, no crash.
    2121    </object>
    2222</div>
    23 <object type="image/jpeg" data="resources/404image.php" onerror="document.getElementById('target').style.display = ''"></object>
     23<object type="image/jpeg" data="resources/404image.py" onerror="document.getElementById('target').style.display = ''"></object>
  • trunk/LayoutTests/http/tests/misc/object-image-load-outlives-gc-without-crashing.html

    r145090 r273819  
    2020This has an object element representing an image.  That object element is wrapped in a div.  It removes the div, forces garbage collection, and makes sure that the window load event does not fire.  It also makes sure there is no crash.<br>
    2121<div id="thediv">
    22 <object type="image/gif" data="resources/slowimage.php">
     22<object type="image/gif" data="resources/slowimage.py">
    2323</object>
    2424</div>
  • trunk/LayoutTests/http/tests/misc/redirect-to-about-blank.html

    r120167 r273819  
    2323</script>
    2424<body onload="runTest()">
    25 <iframe id="theFrame" src="resources/redirect-to-about-blank.php"></iframe>
     25<iframe id="theFrame" src="resources/redirect-to-about-blank.py"></iframe>
    2626<div>This tests that loading a main resource that redirects to about:blank does not cause a crash (and that the load is done correctly).
    2727<div id="result"></div>
  • trunk/LayoutTests/http/tests/misc/redirect-to-external-url-expected.txt

    r231450 r273819  
    1 Policy delegate: attempt to load http://127.0.0.1:8000/misc/resources/redirect-to-external-url.php with navigation type 'link clicked' originating from HTML > #document
     1Policy delegate: attempt to load http://127.0.0.1:8000/misc/resources/redirect-to-external-url.py with navigation type 'link clicked' originating from HTML > #document
    22Policy delegate: attempt to load spaceballs://the-flamethrower/ with navigation type 'link clicked' originating from HTML > #document
    33Policy delegate: unable to implement policy with error domain 'WebKitErrorDomain', error code 101, in frame '<!--frame1-->'
  • trunk/LayoutTests/http/tests/misc/referrer.html

    r120167 r273819  
    55}
    66
    7 window.location = 'resources/referrer-result.php';
     7window.location = 'resources/referrer-result.py';
    88</script>
  • trunk/LayoutTests/http/tests/misc/resources/SVGFont-delayed-loader.svg

    r40278 r273819  
    1010    <font-face font-family="name">
    1111        <font-face-src>
    12             <font-face-uri xlink:href="http://127.0.0.1:8000/misc/resources/hang-connection.php"/>
     12            <font-face-uri xlink:href="http://127.0.0.1:8000/misc/resources/hang-connection.py"/>
    1313        </font-face-src>
    1414    </font-face>
  • trunk/LayoutTests/http/tests/misc/resources/nested-iframe-loading-another-iframe.html

    r113091 r273819  
    77        <p>Load another level of nested iframe.</p>
    88    </div>
    9     <iframe src="3rd-level-iframe-with-blocking-resource.php"></iframe>
     9    <iframe src="3rd-level-iframe-with-blocking-resource.py"></iframe>
    1010</body>
    1111</html>
  • trunk/LayoutTests/http/tests/misc/resources/redirect-to-external-url-iframe.html

    r124692 r273819  
    2222This is a page with a link in it.  When the link it clicked it will navigate to another page.  That page redirects to an externally handled URL.<br>
    2323The policy delegate should be asked about the initial navigation and the redirect.<br>
    24 <a id="testlink" href="redirect-to-external-url.php">The kids love this one</a>
     24<a id="testlink" href="redirect-to-external-url.py">The kids love this one</a>
    2525</body>
    2626</html>
  • trunk/LayoutTests/http/tests/misc/resources/send-async-xhr.html

    r69643 r273819  
    11<script>
    22var req = new XMLHttpRequest();
    3 req.open("GET", "hang-connection.php", true);
     3req.open("GET", "hang-connection.py", true);
    44req.onload = parent.requestLoaded;
    55req.send(null);
  • trunk/LayoutTests/http/tests/misc/script-500.html

    r124692 r273819  
    77    testRunner.dumpAsText();
    88</script>
    9 <script onerror="document.getElementById('result').innerHTML = 'PASS';" src="resources/script-500.php" type="text/javascript"></script>
     9<script onerror="document.getElementById('result').innerHTML = 'PASS';" src="resources/script-500.py" type="text/javascript"></script>
    1010</body>
    1111</html>
  • trunk/LayoutTests/http/tests/misc/script-no-store.html

    r124692 r273819  
    1111{
    1212    var script = document.createElement("script");
    13     script.setAttribute("src", "resources/random-no-store.php");
     13    script.setAttribute("src", "resources/random-no-store.py");
    1414    document.body.appendChild(script);
    1515}
  • trunk/LayoutTests/http/tests/misc/submit-post-keygen.html

    r268400 r273819  
    1313</head>
    1414<body onload="clickf()">
    15 <form name="f" action="resources/check-keygen-post.php" method="post">
     15<form name="f" action="resources/check-keygen-post.py" method="post">
    1616<keygen name="spkac" keytype="RSA" />
    1717</form>
  • trunk/LayoutTests/http/tests/misc/svg-image-load-outlives-gc-without-crashing.html

    r145090 r273819  
    2121<div id="thediv">
    2222<svg>
    23 <image xlink:href="resources/slowimage.php" />
     23<image xlink:href="resources/slowimage.py" />
    2424</svg>
    2525</div>
  • trunk/LayoutTests/http/tests/misc/timer-vs-loading.html

    r124692 r273819  
    2929    <script>
    3030    window.setTimeout("updateClock()", 100);
    31     setTimeout('window.location = "resources/hang-connection.php"', 0);
     31    setTimeout('window.location = "resources/hang-connection.py"', 0);
    3232    </script>
    3333
  • trunk/LayoutTests/http/tests/misc/url-in-utf16be.html

    r124707 r273819  
    2424</head>
    2525<body onload="runTest()">
    26 <iframe style="display: none;" id="theFrame" src="resources/echo-query-param.php?q=&#x2122;&#x5341;"></iframe>
     26<iframe style="display: none;" id="theFrame" src="resources/echo-query-param.py?q=&#x2122;&#x5341;"></iframe>
    2727<div>This test is for <a href="https://bugs.webkit.org/show_bug.cgi?id=21635">bug 21635</a>. The query parameter in non-UTF-8 Unicode pages (UTF-7,16,32)
    2828should be converted to UTF-8 before a request is made to a server.
  • trunk/LayoutTests/http/tests/misc/url-in-utf16le.html

    r124707 r273819  
    2424</head>
    2525<body onload="runTest()">
    26 <iframe style="display: none;" id="theFrame" src="resources/echo-query-param.php?q=&#x2122;&#x5341;"></iframe>
     26<iframe style="display: none;" id="theFrame" src="resources/echo-query-param.py?q=&#x2122;&#x5341;"></iframe>
    2727<div>This test is for <a href="https://bugs.webkit.org/show_bug.cgi?id=21635">bug 21635</a>. The query parameter in non-UTF-8 Unicode pages (UTF-7,16,32)
    2828should be converted to UTF-8 before a request is made to a server.
  • trunk/LayoutTests/http/tests/misc/video-poster-image-load-outlives-gc-without-crashing.html

    r145090 r273819  
    2020This has a video element with an image for its poster frame.  That video element is wrapped in a div.  It removes the div, forces garbage collection, and makes sure that the window load event does not fire.  It also makes sure there is no crash.<br>
    2121<div id="thediv">
    22 <video poster="resources/slowimage.php">
     22<video poster="resources/slowimage.py">
    2323</video>
    2424</div>
  • trunk/LayoutTests/http/tests/misc/webtiming-cross-origin-and-back1.html

    r203941 r273819  
    66    testRunner.waitUntilDone();
    77function doRedirect() {
    8     window.location = "http://127.0.0.1:8000/misc/resources/webtiming-cross-origin-and-back-redirect1.php";
     8    window.location = "http://127.0.0.1:8000/misc/resources/webtiming-cross-origin-and-back-redirect1.py";
    99}
    1010addEventListener("load", function() {
  • trunk/LayoutTests/http/tests/xmlhttprequest/on-network-timeout-error-during-preflight.html

    r206524 r273819  
    1212      test.step(function() {
    1313        var client = new XMLHttpRequest()
    14         var url = "http://localhost:8000/misc/resources/delayed-log.php?delay=10000000"
     14        var url = "http://localhost:8000/misc/resources/delayed-log.py?delay=10000000"
    1515        client.open("GET", url, true)
    1616        client.setRequestHeader("X-Custom", "test")
  • trunk/LayoutTests/http/tests/xmlhttprequest/resetting-timeout-to-zero.html

    r208101 r273819  
    1313        var xhr = new XMLHttpRequest();
    1414        var startTime = new Date();
    15         xhr.open('GET', "/misc/resources/delayed-log.php?delay=10000000", true);
     15        xhr.open('GET', "/misc/resources/delayed-log.py?delay=10000000", true);
    1616
    1717        xhr.timeout = 70000; // time in milliseconds
  • trunk/LayoutTests/http/tests/xmlhttprequest/timeout-greater-than-default-network-timeout.html

    r208101 r273819  
    1313        var xhr = new XMLHttpRequest();
    1414        var startTime = new Date();
    15         xhr.open('GET', "/misc/resources/delayed-log.php?delay=10000000", true);
     15        xhr.open('GET', "/misc/resources/delayed-log.py?delay=10000000", true);
    1616
    1717        xhr.timeout = 70000;
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r273811 r273819  
    16331633webkit.org/b/186781 inspector/view/asynchronous-layout.html [ Timeout Pass ]
    16341634
    1635 Bug(GTK) http/tests/misc/large-js-program.php [ Pass Slow ]
     1635Bug(GTK) http/tests/misc/large-js-program.py [ Pass Slow ]
    16361636
    16371637[ Debug ] editing/selection/move-by-character-brute-force.html [ Pass Timeout ]
  • trunk/LayoutTests/platform/ios/TestExpectations

    r273812 r273819  
    22372237webkit.org/b/152140 fast/picture/viewport-resize.html [ Skip ]
    22382238
    2239 webkit.org/b/152279 http/tests/misc/large-js-program.php [ Skip ]
     2239webkit.org/b/152279 http/tests/misc/large-js-program.py [ Skip ]
    22402240webkit.org/b/152279 js/dom/line-column-numbers.html [ Skip ]
    22412241
  • trunk/LayoutTests/platform/mac/TestExpectations

    r273691 r273819  
    15391539webkit.org/b/170877 [ Debug ] webgl/1.0.3/conformance/glsl/misc/shader-with-reserved-words.html [ Pass Timeout ]
    15401540
    1541 webkit.org/b/190724 [ Debug ] http/tests/misc/large-js-program.php [ Pass Timeout ]
     1541webkit.org/b/190724 [ Debug ] http/tests/misc/large-js-program.py [ Pass Timeout ]
    15421542
    15431543webkit.org/b/191565 imported/w3c/web-platform-tests/css/mediaqueries/test_media_queries.html [ Pass Slow ]
  • trunk/LayoutTests/platform/win/TestExpectations

    r273715 r273819  
    399399webkit.org/b/42435 fast/performance/ [ Skip ]
    400400webkit.org/b/42435 http/tests/misc/webtiming-cross-origin-and-back1.html [ Skip ]
    401 webkit.org/b/42435 http/tests/misc/webtiming-cross-origin-redirect.php [ Skip ]
     401webkit.org/b/42435 http/tests/misc/webtiming-cross-origin-redirect.py [ Skip ]
    402402webkit.org/b/42435 http/tests/misc/webtiming-no-origin.html [ Skip ]
    403403webkit.org/b/42435 http/tests/misc/webtiming-one-redirect.php [ Skip ]
     
    29922992
    29932993# <rdar://problem/21816197> large-js-program.php crashes (crashes slower on Debug)
    2994 http/tests/misc/large-js-program.php [ Crash Timeout ]
     2994http/tests/misc/large-js-program.py [ Crash Timeout ]
    29952995
    29962996# Slider thumb widget painting
  • trunk/LayoutTests/platform/win/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes-expected.txt

    r272707 r273819  
    33frame "<!--frame1-->" - didStartProvisionalLoadForFrame
    44main frame - didFinishDocumentLoadForFrame
    5 http://127.0.0.1:8000/loading/resources/basic-auth-testing.php?username=webkit&password=rocks - didReceiveAuthenticationChallenge - Responding with webkit:rocks
     5http://127.0.0.1:8000/loading/resources/basic-auth-testing.py?username=webkit&password=rocks - didReceiveAuthenticationChallenge - Responding with webkit:rocks
    66frame "<!--frame1-->" - didCommitLoadForFrame
    77frame "<!--frame1-->" - didFinishDocumentLoadForFrame
  • trunk/LayoutTests/platform/wk2/http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin-expected.txt

    r234912 r273819  
    22https://bugs.webkit.org/show_bug.cgi?id=40138
    33You should load this page at 127.0.0.1:8000 so localhost:8000 is considered a different security origin.
    4 This test loads a php script which demands http authentication, then uses it to redirect to another script in a different origin that shows what authentication headers were sent with the final request.
     4This test loads a py script which demands http authentication, then uses it to redirect to another script in a different origin that shows what authentication headers were sent with the final request.
    55It does this once each for HTTP 301, 302, 303, and 307 redirects.
    66If not running under DRT, enter any credentials when asked.
  • trunk/LayoutTests/platform/wk2/http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin-expected.txt

    r234912 r273819  
    22https://bugs.webkit.org/show_bug.cgi?id=66354
    33You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.
    4 This test loads a php script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.
     4This test loads a py script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.
    55It does this once each for HTTP 301, 302, 303, and 307 redirects.
    66If not running under DRT, enter any credentials when asked.
  • trunk/LayoutTests/platform/wk2/http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-expected.txt

    r234912 r273819  
    22https://bugs.webkit.org/show_bug.cgi?id=66354
    33You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.
    4 This test loads a php script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.
     4This test loads a py script which demands http authentication, then uses it to redirect to another script in the same origin that shows what authentication headers were sent with the final request.
    55The redirect includes credentials in the location url, and they should be preferred over credentials that WebCore has cached.
    66It does this once each for HTTP 301, 302, 303, and 307 redirects.
  • trunk/LayoutTests/platform/wk2/http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url-expected.txt

    r234912 r273819  
    22https://bugs.webkit.org/show_bug.cgi?id=105190
    33You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.
    4 This test loads a php script which demands http authentication, then uses it to redirect via 301 to another script in the same origin that shows what authentication headers were sent with the final request. It verifies that the credentials are not placed in the final URL.
     4This test loads a py script which demands http authentication, then uses it to redirect via 301 to another script in the same origin that shows what authentication headers were sent with the final request. It verifies that the credentials are not placed in the final URL.
    55If not running under DRT, enter any credentials when asked.
    66
     
    99Frame: '<!--frame1-->'
    1010--------
    11 http://127.0.0.1:8000/misc/authentication-redirect-4/resources/auth-echo.php loaded with HTTP authentication username 'testUser' and password 'testPassword'
     11http://127.0.0.1:8000/misc/authentication-redirect-4/resources/auth-echo.py loaded with HTTP authentication username 'testUser' and password 'testPassword'
Note: See TracChangeset for help on using the changeset viewer.