Diff
Modified: trunk/LayoutTests/ChangeLog (275426 => 275427)
--- trunk/LayoutTests/ChangeLog 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/ChangeLog 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,3 +1,95 @@
+2021-04-02 Chris Gambrell <[email protected]>
+
+ [LayoutTests] Convert http/tests/referrer-policy convert PHP to Python
+ https://bugs.webkit.org/show_bug.cgi?id=223234
+ <rdar://problem/75460136>
+
+ Reviewed by Jonathan Bedard.
+
+ * http/tests/cache/resources/svg-defs-vary.py:
+ * http/tests/css/resources/webfont-request.py:
+ (get_request_count):
+ (set_request_count):
+ (getRequestCount): Deleted.
+ (setRequestCount): Deleted.
+ * http/tests/eventsource/resources/status-codes.py:
+ * http/tests/misc/resources/dns-prefetch-control.py:
+ * http/tests/misc/resources/protected/protected-image.py:
+ * http/tests/navigation/ping-attribute/resources/utilities.js:
+ (clearLastPingResultAndRunTest):
+ * http/tests/navigation/resources/post-goback-same-url.py:
+ * http/tests/navigation/resources/randomredirects/randomredirect.py:
+ * http/tests/referrer-policy-anchor/no-referrer-when-downgrade/cross-origin-http-http.html:
+ * http/tests/referrer-policy-anchor/no-referrer-when-downgrade/cross-origin-http.https.html:
+ * http/tests/referrer-policy-anchor/no-referrer-when-downgrade/same-origin.html:
+ * http/tests/referrer-policy-anchor/no-referrer/cross-origin-http-http.html:
+ * http/tests/referrer-policy-anchor/no-referrer/cross-origin-http.https.html:
+ * http/tests/referrer-policy-anchor/no-referrer/same-origin.html:
+ * http/tests/referrer-policy-anchor/origin-when-cross-origin/cross-origin-http-http.html:
+ * http/tests/referrer-policy-anchor/origin-when-cross-origin/cross-origin-http.https.html:
+ * http/tests/referrer-policy-anchor/origin-when-cross-origin/same-origin.html:
+ * http/tests/referrer-policy-anchor/origin/cross-origin-http-http.html:
+ * http/tests/referrer-policy-anchor/origin/cross-origin-http.https.html:
+ * http/tests/referrer-policy-anchor/origin/same-origin.html:
+ * http/tests/referrer-policy-anchor/same-origin/cross-origin-http-http.html:
+ * http/tests/referrer-policy-anchor/same-origin/cross-origin-http.https.html:
+ * http/tests/referrer-policy-anchor/same-origin/same-origin.html:
+ * http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/cross-origin-http-http.html:
+ * http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/cross-origin-http.https.html:
+ * http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/same-origin.html:
+ * http/tests/referrer-policy-anchor/strict-origin/cross-origin-http-http.html:
+ * http/tests/referrer-policy-anchor/strict-origin/cross-origin-http.https.html:
+ * http/tests/referrer-policy-anchor/strict-origin/same-origin.html:
+ * http/tests/referrer-policy-anchor/unsafe-url/cross-origin-http-http.html:
+ * http/tests/referrer-policy-anchor/unsafe-url/cross-origin-http.https.html:
+ * http/tests/referrer-policy-anchor/unsafe-url/same-origin.html:
+ * http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http-http.html:
+ * http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https-expected.txt:
+ * http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https.html:
+ * http/tests/referrer-policy-img/no-referrer-when-downgrade/same-origin.html:
+ * http/tests/referrer-policy-img/no-referrer/cross-origin-http-http.html:
+ * http/tests/referrer-policy-img/no-referrer/cross-origin-http.https-expected.txt:
+ * http/tests/referrer-policy-img/no-referrer/cross-origin-http.https.html:
+ * http/tests/referrer-policy-img/no-referrer/same-origin.html:
+ * http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http-http.html:
+ * http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https-expected.txt:
+ * http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https.html:
+ * http/tests/referrer-policy-img/origin-when-cross-origin/same-origin.html:
+ * http/tests/referrer-policy-img/origin/cross-origin-http-http.html:
+ * http/tests/referrer-policy-img/origin/cross-origin-http.https-expected.txt:
+ * http/tests/referrer-policy-img/origin/cross-origin-http.https.html:
+ * http/tests/referrer-policy-img/origin/same-origin.html:
+ * http/tests/referrer-policy-img/same-origin/cross-origin-http-http.html:
+ * http/tests/referrer-policy-img/same-origin/cross-origin-http.https-expected.txt:
+ * http/tests/referrer-policy-img/same-origin/cross-origin-http.https.html:
+ * http/tests/referrer-policy-img/same-origin/same-origin.html:
+ * http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http-http.html:
+ * http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt:
+ * http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https.html:
+ * http/tests/referrer-policy-img/strict-origin-when-cross-origin/same-origin.html:
+ * http/tests/referrer-policy-img/strict-origin/cross-origin-http-http.html:
+ * http/tests/referrer-policy-img/strict-origin/cross-origin-http.https-expected.txt:
+ * http/tests/referrer-policy-img/strict-origin/cross-origin-http.https.html:
+ * http/tests/referrer-policy-img/strict-origin/same-origin.html:
+ * http/tests/referrer-policy-img/unsafe-url/cross-origin-http-http.html:
+ * http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https-expected.txt:
+ * http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https.html:
+ * http/tests/referrer-policy-img/unsafe-url/same-origin.html:
+ * http/tests/referrer-policy/resources/check-referrer.php: Removed.
+ * http/tests/referrer-policy/resources/check-referrer.py: Added.
+ * http/tests/referrer-policy/resources/image.php: Removed.
+ * http/tests/referrer-policy/resources/image.py: Added.
+ * http/tests/referrer-policy/resources/script.php: Removed.
+ * http/tests/referrer-policy/resources/script.py: Added.
+ * http/tests/security/xssAuditor/resources/tag-with-pause.py:
+ * http/tests/websocket/tests/hybi/contentextensions/block-cookies-worker.php.json: Removed.
+ * http/tests/websocket/tests/hybi/contentextensions/block-cookies-worker.py.json: Added.
+ * http/tests/websocket/tests/hybi/contentextensions/block-cookies.php.json: Removed.
+ * http/tests/websocket/tests/hybi/contentextensions/block-cookies.py.json: Added.
+ * imported/blink/http/tests/misc/input-image-fallback-content-crash.html:
+ * resources/js-test.js:
+ (downgradeReferrerCallback):
+
2021-04-02 Aditya Keerthi <[email protected]>
Do not paint native decorations for search fields without '-webkit-appearance: searchfield'
Modified: trunk/LayoutTests/http/tests/cache/resources/svg-defs-vary.py (275426 => 275427)
--- trunk/LayoutTests/http/tests/cache/resources/svg-defs-vary.py 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/cache/resources/svg-defs-vary.py 2021-04-02 18:35:21 UTC (rev 275427)
@@ -2,7 +2,7 @@
import sys
-sys.stodut.write(
+sys.stdout.write(
'Content-Type: image/svg+xml\r\n'
'Vary: Cookie\r\n'
'Cache-Control: max-age=31536000\r\n\r\n'
Modified: trunk/LayoutTests/http/tests/css/resources/webfont-request.py (275426 => 275427)
--- trunk/LayoutTests/http/tests/css/resources/webfont-request.py 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/css/resources/webfont-request.py 2021-04-02 18:35:21 UTC (rev 275427)
@@ -5,7 +5,7 @@
import tempfile
from urllib.parse import parse_qs
-def getRequestCount(file):
+def get_request_count(file):
if not os.path.isfile(file):
return 0
@@ -12,7 +12,7 @@
with open(file, 'r') as file:
return int(file.read())
-def setRequestCount(file, count):
+def set_request_count(file, count):
with open(file, 'r') as file:
file.write(count)
@@ -20,11 +20,11 @@
filename = query.get('filename', [''])[0]
mode = query.get('mode', [''])[0]
-tmpFile = os.path.join(tempfile.gettempdir(), filename)
-currentCount = getRequestCount(tmpFile)
+tmp_file = os.path.join(tempfile.gettempdir(), filename)
+current_count = get_request_count(tmp_file)
if mode == 'getFont':
- setRequestCount(tmpFile, currentCount + 1)
+ set_request_count(tmp_file, current_count + 1)
sys.stdout.write(
'Access-control-max-age: 0\r\n'
'Access-control-allow-origin: *\r\n'
@@ -37,5 +37,5 @@
'Access-control-max-age: 0\r\n'
'Access-control-allow-origin: *\r\n'
'Access-control-allow-methods: *\r\n\r\n'
- '{}'.format(currentCount)
+ '{}'.format(current_count)
)
\ No newline at end of file
Modified: trunk/LayoutTests/http/tests/eventsource/resources/status-codes.py (275426 => 275427)
--- trunk/LayoutTests/http/tests/eventsource/resources/status-codes.py 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/eventsource/resources/status-codes.py 2021-04-02 18:35:21 UTC (rev 275427)
@@ -5,8 +5,8 @@
from urllib.parse import parse_qs
status_code = int(parse_qs(os.environ.get('QUERY_STRING', ''), keep_blank_values=True).get('status-code', [200])[0])
-script_url = os.environ.get('SCRIPT_URL')
-http_host = os.environ.get('HTTP_HOST')
+script_url = os.environ.get('SCRIPT_URL', '')
+http_host = os.environ.get('HTTP_HOST', '')
sys.stdout.write('status: {}\r\n'.format(status_code))
@@ -19,4 +19,6 @@
sys.stdout.write(
'Content-Type: text/html\r\n'
'Location: http://{}{}/simple-event-stream.asis\r\n\r\n'.format(http_host, '/'.join(script_url.split('/')[0:-1]))
- )
\ No newline at end of file
+ )
+else:
+ sys.stdout.write('Content-Type: text/html\r\n\r\n')
\ No newline at end of file
Modified: trunk/LayoutTests/http/tests/misc/resources/dns-prefetch-control.py (275426 => 275427)
--- trunk/LayoutTests/http/tests/misc/resources/dns-prefetch-control.py 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/misc/resources/dns-prefetch-control.py 2021-04-02 18:35:21 UTC (rev 275427)
@@ -20,5 +20,5 @@
'<body>\n'
'<a href=""
'</body>\n'
- '</html>\n'.format(fake_domain)
+ '</html>\n'.format(domain=fake_domain)
)
\ No newline at end of file
Modified: trunk/LayoutTests/http/tests/misc/resources/protected/protected-image.py (275426 => 275427)
--- trunk/LayoutTests/http/tests/misc/resources/protected/protected-image.py 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/misc/resources/protected/protected-image.py 2021-04-02 18:35:21 UTC (rev 275427)
@@ -5,7 +5,7 @@
import sys
uri = os.environ.get('REQUEST_URI', '')
-usrname = base64.b64decode(os.environ.get('HTTP_AUTHORIZATION', ' Og==').split(' ')[1]).decode().split(':')[0]
+username = base64.b64decode(os.environ.get('HTTP_AUTHORIZATION', ' Og==').split(' ')[1]).decode().split(':')[0]
sys.stdout.write(
'Cache-Control: no-store\r\n'
Modified: trunk/LayoutTests/http/tests/navigation/ping-attribute/resources/utilities.js (275426 => 275427)
--- trunk/LayoutTests/http/tests/navigation/ping-attribute/resources/utilities.js 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/navigation/ping-attribute/resources/utilities.js 2021-04-02 18:35:21 UTC (rev 275427)
@@ -26,7 +26,7 @@
}
var xhr = new XMLHttpRequest;
- xhr.open("GET", "../../resources/delete-ping.php", true /* async */);
+ xhr.open("GET", "./resources/delete-ping.php", true /* async */);
xhr.send(null);
xhr._onload_ = callback;
xhr._onerror_ = done;
Modified: trunk/LayoutTests/http/tests/navigation/resources/post-goback-same-url.py (275426 => 275427)
--- trunk/LayoutTests/http/tests/navigation/resources/post-goback-same-url.py 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/navigation/resources/post-goback-same-url.py 2021-04-02 18:35:21 UTC (rev 275427)
@@ -4,7 +4,7 @@
import os
import sys
-method = os.environ.get('REQUEST_METHOD', '')
+request_method = os.environ.get('REQUEST_METHOD', '')
sys.stdout.write(
'Content-Type: text/html\r\n\r\n'
@@ -23,11 +23,10 @@
)
request = {}
-if method == 'POST':
+if request_method == 'POST':
form = cgi.FieldStorage()
- for key in sorted(form.keys()):
- if not form[key].filename and key:
- request[key] = form[request]
+ for key in form.keys():
+ request[key] = form.getvalue(key)
if request.get('textdata', '') == 'foo':
sys.stdout.write('You should not be seeing this text!')
Modified: trunk/LayoutTests/http/tests/navigation/resources/randomredirects/randomredirect.py (275426 => 275427)
--- trunk/LayoutTests/http/tests/navigation/resources/randomredirects/randomredirect.py 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/navigation/resources/randomredirects/randomredirect.py 2021-04-02 18:35:21 UTC (rev 275427)
@@ -10,5 +10,5 @@
'Expires: Thu, 01 Jan 1970 00:00:00 GMT\r\n'
'Vary: Accept-Encoding, Cookie\r\n'
'Connection: keep-alive\r\n'
- 'Location: {}.py\r\n\r\n'.format(random.randint(0, 10))
+ 'Location: {}.py\r\n\r\n'.format(random.randint(0, 9))
)
\ No newline at end of file
Deleted: trunk/LayoutTests/http/tests/referrer-policy/resources/check-referrer.php (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy/resources/check-referrer.php 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy/resources/check-referrer.php 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,10 +0,0 @@
-<script src=""
-<script>
-description("Tests the behavior of <?php echo $_GET['policy']; ?> referrer policy.");
-
-let referrer = "<?php echo $_SERVER['HTTP_REFERER']; ?>";
-let expected = "<?php echo $_GET['expected']; ?>";
-shouldBe("referrer", "expected");
-if (window.testRunner)
- testRunner.notifyDone();
-</script>
Added: trunk/LayoutTests/http/tests/referrer-policy/resources/check-referrer.py (0 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy/resources/check-referrer.py (rev 0)
+++ trunk/LayoutTests/http/tests/referrer-policy/resources/check-referrer.py 2021-04-02 18:35:21 UTC (rev 275427)
@@ -0,0 +1,24 @@
+#!/usr/bin/env python3
+
+import os
+import sys
+from urllib.parse import parse_qs
+
+referer = os.environ.get('HTTP_REFERER', '')
+
+query = parse_qs(os.environ.get('QUERY_STRING', ''), keep_blank_values=True)
+policy = query.get('policy', [''])[0]
+expected = query.get('expected', [''])[0]
+
+sys.stdout.write('Content-Type: text/html\r\n\r\n')
+
+print('''<script src=""
+<script>
+description("Tests the behavior of {} referrer policy.");
+
+let referrer = "{}";
+let expected = "{}";
+shouldBe("referrer", "expected");
+if (window.testRunner)
+ testRunner.notifyDone();
+</script>'''.format(policy, referer, expected))
\ No newline at end of file
Property changes on: trunk/LayoutTests/http/tests/referrer-policy/resources/check-referrer.py
___________________________________________________________________
Added: svn:executable
+*
\ No newline at end of property
Deleted: trunk/LayoutTests/http/tests/referrer-policy/resources/image.php (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy/resources/image.php 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy/resources/image.php 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,12 +0,0 @@
-<?php
-$refer = $_SERVER['HTTP_REFERER'];
-$expected = $_GET['expected'];
-if ($refer != $expected) {
- header("Content-type: text/plain");
- echo $refer;
- exit;
-}
-header("Content-type: image/png");
-echo file_get_contents("../../security/contentSecurityPolicy/block-all-mixed-content/resources/red-square.png");
-exit;
-?>
Added: trunk/LayoutTests/http/tests/referrer-policy/resources/image.py (0 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy/resources/image.py (rev 0)
+++ trunk/LayoutTests/http/tests/referrer-policy/resources/image.py 2021-04-02 18:35:21 UTC (rev 275427)
@@ -0,0 +1,18 @@
+#!/usr/bin/env python3
+
+import os
+import sys
+from urllib.parse import parse_qs
+
+referer = os.environ.get('HTTP_REFERER', '')
+expected = parse_qs(os.environ.get('QUERY_STRING', ''), keep_blank_values=True).get('expected', [''])[0]
+
+if referer != expected:
+ sys.stdout.write('Content-Type: text/plain\r\n\r\n{}'.format(referer))
+ sys.exit(0)
+
+sys.stdout.write('Content-type: image/png\r\n\r\n')
+
+sys.stdout.flush()
+with open(os.path.join('/'.join(__file__.split('/')[0:-1]), '../../security/contentSecurityPolicy/block-all-mixed-content/resources/red-square.png'), 'rb') as file:
+ sys.stdout.buffer.write(file.read())
\ No newline at end of file
Property changes on: trunk/LayoutTests/http/tests/referrer-policy/resources/image.py
___________________________________________________________________
Added: svn:executable
+*
\ No newline at end of property
Deleted: trunk/LayoutTests/http/tests/referrer-policy/resources/script.php (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy/resources/script.php 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy/resources/script.php 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,5 +0,0 @@
-<?php
-header("Cache: no-cache, no-store");
-$refer = $_SERVER['HTTP_REFERER'];
-print("checkReferrer('$refer');");
-?>
Added: trunk/LayoutTests/http/tests/referrer-policy/resources/script.py (0 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy/resources/script.py (rev 0)
+++ trunk/LayoutTests/http/tests/referrer-policy/resources/script.py 2021-04-02 18:35:21 UTC (rev 275427)
@@ -0,0 +1,10 @@
+#!/usr/bin/env python3
+
+import os
+import sys
+
+sys.stdout.write(
+ 'Cache: no-cache, no-store\r\n'
+ 'Content-Type: text/html\r\n\r\n'
+ 'checkReferrer(\'{}\');'.format(os.environ.get('HTTP_REFERER', ''))
+)
\ No newline at end of file
Property changes on: trunk/LayoutTests/http/tests/referrer-policy/resources/script.py
___________________________________________________________________
Added: svn:executable
+*
\ No newline at end of property
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "no-referrer";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "no-referrer";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "no-referrer";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer-when-downgrade/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer-when-downgrade/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer-when-downgrade/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "no-referrer-when-downgrade";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer-when-downgrade/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer-when-downgrade/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer-when-downgrade/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "no-referrer-when-downgrade";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer-when-downgrade/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer-when-downgrade/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/no-referrer-when-downgrade/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "no-referrer-when-downgrade";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/origin/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/origin/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/origin/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/origin/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/origin/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/origin/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/origin/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/origin/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/origin/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/origin-when-cross-origin/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/origin-when-cross-origin/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/origin-when-cross-origin/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -13,7 +13,7 @@
let a = document.createElement("a");
let policy = "origin-when-cross-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/origin-when-cross-origin/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/origin-when-cross-origin/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/origin-when-cross-origin/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "origin-when-cross-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/origin-when-cross-origin/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/origin-when-cross-origin/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/origin-when-cross-origin/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "origin-when-cross-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/same-origin/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/same-origin/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/same-origin/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "same-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/same-origin/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/same-origin/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/same-origin/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "same-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/same-origin/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/same-origin/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/same-origin/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "same-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "strict-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "strict-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "strict-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "strict-origin-when-cross-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "strict-origin-when-cross-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "strict-origin-when-cross-origin";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/unsafe-url/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/unsafe-url/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/unsafe-url/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "unsafe-url";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/unsafe-url/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/unsafe-url/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/unsafe-url/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "unsafe-url";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-anchor/unsafe-url/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-anchor/unsafe-url/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-anchor/unsafe-url/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -11,7 +11,7 @@
let a = document.createElement("a");
let policy = "unsafe-url";
a.referrerPolicy = policy;
- a.href = "" + expected + "&policy=" + policy;
+ a.href = "" + expected + "&policy=" + policy;
a.click();
}
</script>
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "no-referrer";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http.https-expected.txt (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http.https-expected.txt 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http.https-expected.txt 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/no-referrer/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.php?expected=.
+CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/no-referrer/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.py?expected=.
Tests the behavior of no-referrer referrer policy when cross origin from HTTPS to HTTP.
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -20,7 +20,7 @@
img.referrerPolicy = "no-referrer";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "no-referrer";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -19,7 +19,7 @@
img.referrerPolicy = "no-referrer-when-downgrade";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
});
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https-expected.txt (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https-expected.txt 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https-expected.txt 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https.html was allowed to display insecure content from http://127.0.0.1:8000/referrer-policy/resources/image.php?expected=.
+CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https.html was allowed to display insecure content from http://127.0.0.1:8000/referrer-policy/resources/image.py?expected=.
Tests the behavior of no-referrer-when-downgrade referrer policy when cross origin from HTTPS to HTTP.
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -21,7 +21,7 @@
img.referrerPolicy = "no-referrer-when-downgrade";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
});
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/no-referrer-when-downgrade/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -19,7 +19,7 @@
img.referrerPolicy = "no-referrer-when-downgrade";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
});
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http.https-expected.txt (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http.https-expected.txt 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http.https-expected.txt 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/origin/cross-origin-http.https.html was allowed to display insecure content from http://127.0.0.1:8000/referrer-policy/resources/image.php?expected=https://127.0.0.1:8443/.
+CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/origin/cross-origin-http.https.html was allowed to display insecure content from http://127.0.0.1:8000/referrer-policy/resources/image.py?expected=https://127.0.0.1:8443/.
Tests the behavior of origin referrer policy when cross origin from HTTPS to HTTP.
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/origin/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -20,7 +20,7 @@
img.referrerPolicy = "origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/origin/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/origin/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/origin/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "origin-when-cross-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https-expected.txt (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https-expected.txt 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https-expected.txt 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.php?expected=https://127.0.0.1:8443/.
+CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.py?expected=https://127.0.0.1:8443/.
Tests the behavior of origin-when-cross-origin referrer policy when cross origin from HTTPS to HTTP.
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -20,7 +20,7 @@
img.referrerPolicy = "origin-when-cross-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/origin-when-cross-origin/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "origin-when-cross-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "same-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http.https-expected.txt (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http.https-expected.txt 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http.https-expected.txt 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/same-origin/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.php?expected=.
+CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/same-origin/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.py?expected=.
Tests the behavior of same-origin referrer policy when cross origin from HTTPS to HTTP.
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -20,7 +20,7 @@
img.referrerPolicy = "same-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/same-origin/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "same-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "strict-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http.https-expected.txt (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http.https-expected.txt 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http.https-expected.txt 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/strict-origin/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.php?expected=.
+CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/strict-origin/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.py?expected=.
Tests the behavior of strict-origin referrer policy when cross origin from HTTPS to HTTP.
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -20,7 +20,7 @@
img.referrerPolicy = "strict-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "strict-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "strict-origin-when-cross-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.php?expected=.
+CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.py?expected=.
Tests the behavior of strict-origin-when-cross-origin referrer policy when cross origin from HTTPS to HTTP.
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -20,7 +20,7 @@
img.referrerPolicy = "strict-origin-when-cross-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/strict-origin-when-cross-origin/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -18,7 +18,7 @@
img.referrerPolicy = "strict-origin-when-cross-origin";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http-http.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http-http.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http-http.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -19,7 +19,7 @@
img.referrerPolicy = "unsafe-url";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
});
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https-expected.txt (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https-expected.txt 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https-expected.txt 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/unsafe-url/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.php?expected=https://127.0.0.1:8443/referrer-policy-img/unsafe-url/cross-origin-http.https.html.
+CONSOLE MESSAGE: The page at https://127.0.0.1:8443/referrer-policy-img/unsafe-url/cross-origin-http.https.html was allowed to display insecure content from http://localhost:8000/referrer-policy/resources/image.py?expected=https://127.0.0.1:8443/referrer-policy-img/unsafe-url/cross-origin-http.https.html.
Tests the behavior of unsafe-url referrer policy when cross origin from HTTPS to HTTP.
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/cross-origin-http.https.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -21,7 +21,7 @@
img.referrerPolicy = "unsafe-url";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
});
Modified: trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/same-origin.html (275426 => 275427)
--- trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/same-origin.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/referrer-policy-img/unsafe-url/same-origin.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -15,7 +15,7 @@
img.referrerPolicy = "unsafe-url";
img._onload_ = function() { testPassed('referrer is "' + expected + '"'); finishJSTest(); }
img._onerror_ = function() { testFailed("referrer is not as expected"); finishJSTest(); }
- img.src = "" + expected;
+ img.src = "" + expected;
if (window.internals)
internals.setResourceLoadStatisticsEnabled(true);
}
Modified: trunk/LayoutTests/http/tests/security/xssAuditor/resources/tag-with-pause.py (275426 => 275427)
--- trunk/LayoutTests/http/tests/security/xssAuditor/resources/tag-with-pause.py 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/security/xssAuditor/resources/tag-with-pause.py 2021-04-02 18:35:21 UTC (rev 275427)
@@ -7,7 +7,7 @@
'Content-Type: text/html; charset=utf-8\r\n\r\n'
'{}<body>\n'
'<a ona{}\n'
- '{}'.format('A'*2048, 'a'*2000)
+ '{}'.format('A' * 2048, 'a' * 2000)
)
sys.stdout.flush()
Deleted: trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies-worker.php.json (275426 => 275427)
--- trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies-worker.php.json 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies-worker.php.json 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,10 +0,0 @@
-[
- {
- "action": {
- "type": "block-cookies"
- },
- "trigger": {
- "url-filter": "8880"
- }
- }
-]
Added: trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies-worker.py.json (0 => 275427)
--- trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies-worker.py.json (rev 0)
+++ trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies-worker.py.json 2021-04-02 18:35:21 UTC (rev 275427)
@@ -0,0 +1,15 @@
+#!/usr/bin/env python3
+
+import json
+import sys
+
+sys.stdout.write('Content-Type: text/html\r\n\r\n')
+
+print(json.dumps([{
+ 'action': {
+ 'type': 'block-cookies'
+ },
+ 'trigger': {
+ 'url-filter': '8880'
+ }
+}]))
\ No newline at end of file
Property changes on: trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies-worker.py.json
___________________________________________________________________
Added: svn:executable
+*
\ No newline at end of property
Deleted: trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies.php.json (275426 => 275427)
--- trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies.php.json 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies.php.json 2021-04-02 18:35:21 UTC (rev 275427)
@@ -1,10 +0,0 @@
-[
- {
- "action": {
- "type": "block-cookies"
- },
- "trigger": {
- "url-filter": "8880"
- }
- }
-]
Added: trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies.py.json (0 => 275427)
--- trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies.py.json (rev 0)
+++ trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies.py.json 2021-04-02 18:35:21 UTC (rev 275427)
@@ -0,0 +1,15 @@
+#!/usr/bin/env python3
+
+import json
+import sys
+
+sys.stdout.write('Content-Type: text/html\r\n\r\n')
+
+print(json.dumps([{
+ 'action': {
+ 'type': 'block-cookies'
+ },
+ 'trigger': {
+ 'url-filter': '8880'
+ }
+}]))
\ No newline at end of file
Property changes on: trunk/LayoutTests/http/tests/websocket/tests/hybi/contentextensions/block-cookies.py.json
___________________________________________________________________
Added: svn:executable
+*
\ No newline at end of property
Modified: trunk/LayoutTests/imported/blink/http/tests/misc/input-image-fallback-content-crash.html (275426 => 275427)
--- trunk/LayoutTests/imported/blink/http/tests/misc/input-image-fallback-content-crash.html 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/imported/blink/http/tests/misc/input-image-fallback-content-crash.html 2021-04-02 18:35:21 UTC (rev 275427)
@@ -6,4 +6,4 @@
testRunner.dumpAsText();
}
</script>
-<input type="image" src="" border="0" alt="Szukaj"</div><div id="tHeadsearch" style="margin-top:3px;
+<input type="image" src="" border="0" alt="Szukaj"</div><div id="tHeadsearch" style="margin-top:3px;
Modified: trunk/LayoutTests/resources/js-test.js (275426 => 275427)
--- trunk/LayoutTests/resources/js-test.js 2021-04-02 18:17:07 UTC (rev 275426)
+++ trunk/LayoutTests/resources/js-test.js 2021-04-02 18:35:21 UTC (rev 275427)
@@ -930,7 +930,7 @@
function downgradeReferrerCallback(policy, host) {
let scriptElement = document.createElement("script");
- scriptElement.src = "" ":8000/referrer-policy/resources/script.php");
+ scriptElement.src = "" ":8000/referrer-policy/resources/script.py");
scriptElement.referrerPolicy = policy;
document.body.appendChild(scriptElement);
}