Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport OpenEndedDictionary (Mozmap) in the Headers #13356
Conversation
highfive
commented
Sep 21, 2016
|
Heads up! This PR modifies the following files:
|
|
r? @jdm |
|
I'm operating under the assumption that all of the tests now timing out require Promises. These changes look good! |
| @@ -14,7 +14,7 @@ use dom::bindings::codegen::Bindings::RequestBinding::RequestMethods; | |||
| use dom::bindings::codegen::Bindings::RequestBinding::RequestMode; | |||
| 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; | |||
This comment has been minimized.
This comment has been minimized.
| &HeadersInitType::ByteStringSequenceSequence(ref b) => | ||
| HeadersInitType::ByteStringSequenceSequence(b.clone()), | ||
| &HeadersInitType::ByteStringMozMap(ref m) => | ||
| { |
This comment has been minimized.
This comment has been minimized.
jdm
Sep 21, 2016
Member
&HeadersInitType::ByteStringMozMap(ref m) =>
HeadersInitType::ByteStringMozMap(m.clone())| @@ -14,7 +14,7 @@ use dom::bindings::codegen::Bindings::RequestBinding::RequestMethods; | |||
| use dom::bindings::codegen::Bindings::RequestBinding::RequestMode; | |||
| 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; | |||
This comment has been minimized.
This comment has been minimized.
KiChjang
Sep 22, 2016
Member
Hmm... dom::bindings::codegen::Bindings::RequestBinding should re-export this union type as HeadersInit. Have you tried importing that instead?
This comment has been minimized.
This comment has been minimized.
|
I'm going to hold off merging this until after Promises, since there's a lot of overlap between the test result changes. |
|
|
|
If you rebase, I will merge :) |
|
Oh, and go ahead and squash the commits into one. |
|
@bors-servo: delegate+ |
|
|
Expected wpt results are updated as well.
|
@bors-servo: r=jdm |
|
|
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 -->
|
|
highfive
commented
Sep 23, 2016
|
|
@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 -->
|
|
jeenalee commentedSep 21, 2016
•
edited
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