New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement the errorevent argument to Document::createEvent #10816
Conversation
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. |
Heads up! This PR modifies the following files:
|
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)))), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a +
at the beginning of this line
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+ |
📌 Commit b910db3 has been approved by |
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 -->
💔 Test failed - mac-rel-wpt |
|
This now depends on web-platform-tests/wpt#2890. |
☔ The latest upstream changes (presumably #10819) made this pull request unmergeable. Please resolve the merge conflicts. |
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 -->
💔 Test failed - linux-rel |
|
Cool, looks like you need to mark that test as passing now 👍 |
☔ The latest upstream changes (presumably #10820) made this pull request unmergeable. Please resolve the merge conflicts. |
@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+ |
📌 Commit 7d24426 has been approved by |
1 similar comment
📌 Commit 7d24426 has been approved by |
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 -->
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt |
new_uninitialized function on ErrorEvent has already been in components/script/dom/errorevent.rs
close #10738
This change is