-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stabilise attachment-uti.html with reftest-wait and takeScreenshotWhe…
…nAttachmentsSettled https://bugs.webkit.org/show_bug.cgi?id=263085 rdar://116877284 Reviewed by Aditya Keerthi. Attachment-uti.html was flaky, with the actual and/or expected rendering sometimes missing the icon, because that icon is only fetched during the first rendering. Use reftest-wait and takeScreenshotWhenAttachmentsSettled to delay the test screenshot until there is an icon. * LayoutTests/fast/attachment/attachment-uti-expected.html: * LayoutTests/fast/attachment/attachment-uti.html: * LayoutTests/platform/mac-wk1/TestExpectations: * LayoutTests/platform/mac-wk2/TestExpectations: Canonical link: https://commits.webkit.org/269670@main
- Loading branch information
Showing
4 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
<!DOCTYPE html><!-- webkit-test-runner [ AttachmentElementEnabled=true ] --> | ||
<html> | ||
<html class="reftest-wait"> | ||
<body> | ||
<attachment title=" " type="image/jpeg"></attachment> | ||
<attachment title=" " type="text/plain"></attachment> | ||
<script src="resources/attachment-test-utils.js"></script> | ||
<script> | ||
takeExpectedScreenshotWhenAttachmentsSettled(); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
<!DOCTYPE html><!-- webkit-test-runner [ AttachmentElementEnabled=true ] --> | ||
<html> | ||
<html class="reftest-wait"> | ||
<body> | ||
<attachment title=" " type="public.jpeg"></attachment> | ||
<attachment title=" " type="public.plain-text"></attachment> | ||
<script src="resources/attachment-test-utils.js"></script> | ||
<script> | ||
takeActualScreenshotWhenAttachmentsSettled(); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters