Diff
Modified: trunk/LayoutTests/ChangeLog (277963 => 277964)
--- trunk/LayoutTests/ChangeLog 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/ChangeLog 2021-05-24 20:11:15 UTC (rev 277964)
@@ -1,3 +1,28 @@
+2021-05-24 Chris Gambrell <cgambr...@apple.com>
+
+ [LayoutTests] Remove straggling PHP references
+ https://bugs.webkit.org/show_bug.cgi?id=226179
+ <rdar://problem/78407224>
+
+ Reviewed by Jonathan Bedard.
+
+ * http/tests/blink/sendbeacon/beacon-cross-origin-redirect-blob-expected.txt:
+ * http/tests/blink/sendbeacon/beacon-cross-origin-redirect-blob.html:
+ * http/tests/blink/sendbeacon/beacon-cross-origin-redirect-expected.txt:
+ * http/tests/blink/sendbeacon/beacon-cross-origin-redirect.html:
+ * http/tests/eventsource/eventsource-events-after-close.html:
+ * http/tests/images/avif-partial-load-crash.html:
+ * http/tests/inspector/css/bad-mime-type-expected.txt:
+ * http/tests/inspector/css/bad-mime-type.html:
+ * http/tests/loading/resources/post-in-iframe-with-back-navigation-page-2.py:
+ * http/tests/media/resources/serve_video.py:
+ * http/tests/navigation/redirect-to-fragment2-expected.txt:
+ * http/tests/navigation/slow-loading-page-with-slow-script.py:
+ * http/tests/security/contentSecurityPolicy/resources/worker.py:
+ * http/tests/security/xssAuditor/resources/echo-intertag.pl:
+ * http/tests/workers/service/basic-register-exceptions-expected.txt:
+ * http/tests/workers/service/resources/basic-register-exceptions.js:
+
2021-05-24 Kate Cheney <katherine_che...@apple.com>
[ wk2 ] http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.py is a constant text failure
Modified: trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect-blob-expected.txt (277963 => 277964)
--- trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect-blob-expected.txt 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect-blob-expected.txt 2021-05-24 20:11:15 UTC (rev 277964)
@@ -3,7 +3,7 @@
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS navigator.sendBeacon("http://127.0.0.1:8080/navigation/resources/redirection-response.py?status=302&simple=true&target=/non-existent.php", blob); is true
+PASS navigator.sendBeacon("http://127.0.0.1:8080/navigation/resources/redirection-response.py?status=302&simple=true&target=/non-existent.py", blob); is true
PASS successfullyParsed is true
TEST COMPLETE
Modified: trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect-blob.html (277963 => 277964)
--- trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect-blob.html 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect-blob.html 2021-05-24 20:11:15 UTC (rev 277964)
@@ -9,5 +9,5 @@
const blob = new Blob(["Cross", "Origin"], {type: "text/plain;from-beacon=true"});
// The "simple" parameter is just for differentiating the URLs.
-shouldBeTrue('navigator.sendBeacon("http://127.0.0.1:8080/navigation/resources/redirection-response.py?status=302&simple=true&target=/non-existent.php", blob);');
+shouldBeTrue('navigator.sendBeacon("http://127.0.0.1:8080/navigation/resources/redirection-response.py?status=302&simple=true&target=/non-existent.py", blob);');
</script>
Modified: trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect-expected.txt (277963 => 277964)
--- trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect-expected.txt 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect-expected.txt 2021-05-24 20:11:15 UTC (rev 277964)
@@ -3,7 +3,7 @@
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS navigator.sendBeacon("http://127.0.0.1:8080/navigation/resources/redirection-response.py?status=302&target=/non-existent.php", "CrossOrigin"); is true
+PASS navigator.sendBeacon("http://127.0.0.1:8080/navigation/resources/redirection-response.py?status=302&target=/non-existent.py", "CrossOrigin"); is true
PASS successfullyParsed is true
TEST COMPLETE
Modified: trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect.html (277963 => 277964)
--- trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect.html 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/blink/sendbeacon/beacon-cross-origin-redirect.html 2021-05-24 20:11:15 UTC (rev 277964)
@@ -13,7 +13,7 @@
//testRunner.dumpPingLoaderCallbacks();
}
- shouldBeTrue('navigator.sendBeacon("http://127.0.0.1:8080/navigation/resources/redirection-response.py?status=302&target=/non-existent.php", "CrossOrigin");');
+ shouldBeTrue('navigator.sendBeacon("http://127.0.0.1:8080/navigation/resources/redirection-response.py?status=302&target=/non-existent.py", "CrossOrigin");');
// Wait a while for the redirect response handling to happen before finishing up.
setTimeout(finishJSTest, 200);
}
Modified: trunk/LayoutTests/http/tests/eventsource/eventsource-events-after-close.html (277963 => 277964)
--- trunk/LayoutTests/http/tests/eventsource/eventsource-events-after-close.html 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/eventsource/eventsource-events-after-close.html 2021-05-24 20:11:15 UTC (rev 277964)
@@ -24,7 +24,7 @@
setTimeout(function () {
// Need to wait to see if we're called again.
- // event-stream.php sends a bunch of events before flushing, so if close() didn't take
+ // event-stream.py sends a bunch of events before flushing, so if close() didn't take
// effect we'd get a second message practically instantaneously, waiting 100ms should be ok.
if (window.testRunner)
testRunner.notifyDone();
Modified: trunk/LayoutTests/http/tests/images/avif-partial-load-crash.html (277963 => 277964)
--- trunk/LayoutTests/http/tests/images/avif-partial-load-crash.html 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/images/avif-partial-load-crash.html 2021-05-24 20:11:15 UTC (rev 277964)
@@ -8,7 +8,7 @@
function loadAndStall()
{
- return "http://127.0.0.1:8000/resources/load-and-stall.php";
+ return "http://127.0.0.1:8000/resources/load-and-stall.py";
}
function avifImage()
Modified: trunk/LayoutTests/http/tests/inspector/css/bad-mime-type-expected.txt (277963 => 277964)
--- trunk/LayoutTests/http/tests/inspector/css/bad-mime-type-expected.txt 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/inspector/css/bad-mime-type-expected.txt 2021-05-24 20:11:15 UTC (rev 277964)
@@ -1,4 +1,4 @@
-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.
+CONSOLE 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.
Tests that showing Web Inspector on a page that has a stylesheet with an invalid MIME type does not crash.
This test passes if it does not crash.
Modified: trunk/LayoutTests/http/tests/inspector/css/bad-mime-type.html (277963 => 277964)
--- trunk/LayoutTests/http/tests/inspector/css/bad-mime-type.html 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/inspector/css/bad-mime-type.html 2021-05-24 20:11:15 UTC (rev 277964)
@@ -4,7 +4,7 @@
<script type="text/_javascript_" src=""
<!-- This stylesheet is served with an invalid MIME type -->
-<link rel="stylesheet" href=""
+<link rel="stylesheet" href=""
<script>
function test()
Modified: trunk/LayoutTests/http/tests/loading/resources/post-in-iframe-with-back-navigation-page-2.py (277963 => 277964)
--- trunk/LayoutTests/http/tests/loading/resources/post-in-iframe-with-back-navigation-page-2.py 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/loading/resources/post-in-iframe-with-back-navigation-page-2.py 2021-05-24 20:11:15 UTC (rev 277964)
@@ -12,7 +12,7 @@
'<!DOCTYPE html>\n'
'<h1>Page 2</h1>\n'
'<span id="submissionTime">0.{}</span><br/>\n'
- '<form action="" name="form" method="POST">\n'
+ '<form action="" name="form" method="POST">\n'
'</form>\n'
'<a id="link" href="" page 3</a><br/>\n'
'<a id="backLink" href="" back</a>\n'.format(now)
Modified: trunk/LayoutTests/http/tests/media/resources/serve_video.py (277963 => 277964)
--- trunk/LayoutTests/http/tests/media/resources/serve_video.py 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/media/resources/serve_video.py 2021-05-24 20:11:15 UTC (rev 277964)
@@ -146,9 +146,9 @@
# be create previously.
#
# Check the instructions about how to create it from the
- # create-id3-db.php script file in this same directory.
+ # create-id3-db script file in LayoutTests/media/content.
- sys.stderr.write('The metadata database doesn\'t exist. To create one, check the script \'create-id3-db.php\'.\n')
+ sys.stderr.write('The metadata database doesn\'t exist. To create one, check the script \'LayoutTests/media/content/create-id3-db\'.\n')
answering()
play_files = {}
Modified: trunk/LayoutTests/http/tests/navigation/redirect-to-fragment2-expected.txt (277963 => 277964)
--- trunk/LayoutTests/http/tests/navigation/redirect-to-fragment2-expected.txt 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/navigation/redirect-to-fragment2-expected.txt 2021-05-24 20:11:15 UTC (rev 277964)
@@ -1,7 +1,7 @@
http://127.0.0.1:8000/navigation/resources/redirect-to-fragment2.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/navigation/resources/redirect-to-fragment2.py, main document URL http://127.0.0.1:8000/navigation/redirect-to-fragment2.html, http method GET> redirectResponse (null)
http://127.0.0.1:8000/navigation/redirect-to-fragment2.html - didFinishLoading
-http://127.0.0.1:8000/navigation/resources/redirect-to-fragment2.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/navigation/resources/redirect-preserves-fragment.php#bar, main document URL http://127.0.0.1:8000/navigation/redirect-to-fragment2.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/navigation/resources/redirect-to-fragment2.py, http status code 302>
-http://127.0.0.1:8000/navigation/resources/redirect-to-fragment2.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/navigation/resources/success.html#bar, main document URL http://127.0.0.1:8000/navigation/redirect-to-fragment2.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/navigation/resources/redirect-preserves-fragment.php#bar, http status code 302>
+http://127.0.0.1:8000/navigation/resources/redirect-to-fragment2.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/navigation/resources/redirect-preserves-fragment.py#bar, main document URL http://127.0.0.1:8000/navigation/redirect-to-fragment2.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/navigation/resources/redirect-to-fragment2.py, http status code 302>
+http://127.0.0.1:8000/navigation/resources/redirect-to-fragment2.py - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/navigation/resources/success.html#bar, main document URL http://127.0.0.1:8000/navigation/redirect-to-fragment2.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/navigation/resources/redirect-preserves-fragment.py#bar, http status code 302>
http://127.0.0.1:8000/navigation/resources/redirect-to-fragment2.py - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/navigation/resources/success.html#bar, http status code 200>
Test passes if WebKit keeps fragment identifier from first redirected URL.
Modified: trunk/LayoutTests/http/tests/navigation/slow-loading-page-with-slow-script.py (277963 => 277964)
--- trunk/LayoutTests/http/tests/navigation/slow-loading-page-with-slow-script.py 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/navigation/slow-loading-page-with-slow-script.py 2021-05-24 20:11:15 UTC (rev 277964)
@@ -33,7 +33,7 @@
'\n'
'</script>\n'
'\n'
- '<script src=""
+ '<script src=""
)
while True:
Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker.py (277963 => 277964)
--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker.py 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker.py 2021-05-24 20:11:15 UTC (rev 277964)
@@ -89,7 +89,7 @@
elif typ == 'report-referrer':
sys.stdout.write(
'var xhr = new XMLHttpRequest;\n'
- 'xhr.open("GET", "http://127.0.0.1:8000/security/resources/echo-referrer-header.php", true);\n'
+ 'xhr.open("GET", "http://127.0.0.1:8000/security/resources/echo-referrer-header.py", true);\n'
'xhr._onload_ = function () {\n'
' postMessage(this.responseText);\n'
'};\n'
@@ -103,7 +103,7 @@
' var xhr = new XMLHttpRequest;\n'
' xhr.open(\n'
' "GET",\n'
- ' "http://127.0.0.1:8000/security/resources/echo-referrer-header.php",\n'
+ ' "http://127.0.0.1:8000/security/resources/echo-referrer-header.py",\n'
' true);\n'
' xhr._onload_ = function () {\n'
' port.postMessage(this.responseText);\n'
Modified: trunk/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl (277963 => 277964)
--- trunk/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl 2021-05-24 20:11:15 UTC (rev 277964)
@@ -38,7 +38,7 @@
print "X-XSS-Protection: 1; mode=block; \n";
}
if ($cgi->param('valid-header') == 4) {
- print "X-XSS-Protection: 1; report=/security/contentSecurityPolicy/resources/nonesuch.php; mode=block; \n";
+ print "X-XSS-Protection: 1; report=/security/contentSecurityPolicy/resources/nonesuch.py; mode=block; \n";
}
}
Modified: trunk/LayoutTests/http/tests/workers/service/basic-register-exceptions-expected.txt (277963 => 277964)
--- trunk/LayoutTests/http/tests/workers/service/basic-register-exceptions-expected.txt 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/workers/service/basic-register-exceptions-expected.txt 2021-05-24 20:11:15 UTC (rev 277964)
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: Registration failed with error: TypeError: Script http://127.0.0.1:8000/workers/service/image-mime-type.php load failed
+CONSOLE MESSAGE: Registration failed with error: TypeError: Script http://127.0.0.1:8000/workers/service/image-mime-type.py load failed
CONSOLE MESSAGE: Registration failed with error: TypeError: serviceWorker.register() cannot be called with an empty script URL
CONSOLE MESSAGE: Registration failed with error: TypeError: serviceWorker.register() must be called with a valid relative script URL
CONSOLE MESSAGE: Registration failed with error: TypeError: serviceWorker.register() must be called with a script URL whose protocol is either HTTP or HTTPS
Modified: trunk/LayoutTests/http/tests/workers/service/resources/basic-register-exceptions.js (277963 => 277964)
--- trunk/LayoutTests/http/tests/workers/service/resources/basic-register-exceptions.js 2021-05-24 19:29:38 UTC (rev 277963)
+++ trunk/LayoutTests/http/tests/workers/service/resources/basic-register-exceptions.js 2021-05-24 20:11:15 UTC (rev 277964)
@@ -4,7 +4,7 @@
}
var registrations = [
- ["image-mime-type.php", {}],
+ ["image-mime-type.py", {}],
["", {}],
["http://127.0.0.1:abc", {}],
["somescheme://script.js", { }],