Repository navigation
Map link, link-rel-expect, link-rel-preconnect, link-rel-prefetch, and link-rel-preload web-features - #56502
Conversation
…tch`, and `link-rel-preload` web-features Feature: `link` Reference: https://github.com/web-platform-dx/web-features/blob/main/features/link.yml Feature: `link-rel-expect` Reference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-expect.yml Feature: `link-rel-preconnect` Reference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-preconnect.yml Feature: `link-rel-prefetch` Reference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-prefetch.yml Feature: `link-rel-preload` Reference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-preload.yml Notable exclusions 1. `rellist-feature-detection.html` - tests across several related features 2. `alternative-style-sheets` tests excluded from `link` - `css/cssom/HTMLLinkElement-disabled-*.html` - primarily tests interaction with alternate stylesheets 3. `modulepreload` tests excluded from `link-rel-preload`, `modulepreload` is a separate mechanism from `preload - `preload/*modulepreload*.html` 4. `Link` header tests excluded from `link-rel-preload` - `preload/link-header-preload.html` 5. `link-rel-dns-prefetch` - Only tested via feature detection in `rellist-feature-detection.html`, which is mapped to `link`. No exclusive tests found.
| features: | ||
| - name: link-rel-expect | ||
| files: | ||
| - element-render-blocking-001.html |
There was a problem hiding this comment.
Given how complicated this ends up being I'm not sure if the features have been split correctly in web-features. These are the two related features:
- https://github.com/web-platform-dx/web-features/blob/main/features/blocking-render.yml
- https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-expect.yml
@mfreed7 @noamr can you take a look here and say if you think it makes sense? I notice commit message talk about document render blocking and element render blocking, but that isn't how it's split in web-features. Is there another web-features split that would make more sense and map better to the tests as well?
There was a problem hiding this comment.
Thanks for taking a look! If both the feature definitions and this split of tests makes sense to you, let's go for it!
| features: | ||
| - name: link | ||
| files: | ||
| - conditionally-block-rendering-on-link-media-attr.html |
There was a problem hiding this comment.
This is a very specific test about stylesheet loading, I don't think it should be mapped to the rather generic <link> feature. Can you revert this bit?
| @@ -1,4 +1,6 @@ | |||
| features: | |||
| - name: link | |||
| files: "**" | |||
There was a problem hiding this comment.
I resolved merge conflicts without changing this. But I think it's OK if those two tests are mapped to both features.
…cripting/WEB_FEATURES.yml
…tch`, and `link-rel-preload` web-features (web-platform-tests#56502) Feature: `link` Reference: https://github.com/web-platform-dx/web-features/blob/main/features/link.yml Feature: `link-rel-expect` Reference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-expect.yml Feature: `link-rel-preconnect` Reference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-preconnect.yml Feature: `link-rel-prefetch` Reference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-prefetch.yml Feature: `link-rel-preload` Reference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-preload.yml Notable exclusions 1. `rellist-feature-detection.html` - tests across several related features 2. `alternative-style-sheets` tests excluded from `link` - `css/cssom/HTMLLinkElement-disabled-*.html` - primarily tests interaction with alternate stylesheets 3. `modulepreload` tests excluded from `link-rel-preload`, `modulepreload` is a separate mechanism from `preload - `preload/*modulepreload*.html` 4. `Link` header tests excluded from `link-rel-preload` - `preload/link-header-preload.html` 5. `link-rel-dns-prefetch` - Only tested via feature detection in `rellist-feature-detection.html`, which is mapped to `link`. No exclusive tests found.
Feature:
linkReference: https://github.com/web-platform-dx/web-features/blob/main/features/link.yml
Feature:
link-rel-expectReference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-expect.yml
Feature:
link-rel-preconnectReference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-preconnect.yml
Feature:
link-rel-prefetchReference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-prefetch.yml
Feature:
link-rel-preloadReference: https://github.com/web-platform-dx/web-features/blob/main/features/link-rel-preload.yml
Notable exclusions
rellist-feature-detection.html- tests across several related features, excluded from allalternative-style-sheetstests excluded fromlink, primarily tests interaction with alternate stylesheetscss/cssom/HTMLLinkElement-disabled-*.htmlmodulepreloadtests excluded fromlink-rel-preloadpreload/*modulepreload*.htmlLinkheader tests excluded fromlink-rel-preloadpreload/link-header-preload.htmllink-rel-dns-prefetchrellist-feature-detection.html, which is mapped tolink. No exclusive tests found.