diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2020-01-24 09:48:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-24 09:48:55 -0500 |
commit | 0bd995cdf5a67b5121f143848e68e1b60ea589bf (patch) | |
tree | 6398f7b44b60a034a0a6bef57d81424293e1d6d3 /components/script/dom/serviceworkercontainer.rs | |
parent | be409233fdf8d3578e0529ec150a3697788ba4c8 (diff) | |
parent | 4dd27e16487bada0e00e27f2f0c73bd0c8e59daa (diff) | |
download | servo-0bd995cdf5a67b5121f143848e68e1b60ea589bf.tar.gz servo-0bd995cdf5a67b5121f143848e68e1b60ea589bf.zip |
Auto merge of #25561 - pshaughn:formdata-same-file, r=jdm
Make File objects roundtrip through FormData
FormData.append now only creates a new File object if it needs to file-wrap a blob or set a filename, and not when appending an existing File with no filename override. The hardest part here was reading the specification in a way that matched browser behavior.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #24939
- [X] There are tests for these changes
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/serviceworkercontainer.rs')
0 files changed, 0 insertions, 0 deletions