Skip to content
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

Removed createTouch and createTouchList #26017

Merged
merged 1 commit into from Mar 24, 2020
Merged

Conversation

@humancalico
Copy link
Contributor

humancalico commented Mar 23, 2020


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #25978
  • There are tests for these changes OR
  • These changes do not require tests because ___
@highfive
Copy link

highfive commented Mar 23, 2020

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/webidls/Document.webidl, components/script/dom/document.rs
  • @KiChjang: components/script/dom/webidls/Document.webidl, components/script/dom/document.rs
@highfive
Copy link

highfive commented Mar 23, 2020

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!
@jdm
Copy link
Member

jdm commented Mar 23, 2020

@bors-servo try=wpt

bors-servo added a commit that referenced this pull request Mar 23, 2020
Removed createTouch and createTouchList

<!-- Please describe your changes on the following line: -->
One thing I need to ask is that do these also needs to be removed from `/tests/wpt/web-platform-tests/touch-events/historical.html` & `tests/wpt/webgl/tests/deqp/temp_externs/iphone.js`?

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25978
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 23, 2020

Trying commit 1e6380e with merge 6e999ee...

@bors-servo
Copy link
Contributor

bors-servo commented Mar 23, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Mar 23, 2020

We correctly pass the test that verifies that these APIs don't exist now:

  ▶ Unexpected subtest result in /touch-events/historical.html:
  └ PASS [expected FAIL] Document::createTouch
  ▶ Unexpected subtest result in /touch-events/historical.html:
  └ PASS [expected FAIL] Document::createTouchList

Please update the test results for these tests in tests/wpt/metadata/touch-events/historical.html.ini!

[Document::createTouch]
expected: FAIL
Comment on lines 14 to 15

This comment has been minimized.

Copy link
@jdm

jdm Mar 23, 2020

Member

Both of these lines can be removed instead.


[TouchList::identifiedTouch]
expected: FAIL

[Document::createTouchList]
expected: FAIL
expected: PASS

This comment has been minimized.

Copy link
@jdm

jdm Mar 23, 2020

Member

Same here.

@humancalico
Copy link
Contributor Author

humancalico commented Mar 23, 2020

@jdm Can you have a look at it now?

@jdm
Copy link
Member

jdm commented Mar 23, 2020

Looks good! Please squash them into a single commit and we'll merge them!

@humancalico humancalico force-pushed the humancalico:remove_legacy branch from 8298460 to 2e1009d Mar 23, 2020
@jdm
Copy link
Member

jdm commented Mar 23, 2020

@bors-servo r+
Thanks!

@bors-servo
Copy link
Contributor

bors-servo commented Mar 23, 2020

📌 Commit 2e1009d has been approved by jdm

bors-servo added a commit that referenced this pull request Mar 23, 2020
Removed createTouch and createTouchList

<!-- Please describe your changes on the following line: -->
One thing I need to ask is that do these also needs to be removed from `/tests/wpt/web-platform-tests/touch-events/historical.html` & `tests/wpt/webgl/tests/deqp/temp_externs/iphone.js`?

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25978
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 23, 2020

Testing commit 2e1009d with merge 21cccbc...

@bors-servo
Copy link
Contributor

bors-servo commented Mar 23, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Mar 24, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Mar 24, 2020

Testing commit 2e1009d with merge 28bcbd6...

bors-servo added a commit that referenced this pull request Mar 24, 2020
Removed createTouch and createTouchList

<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25978
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 24, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Mar 24, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Mar 24, 2020

Testing commit 2e1009d with merge 945a8b7...

bors-servo added a commit that referenced this pull request Mar 24, 2020
Removed createTouch and createTouchList

<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25978
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 24, 2020

💔 Test failed - status-taskcluster

@CYBAI
Copy link
Collaborator

CYBAI commented Mar 24, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Mar 24, 2020

Testing commit 2e1009d with merge 8b4d7c4...

@bors-servo
Copy link
Contributor

bors-servo commented Mar 24, 2020

☀️ Test successful - status-taskcluster
Approved by: jdm
Pushing 8b4d7c4 to master...

@bors-servo bors-servo merged commit 8b4d7c4 into servo:master Mar 24, 2020
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
@humancalico humancalico deleted the humancalico:remove_legacy branch Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

5 participants
You can’t perform that action at this time.