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 upPass the receiver to get_property_on_prototype (fixes #11600) #13017
Conversation
highfive
commented
Aug 24, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Aug 24, 2016
|
@bors-servo: try |
Pass the receiver to get_property_on_prototype (fixes #11600) <!-- 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/13017) <!-- Reviewable:end -->
|
r+ if it passes |
|
|
|
@bors-servo try |
Pass the receiver to get_property_on_prototype (fixes #11600) <!-- 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/13017) <!-- Reviewable:end -->
|
|
| if !has_property_on_prototype(cx, proxy, id, &mut has_on_proto) { | ||
| return false; | ||
| } | ||
| if has_on_proto { |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@bors-servo try |
Pass the receiver to get_property_on_prototype (fixes #11600) <!-- 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/13017) <!-- Reviewable:end -->
|
|
|
@bors-servo: r=Ms2ger |
|
|
|
@bors-servo r=Ms2ger |
|
|
Pass the receiver to get_property_on_prototype (fixes #11600) <!-- 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/13017) <!-- Reviewable:end -->
|
|
|
@bors-servo retry #11100 |
Pass the receiver to get_property_on_prototype (fixes #11600) <!-- 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/13017) <!-- Reviewable:end -->
|
|
| if RUST_JSID_IS_STRING(id) { | ||
| let mut has_on_proto = false; | ||
| if !has_property_on_prototype(cx, proxy, id, &mut has_on_proto) { | ||
| return false; |
This comment has been minimized.
This comment has been minimized.
emilio
Sep 6, 2016
•
Member
Shouldn't this set *bp = false? (sorry if it's a dumb question, I was digging into the reason for #13165 and arrived here).
Edit: Yeah, it's probably a dumb question, I expect the outparam to be ignored if we return false, gah.
nox commentedAug 24, 2016
•
edited by larsbergstrom
This change is