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 dom and new_inherited in (extendable)messageevent #25467
Conversation
highfive
commented
Jan 9, 2020
|
Heads up! This PR modifies the following files:
|
highfive
commented
Jan 9, 2020
|
@Manishearth r? |
| .iter() | ||
| .map(|port| DomRoot::from_ref(&**port)) | ||
| .collect(); | ||
| message_ports_to_frozen_array(ports.as_slice(), cx) |
This comment has been minimized.
This comment has been minimized.
Manishearth
Jan 9, 2020
Member
We should update message_ports_to_frozen_array to work on &[T] where T: ToJSValConvertible instead, and once we do that we should make it generic. But perhaps not in this PR.
|
@bors-servo r+ |
|
|
Use dom and new_inherited in (extendable)messageevent <!-- Please describe your changes on the following line: --> --- <!-- 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 #25464 (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. -->
|
@bors-servo p=-1 force retry |
|
This is r=me, but I'm going to wait for #25463 to land because Taskcluster has that build cached |
|
@bors-servo r- retry forgot that bors remembers results |
|
This seems to have also positively affected #24707 (which doesn't crash anymore), ( I guess storing a cc @jdm |
|
@bors-servo r+ |
|
|
Use dom and new_inherited in (extendable)messageevent <!-- Please describe your changes on the following line: --> Also FIX #24707 --- <!-- 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 #25464 (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. -->
|
|
…earth Add generic to frozen array <!-- Please describe your changes on the following line: --> #25467 (comment) Depends on #25467 --- <!-- 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. -->
…earth Add generic to frozen array <!-- Please describe your changes on the following line: --> #25467 (comment) Depends on #25467 --- <!-- 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. -->
…earth Add generic to frozen array <!-- Please describe your changes on the following line: --> #25467 (comment) Depends on #25467 --- <!-- 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. -->
…earth Add generic to frozen array <!-- Please describe your changes on the following line: --> #25467 (comment) Depends on #25467 --- <!-- 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. -->
gterzian commentedJan 9, 2020
•
edited
Also FIX #24707
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors