Use a BTreeMap to store formdata

I'm really unsure about the MallocSizeOf of BTreeMap as I took the same
code as for HashMap.

Fixes #13105
Fixes #21381
This commit is contained in:
Bastien Orivel 2018-11-03 20:21:05 +01:00
parent 176d984b3b
commit 08a535a4cb
3 changed files with 34 additions and 31 deletions

View file

@ -1,27 +0,0 @@
[urlencoded-parser.any.html]
[request.formData() with input: a&b&c]
expected: FAIL
[request.formData() with input: a=b&c=d&]
expected: FAIL
[response.formData() with input: a&b&c]
expected: FAIL
[response.formData() with input: &&&a=b&&&&c=d&]
expected: FAIL
[urlencoded-parser.any.worker.html]
[request.formData() with input: a&b&c]
expected: FAIL
[response.formData() with input: a&b&c]
expected: FAIL
[response.formData() with input: a=b&c=d&]
expected: FAIL
[response.formData() with input: a=b&c=d]
expected: FAIL