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 upInitial implementation of ownPropertyKeys proxy handler #7254
Conversation
| let mut jsid = js::jsapi::RootedId::new(cx, jsid {asBits: i}); | ||
| js::glue::AppendToAutoIdVector(props, jsid.handle().get()); | ||
| } | ||
| """) |
This comment has been minimized.
This comment has been minimized.
|
Note that this currently compiles, but when running certain tests (like |
c969506
to
f5dc1e7
|
@frewsxcv rebase on master and use |
Awesome, that seems to have fixed the issues as I was having. Thanks for adding that in to rust-mozjs :) This should be ready for a review now |
|
Oh, actually, let me do another force push to utilize imports instead of going through namespace hell |
Done |
|
Reviewed 6 of 13 files at r1. tests/wpt/web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html, line 31 [r1] (raw file): Comments from the review on Reviewable.io |
|
tests/wpt/web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html, line 31 [r1] (raw file): Comments from the review on Reviewable.io |
|
tests/wpt/web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html, line 31 [r1] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/htmlcollection.rs, line 232 [r2] (raw file): I used it because we use this pattern: let Collection(ref root, ref filter) = self.collection;and I'm not sure how to please the It is also used above a few times for the same reason. Comments from the review on Reviewable.io |
|
Review status: 12 of 13 files reviewed at latest revision, 9 unresolved discussions, all commit checks successful. components/script/dom/htmlcollection.rs, line 232 [r2] (raw file): tests/wpt/web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html, line 31 [r1] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/htmlcollection.rs, line 243 [r2] (raw file): Comments from the review on Reviewable.io |
|
tests/wpt/web-platform-tests/dom/collections/HTMLCollection-supported-property-names.html, line 0 [r1] (raw file):
Considering this, doesn't my previous comment still apply? Comments from the review on Reviewable.io |
|
Review status: 12 of 13 files reviewed at latest revision, 9 unresolved discussions, all commit checks successful. components/script/dom/htmlcollection.rs, line 243 [r2] (raw file): Comments from the review on Reviewable.io |
|
components/script/dom/htmlcollection.rs, line 0 [r2] (raw file): Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
|
Initial implementation of ownPropertyKeys proxy handler Generates `SupportedPropertyNames` on DOM structs that should implement it. Most of them are unimplemented now (which can be implemented in later PRs), with the exception of `HTMLCollection`. Also added a couple relevant WPT tests. Closes #6390 Closes #2215 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7254) <!-- Reviewable:end -->
|
|
|
The best kind of test fails |
|
In the latest force push: Marked the test as passing and got rid of an unused import |
|
@bors-servo r+ |
|
|
Initial implementation of ownPropertyKeys proxy handler Generates `SupportedPropertyNames` on DOM structs that should implement it. Most of them are unimplemented now (which can be implemented in later PRs), with the exception of `HTMLCollection`. Also added a couple relevant WPT tests. Closes #6390 Closes #2215 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7254) <!-- Reviewable:end -->
I need the constants added in servo/rust-mozjs#191 for servo#7254
…frewsxcv:bump-mozjs); r=Ms2ger I need the constants added in servo/rust-mozjs#191 for servo/servo#7254 Source-Repo: https://github.com/servo/servo Source-Revision: 14b921ee29b1b5e46e8773836b5a31e85faabfd5
…frewsxcv:bump-mozjs); r=Ms2ger I need the constants added in servo/rust-mozjs#191 for servo/servo#7254 Source-Repo: https://github.com/servo/servo Source-Revision: 14b921ee29b1b5e46e8773836b5a31e85faabfd5 UltraBlame original commit: 45150e0a57bd5d0cbe5f05c570e4632325406e3d
…frewsxcv:bump-mozjs); r=Ms2ger I need the constants added in servo/rust-mozjs#191 for servo/servo#7254 Source-Repo: https://github.com/servo/servo Source-Revision: 14b921ee29b1b5e46e8773836b5a31e85faabfd5 UltraBlame original commit: 45150e0a57bd5d0cbe5f05c570e4632325406e3d
…frewsxcv:bump-mozjs); r=Ms2ger I need the constants added in servo/rust-mozjs#191 for servo/servo#7254 Source-Repo: https://github.com/servo/servo Source-Revision: 14b921ee29b1b5e46e8773836b5a31e85faabfd5 UltraBlame original commit: 45150e0a57bd5d0cbe5f05c570e4632325406e3d
frewsxcv commentedAug 17, 2015
Generates
SupportedPropertyNameson DOM structs that should implementit. Most of them are unimplemented now (which can be implemented in
later PRs), with the exception of
HTMLCollection. Also added a couplerelevant WPT tests.
Closes #6390
Closes #2215