зеркало из https://github.com/mozilla/gecko-dev.git
Automatic update from web-platform-testsRedirect POST requests using .py resource Part of #11269. Also see #11343. -- wpt-commits: ec9ffb132d24fa16088b90db12a65509b72ef826 wpt-pr: 11354
This commit is contained in:
Родитель
05cb82d2a9
Коммит
a9ac6e75d1
|
@ -11803,6 +11803,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"html/browsers/history/the-location-interface/reload_post_1-manual.html": [
|
||||
[
|
||||
"/html/browsers/history/the-location-interface/reload_post_1-manual.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/browsers/offline/application-cache-api/api_status_checking-manual.html": [
|
||||
[
|
||||
"/html/browsers/offline/application-cache-api/api_status_checking-manual.html",
|
||||
|
@ -276385,11 +276391,6 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"html/browsers/history/the-location-interface/reload_post_1-1.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/browsers/history/the-location-interface/resources/post-your-origin.html": [
|
||||
[
|
||||
{}
|
||||
|
@ -276400,6 +276401,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"html/browsers/history/the-location-interface/resources/reload_post_1-1.py": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/browsers/history/the-location-interface/same_origin_frame.html": [
|
||||
[
|
||||
{}
|
||||
|
@ -338707,12 +338713,6 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"html/browsers/history/the-location-interface/reload_post_1.html": [
|
||||
[
|
||||
"/html/browsers/history/the-location-interface/reload_post_1.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/browsers/history/the-location-interface/scripted_click_assign_during_load.html": [
|
||||
[
|
||||
"/html/browsers/history/the-location-interface/scripted_click_assign_during_load.html",
|
||||
|
@ -569810,13 +569810,9 @@
|
|||
"768c7cdbd792aba7675e9bb519c48d32775ed5cb",
|
||||
"testharness"
|
||||
],
|
||||
"html/browsers/history/the-location-interface/reload_post_1-1.html": [
|
||||
"656f35b990b49ec854580bcaa860e718e463a0e4",
|
||||
"support"
|
||||
],
|
||||
"html/browsers/history/the-location-interface/reload_post_1.html": [
|
||||
"3f86c065f9ea20c9b9a0c6fd2f0fd94ae73f3088",
|
||||
"testharness"
|
||||
"html/browsers/history/the-location-interface/reload_post_1-manual.html": [
|
||||
"57cab7b8fd84b0890771ca3be4abb3bb826056a6",
|
||||
"manual"
|
||||
],
|
||||
"html/browsers/history/the-location-interface/resources/post-your-origin.html": [
|
||||
"56c03a4c666d4ae3498fafb9c507d6ef16508179",
|
||||
|
@ -569826,6 +569822,10 @@
|
|||
"d6a54e137ca516d16fb64bed157b0ac3ceaab99c",
|
||||
"support"
|
||||
],
|
||||
"html/browsers/history/the-location-interface/resources/reload_post_1-1.py": [
|
||||
"d3313fa0cf5c9d6a423d8e72d76f186d2d6ef686",
|
||||
"support"
|
||||
],
|
||||
"html/browsers/history/the-location-interface/same_origin_frame.html": [
|
||||
"ffabc8fb608c6dad4e7d1d148a4d77cdc4231e68",
|
||||
"support"
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
<script>
|
||||
onload = function() {opener.next()}
|
||||
document.write(Math.random());
|
||||
</script>
|
||||
|
||||
<form method="POST" action="">
|
||||
<input type=hidden name=test value=test>
|
||||
<input type=submit>
|
||||
</form>
|
||||
<button onclick="location.reload()">Reload</button>
|
|
@ -4,7 +4,7 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
var win = window.open("reload_post_1-1.html");
|
||||
var win = window.open("resources/reload_post_1-1.py");
|
||||
var t = async_test();
|
||||
var posted = false;
|
||||
var reloaded = false;
|
|
@ -0,0 +1,13 @@
|
|||
def main(request, response):
|
||||
headers = [("Content-Type", "text/html")]
|
||||
return headers, '''
|
||||
<script>
|
||||
onload = function() {opener.next()}
|
||||
document.write(Math.random());
|
||||
</script>
|
||||
<form method="POST" action="">
|
||||
<input type=hidden name=test value=test>
|
||||
<input type=submit>
|
||||
</form>
|
||||
<button onclick="location.reload()">Reload</button>
|
||||
'''
|
Загрузка…
Ссылка в новой задаче