Bug 210810 - [Mac] Enable color well tests on Modern WebKit
Summary: [Mac] Enable color well tests on Modern WebKit
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Darin Adler
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-04-21 11:57 PDT by Darin Adler
Modified: 2020-04-21 16:01 PDT (History)
12 users (show)

See Also:


Attachments
Patch (3.96 KB, patch)
2020-04-21 12:01 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (2.25 MB, patch)
2020-04-21 14:49 PDT, Darin Adler
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2020-04-21 11:57:23 PDT
[Mac] Enable color well tests on Modern WebKit
Comment 1 Darin Adler 2020-04-21 12:01:04 PDT
Created attachment 397101 [details]
Patch
Comment 2 Alexey Proskuryakov 2020-04-21 13:18:40 PDT
Comment on attachment 397101 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=397101&action=review

> LayoutTests/platform/mac-wk1/TestExpectations:189
> +# Color Well is turned off

I know that this is a copied comment, but it still lacks a period.

> LayoutTests/platform/mac/TestExpectations:1581
> +# Originally skipped because color well was turned off. Now it's on for Modern WebKit on Mac; should figure out how to re-enable these for that case.
>  editing/pasteboard/drag-and-drop-color-input.html [ Skip ]
>  editing/pasteboard/drag-and-drop-color-input-events.html [ Skip ]

It may be better to duplicate these in mac-wk1 and mac-wk2, with mac-wk2 copy under the "[WK2] [Mac] Support drag in mouse events for WebKit2 EventSender" section.
Comment 3 Darin Adler 2020-04-21 14:49:12 PDT
Created attachment 397125 [details]
Patch
Comment 4 Darin Adler 2020-04-21 14:49:46 PDT
New version incorporates your comments, Alexey, and also deletes some obsolete directories I stumbled on.
Comment 5 Darin Adler 2020-04-21 14:57:34 PDT
Alexey, ideally Iā€™d like your informal "thumbs up" before I land this.
Comment 6 Alexey Proskuryakov 2020-04-21 15:50:55 PDT
Comment on attachment 397125 [details]
Patch

mac-highsierra is hardcoded in some webkitpy tests (which didn't get triggered on EWS), and I don't know if any of those access the actual file system. So there is some risk, and it would be ideal to land these changes separately.

But we can do a followup fix later in the unlikely case that it causes test failures.
Comment 7 Jonathan Bedard 2020-04-21 15:57:30 PDT
(In reply to Alexey Proskuryakov from comment #6)
> Comment on attachment 397125 [details]
> Patch
> 
> mac-highsierra is hardcoded in some webkitpy tests (which didn't get
> triggered on EWS), and I don't know if any of those access the actual file
> system. So there is some risk, and it would be ideal to land these changes
> separately.
> 
> But we can do a followup fix later in the unlikely case that it causes test
> failures.

There are some webkitpy tests that access the real file system, but the ones that hard-code High Sierra do it to test port construction, if I recall, and are unrelated to test expectations.

In any case, changes made to support iPad mean that expectation parsing should work fine if one of the directories in your baseline search path is missing.
Comment 8 EWS 2020-04-21 16:00:36 PDT
Committed r260471: <https://trac.webkit.org/changeset/260471>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 397125 [details].
Comment 9 Radar WebKit Bug Importer 2020-04-21 16:01:16 PDT
<rdar://problem/62136404>