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 upUse ipc router in webdriver #24007
Use ipc router in webdriver #24007
Conversation
highfive
commented
Aug 19, 2019
|
Heads up! This PR modifies the following files:
|
41c87ba
to
3649e82
|
@asajeffrey r? |
|
Looks good, the only thing is it could do with some comments, In particular, it would be nice to have some text about why we have one ipc and one crossbeam channel. |
| }, | ||
| select! { | ||
| recv(self.load_status_receiver) -> _ => Ok(WebDriverResponse::Void), | ||
| recv(after(Duration::from_millis(timeout))) -> _ => Err( |
This comment has been minimized.
This comment has been minimized.
|
|
186f326
to
ceecde7
|
@asajeffrey Ok I have added comments and rebased... |
3f49db4
to
899bec5
|
Might be worth saying that we're doing the forwarding because IPC channels don't support recv_timeout. |
899bec5
to
9ddba75
|
Ok, I've added a comment to that effect. |
|
Thanks! @bors-servo r+ |
|
|
Use ipc router in webdriver <!-- Please describe your changes on the following line: --> Fix for #23905 (comment) --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- 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/24007) <!-- Reviewable:end -->
|
|
gterzian commentedAug 19, 2019
•
edited by SimonSapin
Fix for #23905 (comment)
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is