The 'webexposed' tests enumerate the set of APIs we're shipping. When we have platform-specific APIs we end up adding platform-specific expectation files which are then a real pain to manage and update. See discussion here for detail: https://groups.google.com/a/chromium.org/forum/#!topic/blink-api-owners-discuss/dTpCcPjQwds
I think we could largely fix this problem pretty easily by:
- maintaining a list of platform-specific APIs somewhere
- having two variants of the webexposed tests - one that excludes any string from the platform-specific list, and one that includes only those strings
That way the only time we'd end up with files in WebKit/LayoutTests/platform/*[/virtual/stable]/webexposed/ is for the platform-specific cases, which should be pretty small and easy to manage.
This just came up again here: https://codereview.chromium.org/2814553002/
Comment 1 by rbyers@chromium.org
, Apr 13 2017Owner: lunalu@chromium.org
Status: Assigned (was: Available)