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 document.createEvent("TouchEvent") #8160
Closed
Comments
|
I can do this one |
bors-servo
added a commit
that referenced
this issue
Oct 28, 2015
Implement document.createEvent(TouchEvent) This solves #8160 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8169) <!-- Reviewable:end -->
|
I guess #8169 closes this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a follow-up to issue #7204.
In the Document::CreateEvent method, add a case for
"touchevent"that creates and returns a new TouchEvent.The TouchEvent constructor takes three TouchList arguments. You can create an empty TouchList by calling
TouchList::newwith an empty array, then pass this TouchList to the TouchEvent constructor.After this change, the following tests should pass. You can
git rmthe metadata files marking them as failing: Document-createEvent.html.ini and EventTarget-dispatchEvent.html.ini. Then run these commands to verify that both tests pass: