mirror of
https://github.com/servo/servo.git
synced 2025-08-23 22:35:33 +01:00
Auto merge of #22354 - jdm:ddg, r=Manishearth
Fix DuckDuckGo HTML search - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22090 - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22354) <!-- Reviewable:end -->
This commit is contained in:
commit
9caf215beb
6 changed files with 22 additions and 13 deletions
|
@ -454007,7 +454007,7 @@
|
|||
"support"
|
||||
],
|
||||
"common/form-submission.py": [
|
||||
"467875453c9dc64aac51add3f4a617d941820972",
|
||||
"b296ac44c57c658ca9e3189e9f79b0f80677acba",
|
||||
"support"
|
||||
],
|
||||
"common/get-host-info.sub.js": [
|
||||
|
@ -626623,7 +626623,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/form-submission-0/submit-entity-body.html": [
|
||||
"8363f39ff32cd165a28086b3c594b55a79ced8e5",
|
||||
"a52bb0dcd2080eabb44ab1ddca379da6a5e5ea9a",
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/form-submission-0/submit-file.sub.html": [
|
||||
|
|
|
@ -6,5 +6,7 @@ def main(request, response):
|
|||
else:
|
||||
result = request.POST.first('foo') == 'bar'
|
||||
|
||||
result = result and request.url_parts.query == 'query=1'
|
||||
|
||||
return ([("Content-Type", "text/plain")],
|
||||
"OK" if result else "FAIL")
|
||||
|
|
|
@ -96,7 +96,7 @@ function run_simple_test() {
|
|||
var testframe = document.getElementById("testframe");
|
||||
var testdocument = testframe.contentWindow.document;
|
||||
testdocument.body.innerHTML =
|
||||
"<form id=testform method=post action=\"form-submission.py\" enctype=\"" + test_obj.enctype + "\">" +
|
||||
"<form id=testform method=post action=\"form-submission.py?query=1\" enctype=\"" + test_obj.enctype + "\">" +
|
||||
test_obj.input +
|
||||
test_obj.submitelement +
|
||||
"</form>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue