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 upAdd generic to frozen array #25468
Add generic to frozen array #25468
Conversation
highfive
commented
Jan 9, 2020
|
Heads up! This PR modifies the following files:
|
highfive
commented
Jan 9, 2020
|
@Manishearth r? |
| @@ -219,7 +238,13 @@ impl MessageEventMethods for MessageEvent { | |||
|
|
|||
| /// <https://html.spec.whatwg.org/multipage/#dom-messageevent-ports> | |||
| fn Ports(&self, cx: JSContext) -> JSVal { | |||
| message_ports_to_frozen_array(self.ports.borrow().as_slice(), cx) | |||
| let ports: Vec<DomRoot<MessagePort>> = self | |||
This comment has been minimized.
This comment has been minimized.
Manishearth
Jan 9, 2020
Member
It's actually worth caching this in a MutNullableDom<Heap> or something. The spec doesn't say it's SameObject, but it probably should, and even if it doesn't we can still do it.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
f02bfca
to
d04c76d
d04c76d
to
0f5742c
|
Error syncing changes upstream. Logs saved in error-snapshot-1578753799580. |
0f5742c
to
33f82a6
|
@Manishearth r? |
|
@bors-servo r+ |
|
|
…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. -->
|
|
|
|
|
33f82a6
to
0339601
|
@bors-servo r=Manishearth |
|
|
…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. -->
|
|
|
@bors-servo retry #25476 |
…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. -->
|
|
|
@bors-servo retry #25496 |
…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
#25467 (comment)
Depends on #25467
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors