Repository navigation
Support OpenEndedDictionary (Mozmap) in the Headers - #13356
Conversation
|
Heads up! This PR modifies the following files:
|
|
r? @jdm |
jdm
left a comment
There was a problem hiding this comment.
I'm operating under the assumption that all of the tests now timing out require Promises. These changes look good!
| use dom::bindings::codegen::Bindings::RequestBinding::RequestRedirect; | ||
| use dom::bindings::codegen::Bindings::RequestBinding::RequestType; | ||
| use dom::bindings::codegen::UnionTypes::HeadersOrByteStringSequenceSequence; | ||
| use dom::bindings::codegen::UnionTypes::HeadersOrByteStringSequenceSequenceOrByteStringMozMap as HeadersInitType; |
| &HeadersInitType::ByteStringSequenceSequence(ref b) => | ||
| HeadersInitType::ByteStringSequenceSequence(b.clone()), | ||
| &HeadersInitType::ByteStringMozMap(ref m) => | ||
| { |
There was a problem hiding this comment.
&HeadersInitType::ByteStringMozMap(ref m) =>
HeadersInitType::ByteStringMozMap(m.clone())e0051b0 to
e5eea2a
Compare
| use dom::bindings::codegen::Bindings::RequestBinding::RequestRedirect; | ||
| use dom::bindings::codegen::Bindings::RequestBinding::RequestType; | ||
| use dom::bindings::codegen::UnionTypes::HeadersOrByteStringSequenceSequence; | ||
| use dom::bindings::codegen::UnionTypes::HeadersOrByteStringSequenceSequenceOrByteStringMozMap as HeadersInitType; |
There was a problem hiding this comment.
Hmm... dom::bindings::codegen::Bindings::RequestBinding should re-export this union type as HeadersInit. Have you tried importing that instead?
There was a problem hiding this comment.
You're right! Fixing it right now. Thanks!
|
I'm going to hold off merging this until after Promises, since there's a lot of overlap between the test result changes. |
|
☔ The latest upstream changes (presumably #12830) made this pull request unmergeable. Please resolve the merge conflicts. |
|
If you rebase, I will merge :) |
|
Oh, and go ahead and squash the commits into one. |
|
@bors-servo: delegate+ |
|
✌️ @jeenalee can now approve this pull request |
e5eea2a to
7577c3f
Compare
Expected wpt results are updated as well.
7577c3f to
3b75d22
Compare
|
@bors-servo: r=jdm |
|
📌 Commit 3b75d22 has been approved by |
Support OpenEndedDictionary (Mozmap) in the Headers <!-- Please describe your changes on the following line: --> This PR will support OpenEndedDictionary (based on MozMap implementation from #13332) in the Headers API. --- <!-- 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 #11897 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/13356) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel |
|
|
@bors-servo retry #13384 |
Support OpenEndedDictionary (Mozmap) in the Headers <!-- Please describe your changes on the following line: --> This PR will support OpenEndedDictionary (based on MozMap implementation from #13332) in the Headers API. --- <!-- 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 #11897 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/13356) <!-- Reviewable:end -->
Support OpenEndedDictionary (Mozmap) in the Headers <!-- Please describe your changes on the following line: --> This PR will support OpenEndedDictionary (based on MozMap implementation from #13332) in the Headers API. --- <!-- 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 #11897 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/13356) <!-- Reviewable:end -->
|
☀️ Test successful - arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows-dev |
This PR will support OpenEndedDictionary (based on MozMap implementation from #13332) in the Headers API.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is