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 upImplement the errorevent argument to Document::createEvent #10816
Conversation
highfive
commented
Apr 23, 2016
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @metajack (or someone else) soon. |
highfive
commented
Apr 23, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Apr 23, 2016
|
Thanjs for the PR! In the future, please leave a comment in issues before starting to work on them. It avoids any chance that multiple people accidentally work on an issue at the same time. |
|
Ok! |
|
It looks like this pull request also includes #10814. Either remove that commit in this pull request, or just close the other issue and combine them into this one. |
| @@ -2168,6 +2169,8 @@ impl DocumentMethods for Document { | |||
| &TouchList::new(&self.window, &[]), | |||
| ) | |||
| )), | |||
| "errorevent" => | |||
| + Ok(Root::upcast(ErrorEvent::new_uninitialized(GlobalRef::Window(&self.window)))), | |||
This comment has been minimized.
This comment has been minimized.
|
Looks good! Can you squash your commits? |
|
@frewsxcv, done! |
|
Sorry, one more thing. Can you retitle the commit from "squash commits" to "Implement the errorevent argument to Document::createEvent" or something more meaningful? |
|
@frewsxcv, of course |
|
Thanks for your contribution! @bors-servo r+ |
|
|
Implement the errorevent argument to Document::createEvent new_uninitialized function on ErrorEvent has already been in components/script/dom/errorevent.rs close #10738 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10816) <!-- Reviewable:end -->
|
|
highfive
commented
Apr 24, 2016
|
|
This now depends on web-platform-tests/wpt#2890. |
|
|
Implement the errorevent argument to Document::createEvent new_uninitialized function on ErrorEvent has already been in components/script/dom/errorevent.rs close #10738 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10816) <!-- Reviewable:end -->
|
|
highfive
commented
Apr 27, 2016
|
|
Cool, looks like you need to mark that test as passing now |
|
|
|
@frewsxcv, I can't find where to mark that test as passing |
|
Though, you should really be using |
|
@SunyDays Can you squash :) Sorry for all these steps |
|
@frewsxcv, oh yes, I really sorry that i forgot it |
|
Thanks again! @bors-servo r+ |
|
|
1 similar comment
|
|
Implement the errorevent argument to Document::createEvent new_uninitialized function on ErrorEvent has already been in components/script/dom/errorevent.rs close #10738 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10816) <!-- Reviewable:end -->
|
|
SunyDays commentedApr 23, 2016
new_uninitialized function on ErrorEvent has already been in components/script/dom/errorevent.rs
close #10738
This change is