Auto merge of #24220 - rasviitanen:domstringlist, r=jdm

add webidl bindings for DOMStringList

<!-- Please describe your changes on the following line: -->
To prepare for the implementation of `IndexedDB` a DOM interface for `DOMStringList` is added.

This change:
* Adds a new IDL file for `DOMStringList`
* Lists `domstringlist.rs` in `mod.rs`
* Defines a new DOMStruct `DOMStringList`
* Changes some test expectations related to `DOMStringList`
---
<!-- 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 #24208

- [X] These changes do not require tests because:
We are not yet able to fully test the functions of `DOMStringList` in the WPT, because it is not possible to create an object of the type `DOMStringList` until e.g. `indexeddb` or `location.ancestorOrigins` is implemented.

<!-- 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. -->

<!-- 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/24220)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-09-17 23:53:08 -04:00 committed by GitHub
commit 745857066c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 84 additions and 216 deletions

View file

@ -18959,7 +18959,7 @@
"testharness"
],
"mozilla/interfaces.html": [
"f30dd3de4087a45476745c4a41dd6a5f7e9365e3",
"7aed97b42d8fe974ea489db66905d9fbc0edb84d",
"testharness"
],
"mozilla/interfaces.js": [
@ -18967,7 +18967,7 @@
"support"
],
"mozilla/interfaces.worker.js": [
"d14b58eb87568f05c398ae6953d4a0c17943219b",
"802fe64ebfc86480f3c5adc80718f550d09d330b",
"testharness"
],
"mozilla/invalid-this.html": [

View file

@ -69,8 +69,9 @@ test_interfaces([
"DOMException",
"DOMImplementation",
"DOMParser",
"DOMTokenList",
"DOMStringList",
"DOMStringMap",
"DOMTokenList",
"Element",
"ErrorEvent",
"Event",

View file

@ -18,6 +18,7 @@ test_interfaces([
"DOMQuad",
"DOMRect",
"DOMRectReadOnly",
"DOMStringList",
"CustomEvent",
"DedicatedWorkerGlobalScope",
"DOMException",