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

Issue #12421: tidy should also check .html files #12576

Merged
merged 1 commit into from Aug 9, 2016

Conversation

@simartin
Copy link
Contributor

simartin commented Jul 24, 2016

./mach test-tidy should also check .html files, to avoid patches containing badly formatted new test cases go unnoticed


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #12421
  • There are tests for these changes (./mach test-tidy failed without the changes to .hrml files)

This change is Reviewable

@highfive
Copy link

highfive commented Jul 24, 2016

Heads up! This PR modifies the following files:

@highfive
Copy link

highfive commented Jul 24, 2016

warning Warning warning

  • These commits include an empty title element (<title></title>). Consider adding appropriate metadata.
@@ -1 +1 @@

This comment has been minimized.

Copy link
@notriddle

notriddle Jul 24, 2016

Contributor

Just to be clear, this one's trailing space is not deliberate, right? I can't tell...

This comment has been minimized.

Copy link
@simartin

simartin Jul 25, 2016

Author Contributor

I'm not sure; it was as such when the file was created via c6ab60d. Will try to find out.

This comment has been minimized.

Copy link
@jdm

jdm Aug 3, 2016

Member

Correction, it was created in a322542 and the trailing space existed then, too. It's fine to remove it at this point.

@@ -1 +1 @@
<html><link rel='match' href='pre_with_tab_ref.html'><body><pre> tab</pre></body></html>

This comment has been minimized.

Copy link
@notriddle

notriddle Jul 24, 2016

Contributor

This one should be a tab, not spaces. That's the whole point of the test.

This comment has been minimized.

Copy link
@simartin

simartin Jul 25, 2016

Author Contributor

Yes indeed, thanks! Will correct in the next iteration of the patch

@wafflespeanut
Copy link
Member

wafflespeanut commented Jul 24, 2016

Why can't we run our WPT lint in those files?

@simartin simartin force-pushed the simartin:issue_12421 branch from 8a60ad4 to e16bdae Jul 25, 2016
@simartin
Copy link
Contributor Author

simartin commented Jul 25, 2016

New patch version addressing all comments but the one about tests/html/tiny_test.html, that I still need to look at

@jdm
Copy link
Member

jdm commented Aug 3, 2016

@bors-servo: r+
Thanks @simartin!

@bors-servo
Copy link
Contributor

bors-servo commented Aug 3, 2016

📌 Commit e16bdae has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Aug 3, 2016

Testing commit e16bdae with merge 54903bd...

bors-servo added a commit that referenced this pull request Aug 3, 2016
Issue #12421: tidy should also check .html files

./mach test-tidy should also check .html files, to avoid patches containing badly formatted new test cases go unnoticed

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12421
- [X] There are tests for these changes (./mach test-tidy failed without the changes to .hrml files)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12576)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 4, 2016

💔 Test failed - linux-dev

@KiChjang
Copy link
Member

KiChjang commented Aug 4, 2016

Fails tidy:

Checking files for tidiness...

./tests/wpt/mozilla/tests/css/box_shadow_blur_fixed_ref.html:23: no newline at EOF

./tests/wpt/mozilla/tests/css/box_shadow_blur_fixed.html:24: no newline at EOF

./tests/html/test_target_pseudoselector.html:17: tab on line

./tests/html/test_target_pseudoselector.html:18: tab on line
@bors-servo
Copy link
Contributor

bors-servo commented Aug 4, 2016

The latest upstream changes (presumably #12682) made this pull request unmergeable. Please resolve the merge conflicts.

@jdm jdm removed the S-tests-failed label Aug 4, 2016
@wafflespeanut
Copy link
Member

wafflespeanut commented Aug 7, 2016

@simartin Can you fix the merge conflict? Next time, we'll ensure that this is prioritized for merging :)

@Ms2ger
Copy link
Contributor

Ms2ger commented Aug 8, 2016

@simartin
Copy link
Contributor Author

simartin commented Aug 8, 2016

I'll rebase tomorrow and update the PR

@wafflespeanut
Copy link
Member

wafflespeanut commented Aug 9, 2016

Good to know :)

@simartin simartin force-pushed the simartin:issue_12421 branch from e16bdae to 1e60c91 Aug 9, 2016
@simartin
Copy link
Contributor Author

simartin commented Aug 9, 2016

Rebased and new issues in tests/html/test_target_pseudoselector.html, tests/wpt/mozilla/tests/css/box_shadow_blur_fixed_ref.html and tests/wpt/mozilla/tests/css/box_shadow_blur_fixed.html fixed

@jdm
Copy link
Member

jdm commented Aug 9, 2016

@bors-servo: r+
Thanks!

@bors-servo
Copy link
Contributor

bors-servo commented Aug 9, 2016

📌 Commit 1e60c91 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Aug 9, 2016

Testing commit 1e60c91 with merge c6d9f2b...

@highfive highfive removed the S-needs-rebase label Aug 9, 2016
bors-servo added a commit that referenced this pull request Aug 9, 2016
Issue #12421: tidy should also check .html files

./mach test-tidy should also check .html files, to avoid patches containing badly formatted new test cases go unnoticed

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12421
- [X] There are tests for these changes (./mach test-tidy failed without the changes to .hrml files)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12576)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 9, 2016

💔 Test failed - linux-rel

@highfive
Copy link

highfive commented Aug 9, 2016

  ▶ Unexpected subtest result in /html/browsers/browsing-the-web/history-traversal/browsing_context_name.html:
  └ PASS [expected FAIL] Retaining window.name on history traversal
@notriddle
Copy link
Contributor

notriddle commented Aug 9, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Aug 9, 2016

Testing commit 1e60c91 with merge 93004ce...

bors-servo added a commit that referenced this pull request Aug 9, 2016
Issue #12421: tidy should also check .html files

./mach test-tidy should also check .html files, to avoid patches containing badly formatted new test cases go unnoticed

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12421
- [X] There are tests for these changes (./mach test-tidy failed without the changes to .hrml files)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12576)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 9, 2016

@bors-servo bors-servo merged commit 1e60c91 into servo:master Aug 9, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@simartin simartin deleted the simartin:issue_12421 branch Aug 10, 2016
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.

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