diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-09-24 03:54:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-24 03:54:18 -0500 |
commit | 89804bb2516dc9a1e718e667b77cee4fe2552101 (patch) | |
tree | 373a41426bad51ec27655ddf19e0a01f9103d45c /components/script/dom/bindings/codegen/parser/tests/test_replaceable.py | |
parent | 16323207228e0e15415ee52fbce4accc83c4ac91 (diff) | |
parent | 652c578e15acabe3496c1f3eafd5ea7ca317a7ba (diff) | |
download | servo-89804bb2516dc9a1e718e667b77cee4fe2552101.tar.gz servo-89804bb2516dc9a1e718e667b77cee4fe2552101.zip |
Auto merge of #13396 - jdm:FormData_iterable, r=jdm
Added FormData Iterable
Implement FormData's iterator
Rebased from #13104.
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #13020
- [X] There are tests for these changes (It adds `./mach test-wpt tests/wpt/web-platform-tests/XMLHttpRequest/formdata-foreach.html`)
Notice: Our `FormData` is implemented by `HashMap` , which is different from [Gecko's array implementation](https://github.com/mozilla/gecko-dev/blob/3c6ff93c8f92d822ab6a2ae42f55a9f837d62fe9/dom/base/FormData.h#L160). So our `FormData`'s iterator order is different from Gecko's, as there is no way to keep our key's original insertion order.
<!-- 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/13396)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_replaceable.py')
0 files changed, 0 insertions, 0 deletions