-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[LayoutTests] Rebaseline text tests with pixel refs #28071
[LayoutTests] Rebaseline text tests with pixel refs #28071
Conversation
EWS run on previous version of this PR (hash 05e5de1) |
@@ -14,7 +14,7 @@ | |||
|
|||
// Setup for WebKit JavaScript tests | |||
if (self.testRunner) { | |||
testRunner.dumpAsText(); | |||
testRunner.dumpAsText(testRunner.shouldDumpPixels()); |
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.
Just for my knowledge asking - LayoutTest use this but WPT in imported folder use LayoutTests/imported/w3c/web-platform-tests/resources/testharnessreport.js
?
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.
No, the WPT tests use this too when run under run-webkit-tests
, it's how WPT tests know how to interact with WebKitTestRunner
.
So it turns out that upstream WPT doesn't lint for this: https://github.com/web-platform-tests/wpt/blob/c5ced76d2189c00405d2c153f406fdcd8f91781d/tools/lint/lint.py#L451-L469 This is another thing we should fix, and just fix the tests. |
Clearly, this doesn't work, |
There's a number of moving parts here, and a number of places where we could fix this.
|
05e5de1
to
b07c0a1
Compare
EWS run on current version of this PR (hash b07c0a1) |
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.
This seems fine; we should have a longer-term solution to avoid these being added to WPT in the first place, and make sure we haven't missed anything from this PR.
rdar://127396069 https://bugs.webkit.org/show_bug.cgi?id=273595 Reviewed by Sam Sneddon. There are a number of text based tests which have pixel refs. Since these tests explicitly dumpText, they cannot also be pixel tests. * LayoutTests/TestExpectations: * LayoutTests/imported/w3c/web-platform-tests/css/css-break/relpos-inline-hit-testing-expected.html: Removed. * LayoutTests/imported/w3c/web-platform-tests/css/css-break/relpos-inline-hit-testing-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/intrinsic-size/col-wrap-004-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/intrinsic-size/col-wrap-004-expected.xht: Removed. * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/intrinsic-size/col-wrap-005-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/intrinsic-size/col-wrap-005-expected.xht: Removed. * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/colspan-001-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/colspan-001-expected.xht: Removed. * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/colspan-002-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/colspan-002-expected.xht: Removed. * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/colspan-003-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/colspan-003-expected.xht: Removed. * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/percent-height-overflow-auto-in-restricted-block-size-cell-expected.html: Removed. * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/percent-height-overflow-auto-in-restricted-block-size-cell-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/width-height-004-expected.html: Removed. * LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/width-height-004-expected.txt: Added. * LayoutTests/platform/ios/TestExpectations: * LayoutTests/platform/mac/TestExpectations: Canonical link: https://commits.webkit.org/278402@main
b07c0a1
to
67855f6
Compare
Committed 278402@main (67855f6): https://commits.webkit.org/278402@main Reviewed commits have been landed. Closing PR #28071 and removing active labels. |
67855f6
b07c0a1