Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Remove FromJSValConvertible implementation for HandleValue #388

Merged
merged 3 commits into from
Jan 5, 2018

Conversation

Xanewok
Copy link
Contributor

@Xanewok Xanewok commented Dec 25, 2017

Needed for servo/servo#19644.

Removes FromJSValConvertible implementations for HandleValue, so Vec<HandleValue> conversion is impossible.
Also adds the implementation for *mut JSObject so the sequence<object> -> CustomAutoRooterGuard<Vec<*mut JSObject>> conversion works.


This change is Reviewable

@jdm
Copy link
Member

jdm commented Dec 28, 2017

I'm going to hold off on merging this until the Servo PR is ready to merge.

@jdm
Copy link
Member

jdm commented Jan 3, 2018

@bors-servo: r+

@bors-servo
Copy link
Contributor

📌 Commit 2f473fa has been approved by jdm

@bors-servo
Copy link
Contributor

⌛ Testing commit 2f473fa with merge ad8f138...

bors-servo pushed a commit that referenced this pull request Jan 3, 2018
Remove FromJSValConvertible implementation for HandleValue

Needed for servo/servo#19644.

Removes FromJSValConvertible implementations for `HandleValue`, so `Vec<HandleValue>` conversion is impossible.
Also adds the implementation for `*mut JSObject` so the `sequence<object>` -> `CustomAutoRooterGuard<Vec<*mut JSObject>>` conversion works.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/388)
<!-- Reviewable:end -->
@jdm
Copy link
Member

jdm commented Jan 3, 2018

@bors-servo: r-
Let's increase the version number so we can publish this.

@Xanewok
Copy link
Contributor Author

Xanewok commented Jan 3, 2018

Bumped to 0.1.10.

@jdm
Copy link
Member

jdm commented Jan 3, 2018

@bors-servo: r+

@bors-servo
Copy link
Contributor

📌 Commit 81e042f has been approved by jdm

@bors-servo
Copy link
Contributor

⌛ Testing commit 81e042f with merge 5e79529...

bors-servo pushed a commit that referenced this pull request Jan 3, 2018
Remove FromJSValConvertible implementation for HandleValue

Needed for servo/servo#19644.

Removes FromJSValConvertible implementations for `HandleValue`, so `Vec<HandleValue>` conversion is impossible.
Also adds the implementation for `*mut JSObject` so the `sequence<object>` -> `CustomAutoRooterGuard<Vec<*mut JSObject>>` conversion works.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/388)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

💔 Test failed - status-appveyor

@jdm
Copy link
Member

jdm commented Jan 4, 2018

The appveyor problem will go away once #389 is merged.

@jdm
Copy link
Member

jdm commented Jan 5, 2018

@bors-servo: retry

@bors-servo
Copy link
Contributor

⌛ Testing commit 81e042f with merge d829b21...

bors-servo pushed a commit that referenced this pull request Jan 5, 2018
Remove FromJSValConvertible implementation for HandleValue

Needed for servo/servo#19644.

Removes FromJSValConvertible implementations for `HandleValue`, so `Vec<HandleValue>` conversion is impossible.
Also adds the implementation for `*mut JSObject` so the `sequence<object>` -> `CustomAutoRooterGuard<Vec<*mut JSObject>>` conversion works.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/388)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - status-appveyor, status-travis
Approved by: jdm
Pushing d829b21 to master...

@bors-servo bors-servo merged commit 81e042f into servo:master Jan 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants